/* ==========================================================================
   Joule Asset Valuers - Chartered Engineer Website Stylesheet
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    /* Colors */
    --color-primary-dark: #0a192f;   /* Deep trust blue */
    --color-primary: #1e3a8a;        /* Royal blue */
    --color-primary-light: #3b82f6;  /* Electric blue */
    --color-accent: #facc15;         /* Vibrant Yellow/Gold */
    --color-accent-dark: #eab308;    /* Dark Gold */
    --color-accent-light: #fef08a;   /* Light Yellow */
    --color-bg-white: #0a192f;       /* Deep Navy background */
    --color-bg-light: #0d1e36;       /* Medium Navy */
    --color-bg-alt: #172a45;         /* Lighter Navy for cards */
    --color-text-dark: #ffffff;      /* Body text white */
    --color-text-muted: #cbd5e1;     /* Slate 300 */
    --color-text-light: #94a3b8;     /* Slate 400 */
    --color-border: #1e293b;         /* Slate 800 */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0d1e36 0%, #0a192f 100%);
    --grad-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --grad-blue-yellow: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
    --grad-glass: rgba(10, 25, 47, 0.95);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -2px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.6), 0 10px 10px -5px rgba(0,0,0,0.5);
    --shadow-accent: 0 10px 15px -3px rgba(250, 204, 21, 0.2);

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Dark Theme Default Override */
[data-theme="dark"], [data-theme="light"] {
    --color-bg-white: #0a192f;       /* Deep Navy background */
    --color-bg-light: #0d1e36;       /* Medium Navy */
    --color-bg-alt: #172a45;         /* Lighter Navy for cards */
    --color-text-dark: #ffffff;      /* Crisp light text */
    --color-text-muted: #cbd5e1;     /* Slate 300 */
    --color-text-light: #94a3b8;     /* Slate 400 */
    --color-border: #1e293b;         /* Slate 800 */
    --grad-glass: rgba(10, 25, 47, 0.95);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Theme Smooth Transitions */
section, .navbar, .feature-card, .service-card, .testimonial-card, .contact-info-card, .contact-form-panel, .timeline-content, .widget, .skill-tag, .filter-btn, .about-image-wrapper, .about-intro-image-frame, .hero-image-frame {
    transition: background-color var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

.filter-btn {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

[data-theme="dark"] .filter-btn {
    background-color: #172a45;
    color: #f8fafc;
    border-color: #334155;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: #ffffff !important;
    border-color: var(--color-primary);
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background-color: var(--color-primary-light);
    color: #ffffff !important;
    border-color: var(--color-primary-light);
}

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

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

/* Custom Scrollbar - Luxury Dark Navy & Gold */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #071325;
}
::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.45);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 204, 21, 0.75);
}

/* Common Layout Components */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-bg-dark {
    background: var(--grad-primary);
    color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-light);
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.section-bg-dark .section-subtitle,
[data-theme="dark"] .section-subtitle {
    color: var(--color-accent);
    background: rgba(250, 204, 21, 0.1);
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.section-bg-dark .section-title {
    color: #ffffff;
}

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

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

.section-bg-dark .section-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 8px;
}

.btn,
.btn-primary,
.btn-accent,
.btn-outline,
.btn-outline-white,
.btn-secondary {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #0a192f !important;
    border: 2px solid #facc15 !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.btn i,
.btn-primary i,
.btn-accent i,
.btn-outline i,
.btn-outline-white i,
.btn-secondary i {
    color: #0a192f !important;
    transition: var(--transition-normal);
}

.btn:hover,
.btn-primary:hover,
.btn-accent:hover,
.btn-outline:hover,
.btn-outline-white:hover,
.btn-secondary:hover {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.4);
}

.btn:hover i,
.btn-primary:hover i,
.btn-accent:hover i,
.btn-outline:hover i,
.btn-outline-white:hover i,
.btn-secondary:hover i {
    color: #facc15 !important;
}

/* Header & Top Bar Navigation */
.header-top {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.top-info-item i {
    color: var(--color-accent);
}

.top-info-item a:hover {
    color: var(--color-accent);
}

.top-social {
    display: flex;
    gap: 16px;
}

.top-social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.top-social-link:hover {
    color: var(--color-accent);
    transform: scale(1.15);
}

/* ==========================================================================
   TOP HEADER INFO BAR (DESKTOP 3-COL & MOBILE LEFT-ALIGNED 2-LINE)
   ========================================================================== */

.top-header-bar {
    background-color: #071A3D;
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1001;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-header-phone-email-row {
    display: contents;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #f1f5f9;
}

.top-header-item i {
    color: #D99A2B;
    font-size: 0.88rem;
}

.top-header-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-header-item a:hover {
    color: #D99A2B;
}

/* Mobile Responsiveness for Top Bar */
@media (max-width: 768px) {
    .top-header-bar {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    
    .top-header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 14px;
        text-align: center;
    }
    
    .top-header-phone,
    .top-header-email {
        display: inline-flex;
    }
    
    .top-header-address {
        width: 100%;
        justify-content: center;
        font-size: 0.72rem;
        color: #000000 !important;
        margin-top: 2px;
    }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0a192f !important;
    background: #0a192f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
}

.navbar.sticky {
    padding: 4px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    background-color: #0a192f !important;
    background: #0a192f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .navbar {
    background-color: #0a192f !important;
    background: #0a192f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .navbar.sticky {
    background-color: #0a192f !important;
    background: #0a192f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-normal);
}

.navbar.sticky .container {
    height: 75px;
}

.logo img {
    height: 68px !important;
    max-height: 72px !important;
    width: auto !important;
    display: block !important;
    transition: height 0.3s ease !important;
}

.navbar.sticky .logo img {
    height: 58px !important;
    max-height: 62px !important;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: #071A3D !important;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #D99A2B;
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: #D99A2B !important;
}

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

.nav-link.active {
    color: #D99A2B !important;
}

[data-theme="dark"] .nav-link {
    color: #071A3D !important;
}

[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover {
    color: #D99A2B !important;
}

/* Elegant CSS Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-box {
    width: 48px;
    height: 48px;
    background: var(--grad-accent);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-primary);
}

.navbar.sticky .logo-icon-box {
    border-color: var(--color-accent);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.theme-toggle-btn:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent-dark);
    transform: rotate(15deg);
}

/* Sticky theme toggle overrides removed to allow natural theme inheritance */

.mobile-nav-drawer .theme-toggle-btn {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-drawer .theme-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary-light);
    letter-spacing: 1.5px;
}

[data-theme="dark"] .logo-sub {
    color: var(--color-accent);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--color-primary-light);
}

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

.nav-link.active {
    color: var(--color-primary);
}

[data-theme="dark"] .nav-link.active {
    color: var(--color-accent);
}

.nav-cta {
    margin-left: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-text-dark);
}

/* Mobile Menu Overlay / Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-primary-dark);
    color: #ffffff;
    z-index: 2000;
    padding: 40px 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition-normal);
}

.mobile-nav-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    cursor: pointer;
}

.drawer-close:hover {
    color: var(--color-accent);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-accent);
    padding-left: 8px;
}

.drawer-cta {
    margin-top: auto;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(2px);
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    min-height: calc(85vh - 80px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.05) 0%, var(--color-bg-white) 90%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(250, 204, 21, 0.04);
    border-radius: var(--radius-full);
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.hero-tagline i {
    color: var(--color-accent-dark);
    animation: pulse 2s infinite;
}

[data-theme="dark"] .hero-tagline {
    color: var(--color-accent) !important;
    background-color: rgba(250, 204, 21, 0.1) !important;
    border-color: rgba(250, 204, 21, 0.25) !important;
}

[data-theme="dark"] .hero-tagline i {
    color: var(--color-accent) !important;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
}

[data-theme="dark"] .hero-title span {
    color: var(--color-accent);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Interactive Hero Image Frame */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-bg-shape {
    position: absolute;
    width: 105%;
    height: 105%;
    background: var(--grad-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(5deg);
    z-index: 1;
    animation: wave 12s ease-in-out infinite alternate;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    padding: 3px; /* 3px rotating border outer area */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    overflow: hidden;
    animation: floatImage 6s ease-in-out infinite, lightningHero 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rotating yellow border line */
.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 30%,
        var(--color-accent) 50%,
        transparent 70%,
        transparent 100%
    );
    animation: rotateBorder 4s linear infinite, borderFlicker 8s linear infinite;
    z-index: 1;
}

.hero-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    padding: 9px; /* Remaining padding: 9px + 3px outer border = 12px total padding */
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 2;
    overflow: hidden;
    display: flex;
}

/* Lightning sweep sheen over the image */
.hero-image-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 3; /* Stack above image (z-index: 1) and bottom vignette overlay (z-index: 2) */
    pointer-events: none;
    animation: lightningSweep 8s ease-in-out infinite;
}


.hero-image-inner img {
    position: relative;
    z-index: 1; /* Explicit stack level below overlays */
    border-radius: var(--radius-md);
    max-width: 440px;
    width: 100%;
    object-fit: cover;
    object-position: top center; /* Crop from the bottom to keep head and torso in view */
    aspect-ratio: 1;
    animation: imageLightning 8s ease-in-out infinite;
}

/* Stats Badges */
.hero-badge {
    position: absolute;
    background-color: var(--color-bg-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.hero-badge:hover {
    transform: scale(1.05);
}

.hero-badge-1 {
    bottom: -20px;
    left: -20px;
}

.hero-badge-2 {
    bottom: 80px;
    right: -25px;
}

.hero-badge-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--color-accent-dark);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-badge-1 .hero-badge-icon {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-primary-light);
}

.hero-badge-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.hero-badge-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
}

/* Features/Key Points Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px; /* Changed from -60px to fix overlap hiding the marquee section */
    position: relative;
    z-index: 5;
}

.feature-card {
    background-color: var(--color-bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

.feature-card:hover::before {
    background: var(--grad-accent);
    height: 6px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(250, 204, 21, 0.3);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

[data-theme="dark"] .feature-icon-box {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-primary-light);
}

.feature-card:hover .feature-icon-box {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

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

/* About Intro Section */
.about-intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

/* Interactive About Image Wrapper & Glowing Backlight */
.about-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-image-bg-glow {
    position: absolute;
    width: 104%;
    height: 104%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(20px);
    opacity: 0.2;
    z-index: 1;
    animation: wave 10s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    transition: var(--transition-slow);
}

[data-theme="dark"] .about-image-bg-glow {
    opacity: 0.32;
    filter: blur(25px);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light), var(--color-primary-light));
}

.about-image-wrapper:hover .about-image-bg-glow {
    opacity: 0.48;
    filter: blur(30px);
    transform: scale(1.06) rotate(8deg);
}

.about-intro-image-frame {
    position: relative;
    z-index: 2;
    padding: 3px; /* 3px rotating border */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    overflow: hidden;
    width: 100%;
    animation: floatImage 6s ease-in-out infinite, lightningAbout 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rotating yellow border line */
.about-intro-image-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 30%,
        var(--color-accent) 50%,
        transparent 70%,
        transparent 100%
    );
    animation: rotateBorder 4s linear infinite, borderFlicker 8s linear infinite;
    z-index: 1;
}

.about-intro-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    padding: 9px; /* Remaining padding: 9px + 3px = 12px total padding */
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 2;
    overflow: hidden;
    display: flex;
}

/* Lightning sweep sheen over the image */
.about-intro-image-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 3; /* Stack above image (z-index: 1) and bottom vignette overlay (z-index: 2) */
    pointer-events: none;
    animation: lightningSweep 8s ease-in-out infinite;
}

.about-image-wrapper:hover .about-intro-image-frame {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}


.about-intro-image-inner img {
    position: relative;
    z-index: 1; /* Explicit stack level below overlays */
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
    object-position: top center; /* Crop from the bottom to keep head and torso in view */
    aspect-ratio: 0.9;
    animation: imageLightning 8s ease-in-out infinite;
}

.about-intro-content h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

[data-theme="dark"] .about-intro-content h3 {
    color: var(--color-primary-light);
}

.about-intro-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.about-intro-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.about-bullet-item i {
    color: var(--color-accent-dark);
    font-size: 1.2rem;
}

/* Services Section Styling */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card, .blog-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30, 58, 138, 0.15);
}

.service-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--color-primary-dark);
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 0.85;
}

.service-card:hover .service-image-box img {
    transform: scale(1.08);
    opacity: 1;
}

.blog-image-box {
    position: relative;
    height: auto;
    overflow: hidden;
    background-color: transparent;
}

.blog-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 0.95;
}

.blog-card:hover .blog-image-box img {
    transform: none;
    opacity: 1;
}

.service-card-tag, .blog-card-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.service-card-body, .blog-card-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title, .blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.service-card:hover .service-card-title, .blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

[data-theme="dark"] .service-card:hover .service-card-title,
[data-theme="dark"] .blog-card:hover .blog-card-title {
    color: var(--color-accent);
}

.service-card-desc, .blog-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-footer, .blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.service-card-link, .blog-card-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .service-card-link,
[data-theme="dark"] .blog-card-link {
    color: var(--color-accent);
}

.service-card-link i, .blog-card-link i {
    transition: var(--transition-fast);
}

.service-card:hover .service-card-link i,
.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
    color: var(--color-accent-dark);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* Horizontal connecting lines on desktop */
.process-grid::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: dashed var(--color-border);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--grad-primary);
    color: #ffffff;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    border: 4px solid var(--color-bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.process-step:hover .process-step-number {
    background: var(--grad-accent);
    color: var(--color-primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-accent);
}

.process-step-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.process-step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* Testimonials Carousel Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--color-bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(250, 204, 21, 0.3);
}

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

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
}

.testimonial-text::before {
    content: 'â€œ';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(30, 58, 138, 0.08);
    position: absolute;
    top: -24px;
    left: -12px;
    line-height: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-light);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.testimonial-user-info-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.testimonial-user-info-role {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Call to Action banner */
.cta-banner {
    background: var(--grad-primary);
    border-radius: var(--radius-lg);
    padding: 60px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(250, 204, 21, 0.05);
    border-radius: var(--radius-full);
}

.cta-banner-content {
    max-width: 600px;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
}

.cta-banner-btn {
    z-index: 2;
    flex-shrink: 0;
}

/* Blog Archive & Sidebar Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

/* Inner Single Blog Page Layout (Centered, No Sidebars) */
.blog-single-layout {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.blog-single-layout .blog-large-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.blog-single-layout .blog-large-image {
    text-align: center;
    margin-bottom: 28px;
    width: 100%;
}

.blog-single-layout .blog-large-image img {
    width: 100%;
    max-width: 860px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-large-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.blog-large-card:hover {
    box-shadow: var(--shadow-xl);
}

.blog-large-image {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-large-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.blog-large-card:hover .blog-large-image img {
    transform: scale(1.02);
}

.blog-large-body {
    padding: 40px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.blog-meta-item i {
    color: var(--color-accent-dark);
}

.blog-large-title {
    font-size: 1.75rem;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.blog-large-title a:hover {
    color: var(--color-primary);
}

[data-theme="dark"] .blog-large-title a:hover {
    color: var(--color-accent);
}

.blog-large-excerpt {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.widget-title {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 12px;
    margin-bottom: 20px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

/* Search Widget */
.search-form {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.search-input {
    width: 100%;
    border: none;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
}

.search-btn {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

/* Recent Posts List Widget */
.widget-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

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

.widget-post-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--color-primary-dark);
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-post-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.widget-post-title:hover {
    color: var(--color-primary);
}

[data-theme="dark"] .widget-post-title:hover {
    color: var(--color-accent);
}

.widget-post-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* About Page Specific Components */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--color-accent);
    border: 4px solid var(--color-primary);
    top: 15px;
    border-radius: var(--radius-full);
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-item:hover::after {
    background-color: var(--color-bg-white);
    transform: scale(1.2);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -12px;
}

.timeline-content {
    padding: 24px 32px;
    background-color: var(--color-bg-light);
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(250, 204, 21, 0.5);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: rgba(30, 58, 138, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 12px;
}

[data-theme="dark"] .timeline-date {
    color: var(--color-accent);
    background-color: rgba(250, 204, 21, 0.15);
}

.timeline-role {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Skills/Expertise Badges Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skill-tag {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background-color: var(--color-primary-light);
    color: #ffffff;
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

/* Gallery Grid & Lightbox Styling */
.gallery-filter-menu {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: auto;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* ensures images show fully in native aspect ratios */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.03); /* Subtle zoom keeps watermarks fully inside view */
}

/* Elegant bottom fade overlay, showing title and category only on hover */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 60%, rgba(10, 25, 47, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px 20px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.gallery-category {
    color: var(--color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 25, 47, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.lightbox-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    color: #ffffff;
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

/* Contact Page Form & Card Splits */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

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

.contact-info-card {
    background-color: var(--color-bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 58, 138, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--color-accent);
}

.contact-info-details h4 {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.contact-info-details a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

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

/* Form Styling */
.contact-form-panel {
    background-color: var(--color-bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-title {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    letter-spacing: 0.5px;
}

.form-input {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Footer Section */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--color-accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link-item a i {
    color: var(--color-accent);
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.footer-link-item a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-link-item a:hover i {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

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

.footer-contact-details h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer-contact-details p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

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

/* Animations */
@keyframes wave {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(5deg); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(-5deg); }
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}


/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 20px;
        right: auto;
    }
    
    .timeline-right {
        left: 0%;
    }
    
    /* Responsive Gallery Grid for Tablet */
    .gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }
    
    .gallery-item {
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    /* Hide other things in top bar header and show only phone number */
    .header-top {
        padding: 6px 0;
    }
    .header-top .top-info {
        justify-content: center;
        width: 100%;
    }
    .header-top .top-info-item {
        display: none !important;
    }
    .header-top .top-info-item:last-child {
        display: flex !important;
        margin: 0 auto;
        justify-content: center;
    }
    .header-top .top-social {
        display: none !important;
    }

    /* Reduce vertical paddings and margins to remove empty spaces */
    .section {
        padding: 45px 0;
    }
    .hero {
        padding: 45px 0;
        min-height: auto;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .breadcumb-area {
        padding: 45px 0;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding: 8px 4px 20px 4px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-grid .testimonial-card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        scroll-snap-align: center !important;
        margin-bottom: 0 !important;
    }

    .seo-tags-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .seo-tag-pill {
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.25 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid::after {
        display: none;
    }
    
    .cta-banner {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }
    
    .gallery-item {
        margin-bottom: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }

    /* Responsive Blog Card & Layout Overrides */
    .blog-large-image {
        max-height: none;
    }
    .blog-large-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    .blog-single-layout .blog-large-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    .blog-large-body {
        padding: 24px 20px;
    }
    
    .blog-large-title {
        font-size: 1.45rem;
    }
    
    .blog-meta {
        gap: 10px 16px;
    }
    
    .blog-posts-list {
        gap: 30px;
    }
    
    .blog-single-title {
        font-size: 1.8rem;
    }
    
    /* Center and align hero and about images on mobile/tablet viewports */
    .hero-image-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
    
    .hero-image-frame {
        max-width: 320px;
        width: 90%;
        margin: 0 auto;
    }
    
    /* Hide the floating badges on tablets and mobile screens to prevent overlap layout breakage */
    .hero-badge {
        display: none !important;
    }
    
    /* Center and size about profile picture on mobile/tablet */
    .about-image-wrapper {
        max-width: 320px;
        width: 90%;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .gallery-item {
        margin-bottom: 16px;
    }
    
    .hero-badge {
        display: none; /* Hide floating badges on very small phones to avoid layout breakage */
    }
}

/* ==========================================================================
   Single Blog Post Styles (Super Blog Style)
   ========================================================================== */
.blog-single-title {
    font-size: 2.25rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    line-height: 1.25;
}

.blog-single-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.blog-single-content h2 {
    font-size: 1.6rem;
    color: var(--color-text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.blog-single-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    margin-top: 30px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.blog-single-content ul {
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.blog-single-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    list-style: decimal;
}

.blog-single-content li {
    position: relative;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 28px;
}

.blog-single-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--color-accent-dark);
    font-size: 0.95rem;
}

/* Single-marker safeguard: never show checkmark beside ordered numbers or existing icons */
.blog-single-content ol li {
    padding-left: 6px;
}

.blog-single-content ol li::marker {
    color: #facc15 !important;
    font-weight: 700;
}

.blog-single-content ul.ref-list li,
.blog-single-content ul[style*="list-style: none"] li,
.blog-single-content ul[style*="list-style:none"] li,
.blog-single-content li:has(> i[class*="fa-"]),
.blog-single-content li:has(> a > i[class*="fa-"]),
.blog-single-content li:has(> strong > i[class*="fa-"]) {
    padding-left: 0;
}

.blog-single-content ol li::before,
.blog-single-content ul.ref-list li::before,
.blog-single-content ul[style*="list-style: none"] li::before,
.blog-single-content ul[style*="list-style:none"] li::before,
.blog-single-content li:has(> i[class*="fa-"])::before,
.blog-single-content li:has(> a > i[class*="fa-"])::before,
.blog-single-content li:has(> strong > i[class*="fa-"])::before {
    display: none !important;
    content: none !important;
}

.blog-share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 16px;
}

.blog-share-box span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icons a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 1px solid var(--color-border);
}

.share-icons a:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

[data-theme="dark"] .share-icons a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
}

/* Sidebar Bio Widget */
.widget-bio {
    text-align: center;
}

.widget-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 3px solid var(--color-accent);
    box-shadow: var(--shadow-md);
}

.widget-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.widget-bio-name {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.widget-bio-role {
    font-size: 0.8rem;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 12px;
}

[data-theme="dark"] .widget-bio-role {
    color: var(--color-accent);
}

.widget-bio-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.widget-bio-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.widget-bio-social a {
    color: var(--color-text-light);
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.widget-bio-social a:hover {
    color: var(--color-primary-light);
}

[data-theme="dark"] .widget-bio-social a:hover {
    color: var(--color-accent);
}

/* Sidebar Service CTA Card */
.widget-cta {
    background: var(--grad-primary);
    color: #ffffff;
    text-align: center;
    border: none;
}

.widget-cta h4 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.widget-cta p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.widget-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Premium Animations & Lightning Effects
   ========================================================================== */

/* 1. Scroll Reveal Animations (Always visible fail-safe) */
.reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* 2. Hero Section Lighting Effects */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(30, 58, 138, 0) 70%);
    top: -5%;
    left: -5%;
    z-index: 0;
    filter: blur(80px);
    animation: floatGlow1 12s infinite ease-in-out alternate;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, rgba(234, 179, 8, 0) 70%);
    bottom: -10%;
    right: 5%;
    z-index: 0;
    filter: blur(90px);
    animation: floatGlow2 15s infinite ease-in-out alternate;
    pointer-events: none;
}

[data-theme="dark"] .hero-glow-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(30, 58, 138, 0) 70%);
}

[data-theme="dark"] .hero-glow-2 {
    background: radial-gradient(circle, rgba(250, 204, 21, 0.14) 0%, rgba(234, 179, 8, 0) 70%);
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.15); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, -60px) scale(0.9); }
}

/* 3. Smooth Glowing Text Effect for "Chartered Engineer" */
.hero-title span {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--color-primary);
    animation: textGlowLight 4s ease-in-out infinite;
    display: inline-block;
    pointer-events: none; /* Ensures the text is completely non-interactive/unclickable */
}

[data-theme="dark"] .hero-title span {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--color-accent);
    animation: textGlowDark 4s ease-in-out infinite;
}

@keyframes textGlowLight {
    0%, 100% { 
        color: var(--color-primary); 
        text-shadow: none; 
    }
    50% { 
        color: var(--color-accent-dark); 
        text-shadow: 0 0 12px rgba(234, 179, 8, 0.6), 0 0 24px rgba(234, 179, 8, 0.3); 
    }
}

@keyframes textGlowDark {
    0%, 100% { 
        color: var(--color-accent); 
        text-shadow: none; 
    }
    50% { 
        color: var(--color-primary-light); 
        text-shadow: 0 0 12px rgba(59, 130, 246, 0.7), 0 0 24px rgba(59, 130, 246, 0.4); 
    }
}

/* 4. Hero Badges Float & Glow */
.hero-badge-1 {
    animation: floatBadge1 6s infinite ease-in-out alternate;
}

.hero-badge-2 {
    animation: floatBadge2 6s infinite ease-in-out alternate;
}

.hero-badge:hover {
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.25);
    border-color: var(--color-accent) !important;
}

[data-theme="dark"] .hero-badge:hover {
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
    border-color: var(--color-primary-light) !important;
}

@keyframes floatBadge1 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes floatBadge2 {
    0% { transform: translateY(0); }
    100% { transform: translateY(15px); }
}

/* 5. Button Shimmer Sweep Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0s;
    pointer-events: none;
    z-index: 1;
}

.btn:hover::after {
    left: 150%;
    transition: all 0.75s ease-in-out;
}

/* 6. Cards 3D Hover & Lighting Border */
.feature-card:hover, .service-card:hover, .testimonial-card:hover, .blog-large-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
}

[data-theme="dark"] .feature-card:hover, 
[data-theme="dark"] .service-card:hover, 
[data-theme="dark"] .testimonial-card:hover, 
[data-theme="dark"] .blog-large-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), 0 0 15px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.feature-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
}

[data-theme="dark"] .feature-card:hover {
    border-color: rgba(250, 204, 21, 0.4) !important;
}

/* ==========================================================================
   Empanelment Logo Marquee Section
   ========================================================================== */
.section-logo-marquee {
    padding: 30px 0;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.logo-marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.logo-marquee-item {
    flex-shrink: 0;
}

.logo-marquee-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-bg-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.logo-marquee-box i {
    color: var(--color-primary-light);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .logo-marquee-box i {
    color: var(--color-accent);
}

.logo-marquee-box span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.logo-marquee-box:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: width var(--transition-normal);
}

@media (max-width: 768px) {
    .logo-marquee-wrapper::before,
    .logo-marquee-wrapper::after {
        width: 50px;
    }
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

/* ==========================================================================
   Achievement Stats Section
   ========================================================================== */
.stats-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    background-color: var(--color-bg-white);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(250, 204, 21, 0.3);
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
    transition: var(--transition-fast);
}

[data-theme="dark"] .stat-icon-box {
    background-color: rgba(250, 204, 21, 0.15);
    color: var(--color-accent);
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1);
    background-color: var(--color-primary);
    color: #ffffff;
}

[data-theme="dark"] .stat-card:hover .stat-icon-box {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 80px 0;
}

/* ==============================================================================
   Modern Luxury FAQ Accordion UI (Desktop & Mobile Optimized)
   Interactive Glassmorphism Cards, Circular Icon Pills, Gold Accent Glow
   ============================================================================== */
.faq-accordion {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(13, 30, 54, 0.96) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-left: 3.5px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

.faq-item:hover {
    border-color: rgba(250, 204, 21, 0.45) !important;
    border-left: 3.5px solid #facc15 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 0 16px rgba(250, 204, 21, 0.08) !important;
}

/* Open / Active State */
.faq-item.active {
    background: linear-gradient(145deg, rgba(20, 38, 70, 0.95) 0%, rgba(10, 25, 47, 0.98) 100%) !important;
    border-color: rgba(250, 204, 21, 0.55) !important;
    border-left: 4.5px solid #facc15 !important;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.45), 0 0 20px rgba(250, 204, 21, 0.12) !important;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff !important;
    line-height: 1.45;
    transition: color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    gap: 16px;
}

.faq-question *,
.blog-faq-btn * {
    pointer-events: none;
}

.faq-question span {
    flex: 1;
    font-size: 1.05rem;
    color: #ffffff;
    transition: color 0.25s ease;
}

/* Active Question Text Glows Gold */
.faq-item.active .faq-question span {
    color: #facc15 !important;
    font-weight: 700;
}

/* Elegant Circular Chevron Toggle Button */
.faq-question i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #facc15 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0;
}

/* On Card Hover, pill illuminates */
.faq-item:hover .faq-question i {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.4);
}

/* When Active, pill fills with Gold and rotates smoothly */
.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
    background: #facc15 !important;
    color: #0a192f !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.45);
}

.faq-answer {
    display: none;
    overflow: visible !important;
    max-height: none !important;
    padding: 0 24px 22px 24px !important;
    animation: faqFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    font-size: 0.95rem;
    color: #cbd5e1 !important;
    line-height: 1.75;
    margin-bottom: 12px;
    border-top: 1px solid rgba(250, 204, 21, 0.12);
    padding-top: 14px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 8px 0 14px 20px;
    padding: 0;
    color: #cbd5e1;
    font-size: 0.93rem;
    line-height: 1.7;
}

.faq-answer ul li {
    margin-bottom: 6px;
}

.faq-answer a {
    color: #facc15 !important;
    text-decoration: underline;
    font-weight: 500;
}

/* Mobile & Tablet Specifics for FAQs */
@media (max-width: 768px) {
    .faq-accordion {
        gap: 12px !important;
    }

    .faq-item {
        border-radius: 12px !important;
        border-left-width: 3px !important;
    }

    .faq-question {
        padding: 16px 16px !important;
        font-size: 0.94rem !important;
        line-height: 1.4 !important;
        gap: 12px !important;
        min-height: 52px !important;
    }

    .faq-question span {
        font-size: 0.94rem !important;
        line-height: 1.4 !important;
    }

    .faq-question i {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.78rem !important;
    }

    .faq-answer {
        padding: 0 16px 18px 16px !important;
        display: none;
    }

    .faq-item.active .faq-answer {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 16px 18px 16px !important;
    }

    .faq-answer p {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        padding-top: 12px !important;
    }

    .faq-answer ul {
        margin-left: 16px !important;
        font-size: 0.86rem !important;
    }
}

/* Rotating border keyframe */
@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Lightning strike animation for Hero section image */
@keyframes lightningHero {
    0%, 45%, 55%, 100% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-xl);
    }
    47% {
        box-shadow: 0 0 35px rgba(250, 204, 21, 0.95), 0 0 60px rgba(250, 204, 21, 0.6), var(--shadow-xl);
    }
    48% {
        box-shadow: 0 0 10px rgba(250, 204, 21, 0.1), var(--shadow-xl);
    }
    49% {
        box-shadow: 0 0 45px rgba(250, 204, 21, 1), 0 0 85px rgba(250, 204, 21, 0.7), var(--shadow-xl);
    }
    51% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-xl);
    }
    52% {
        box-shadow: 0 0 35px rgba(250, 204, 21, 0.85), 0 0 55px rgba(250, 204, 21, 0.5), var(--shadow-xl);
    }
    54% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-xl);
    }
}

/* Lightning strike animation for About section image */
@keyframes lightningAbout {
    0%, 45%, 55%, 100% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-lg);
    }
    47% {
        box-shadow: 0 0 30px rgba(250, 204, 21, 0.9), 0 0 50px rgba(250, 204, 21, 0.5), var(--shadow-lg);
    }
    48% {
        box-shadow: 0 0 10px rgba(250, 204, 21, 0.1), var(--shadow-lg);
    }
    49% {
        box-shadow: 0 0 40px rgba(250, 204, 21, 0.95), 0 0 75px rgba(250, 204, 21, 0.6), var(--shadow-lg);
    }
    51% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-lg);
    }
    52% {
        box-shadow: 0 0 30px rgba(250, 204, 21, 0.8), 0 0 45px rgba(250, 204, 21, 0.45), var(--shadow-lg);
    }
    54% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.15), var(--shadow-lg);
    }
}

/* Border flicker animation (synchronized with the lightning strikes) */
@keyframes borderFlicker {
    0%, 45%, 55%, 100% {
        opacity: 1;
    }
    47% {
        opacity: 0.35;
    }
    48% {
        opacity: 0.9;
    }
    49% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    52% {
        opacity: 0.4;
    }
    53% {
        opacity: 0.85;
    }
    54% {
        opacity: 1;
    }
}

/* Sweep sheen animation over the image */
@keyframes lightningSweep {
    0%, 46% {
        left: -150%;
    }
    /* Lightning strike 1: sweep very fast */
    47.5% {
        left: 150%;
    }
    48.5%, 49.5% {
        left: -150%;
    }
    /* Lightning strike 2: sweep again */
    51% {
        left: 150%;
    }
    52%, 100% {
        left: -150%;
    }
}

/* Image brightness/contrast flash strike */
@keyframes imageLightning {
    0%, 45%, 55%, 100% {
        filter: brightness(1) contrast(1) saturate(1);
    }
    47% {
        filter: brightness(1.3) contrast(1.2) saturate(1.1);
    }
    48% {
        filter: brightness(0.9) contrast(0.95) saturate(0.95);
    }
    49% {
        filter: brightness(1.4) contrast(1.25) saturate(1.15);
    }
    51% {
        filter: brightness(1) contrast(1) saturate(1);
    }
    52% {
        filter: brightness(1.25) contrast(1.15) saturate(1.1);
    }
    54% {
        filter: brightness(1) contrast(1) saturate(1);
    }
}

/* ==========================================================================
   Joule Asset Valuers Custom Styles & Animations
   ========================================================================== */

/* 5-Step Process Grid */
.process-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.process-card-step {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.process-card-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.process-badge-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.process-card-step h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.process-card-step p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Founder Spotlight Box */
.founder-spotlight-box {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .founder-spotlight-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }
}

.founder-img-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--color-primary-light);
    box-shadow: var(--shadow-lg);
}

.founder-img-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.founder-info h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.founder-info .founder-role {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary-light);
    margin-bottom: 14px;
}

.founder-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Industries Served Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.industry-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-normal);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-dark);
}

.industry-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

[data-theme="dark"] .industry-icon {
    background: rgba(250, 204, 21, 0.1);
    color: var(--color-accent);
}

.industry-content h4 {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.industry-content p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

/* SEO Tag Grid */
.seo-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.seo-tag-pill {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.seo-tag-pill i {
    color: var(--color-primary-light);
}

.seo-tag-pill:hover {
    border-color: var(--color-primary-light);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

/* Service Coverage Badges */
.coverage-badge-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.coverage-chip {
    background: var(--grad-primary);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}


/* ==========================================================================
   ENHANCED PROCESS PIPELINE & FOOTER STYLING
   ========================================================================== */

/* Process Timeline Pipeline (5-Step Redesign) */
.process-pipeline-container {
    margin-top: 40px;
    position: relative;
}

.process-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .process-pipeline-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 24px;
    }
}

.process-pipeline-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 20px 24px 20px;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-pipeline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.process-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    transition: transform var(--transition-normal);
}

.process-pipeline-card:hover .process-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.process-step-tag {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.process-pipeline-card h4 {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.process-pipeline-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Premium 4-Column Footer Redesign */
.footer-v2 {
    background: linear-gradient(180deg, #071325 0%, #030812 100%);
    color: #cbd5e1;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 3px solid var(--color-primary-light);
    position: relative;
}

.footer-v2-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .footer-v2-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-col-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    color: #facc15;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.section-bg-dark .section-title {
    color: #facc15;
}

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

.footer-address-highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.footer-address-highlight-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary-light);
}

.footer-address-highlight-box p {
    font-size: 0.92rem;
    color: #f1f5f9;
    line-height: 1.5;
}

/* ==========================================================================
   CENTERED HERO WITH BACKGROUND IMAGE OVERLAY
   ========================================================================== */
.hero-centered-overlay {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.85) 0%, rgba(10, 25, 47, 0.88) 100%), url('hero-bg.jpg') no-repeat center center / cover;
    padding: 100px 0;
    position: relative;
    color: #ffffff;
}

.hero-centered-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-centered-content .hero-tagline {
    background-color: rgba(250, 204, 21, 0.2);
    color: var(--color-accent) !important;
    border-color: rgba(250, 204, 21, 0.4);
}

.hero-centered-content .hero-title {
    color: #ffffff !important;
    font-size: 2.75rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-centered-content .hero-title span {
    color: var(--color-accent) !important;
}

.hero-centered-content .hero-desc {
    color: #e2e8f0 !important;
    font-size: 1.1rem;
    max-width: 780px;
    margin: 0 auto 14px auto;
    line-height: 1.6;
}

.hero-centered-content .hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}


/* ==========================================================================
   WIDENESS & FULL 14 SERVICES FOOTER ENHANCEMENTS
   ========================================================================== */

/* Increased max-width for wider content layout without overflowing screen margins */
.container {
    max-width: 1360px !important;
    padding: 0 28px !important;
}

.section-header {
    max-width: 1050px !important;
}

.hero-centered-content {
    max-width: 1180px !important;
}

.hero-centered-content .hero-title {
    font-size: 3.1rem !important;
    max-width: 1100px !important;
}

.hero-centered-content .hero-desc {
    max-width: 1050px !important;
    font-size: 1.15rem !important;
}

/* Footer Layout for 14 Services across 2 columns */
.footer-v2-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr 1fr 1.1fr !important;
    gap: 36px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 1024px) {
    .footer-v2-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 640px) {
    .footer-v2-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ==========================================================================
   HOMEPAGE ABOUT SECTION - MODERATE IMAGE SIZE & CLEAN BORDER
   ========================================================================== */

.about-intro-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    gap: 44px !important;
}

.about-image-wrapper {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    max-width: 100% !important;
}

.about-intro-image-frame {
    height: auto !important;
    min-height: 0 !important;
    max-height: 400px !important;
    position: relative !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
    outline: none !important;
    display: flex !important;
}

.about-intro-image-frame:hover {
    transform: none !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: transparent !important;
}

.about-intro-image-inner {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.about-intro-image-inner img {
    width: 100% !important;
    height: 100% !important;
    max-height: 400px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
}

/* Remove yellow experience overlay badge */
.about-experience-badge {
    display: none !important;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .about-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .about-intro-image-frame {
        max-height: 320px !important;
    }
    
    .about-intro-image-inner img {
        max-height: 320px !important;
    }
}

@media (max-width: 576px) {
    .about-intro-image-frame {
        max-height: 250px !important;
    }
    
    .about-intro-image-inner img {
        max-height: 250px !important;
    }
}

/* Horizontal 3-Card Grid for About Feature Highlights */
.about-highlights-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin-top: 20px !important;
    margin-bottom: 28px !important;
}

.about-highlight-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary-light);
    padding: 16px 14px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-accent);
}

@media (max-width: 768px) {
    .about-highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   HERO BACKGROUND VISIBILITY & NON-STOP RUNNING TICKER SLIDER
   ========================================================================== */

/* Brighter Hero Overlay so hero-bg.jpg background image is clearly visible */
.hero-centered-overlay {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.50) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-bg.jpg') no-repeat center center / cover !important;
    padding: 100px 0;
    position: relative;
    color: #ffffff;
}

.hero-centered-content .hero-title {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8) !important;
}

.hero-centered-content .hero-desc {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

/* Non-Stop Running Continuous Ticker / Slider */
.ticker-slider-wrapper {
    overflow: hidden;
    width: 100%;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 12px 0;
    margin-top: 20px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: tickerScroll 24s linear infinite !important;
}

.ticker-slider-wrapper:hover .ticker-track {
    animation-play-state: paused;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-dark);
    white-space: nowrap;
    background: var(--color-bg-white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.ticker-item i {
    color: var(--color-accent);
    font-size: 1rem;
}

/* ==========================================================================
   NEW DEDICATED FULL-WIDTH MOVING SHOWCASE SECTION
   ========================================================================== */

.moving-showcase-section {
    background: linear-gradient(90deg, #071325 0%, #0c2040 50%, #071325 100%);
    border-top: 2px solid var(--color-primary-light);
    border-bottom: 2px solid var(--color-primary-light);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.moving-showcase-section .ticker-track {
    display: flex;
    width: max-content;
    gap: 24px;
    animation: tickerScroll 25s linear infinite !important;
}

.moving-showcase-section:hover .ticker-track {
    animation-play-state: paused;
}

.moving-showcase-section .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.moving-showcase-section .ticker-item i {
    color: var(--color-accent);
    font-size: 1.05rem;
}


/* ==========================================================================
   CLEAN UNIFIED RESPONSIVE NAVBAR (NO MOBILE DRAWER)
   Nav Background: #071A3D
   Menu Text: #FFFFFF
   Hover / Active: #D99A2B
   Button: #D99A2B
   Button Text: #071A3D
   ========================================================================== */

.navbar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #071A3D !important;
    background-color: #071A3D !important;
    border-bottom: 1px solid rgba(217, 154, 43, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
    transition: var(--transition-normal);
}

.navbar.sticky .container {
    height: 82px;
}

.logo img {
    height: 82px !important;
    max-height: 86px !important;
    width: auto !important;
    display: block !important;
    transition: height 0.3s ease !important;
}

.navbar.sticky .logo img {
    height: 70px !important;
    max-height: 74px !important;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: #ffffff !important;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #facc15 !important;
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: #facc15 !important;
}

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

.nav-link.active {
    color: #facc15 !important;
}

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

[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover {
    color: #facc15 !important;
}

.nav-cta .btn,
.nav-cta .btn-accent {
    background: #D99A2B !important;
    background-color: #D99A2B !important;
    color: #071A3D !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 12px rgba(217, 154, 43, 0.3) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.nav-cta .btn:hover,
.nav-cta .btn-accent:hover {
    background: #e5a432 !important;
    background-color: #e5a432 !important;
    color: #071A3D !important;
    transform: translateY(-2px) !important;
}

/* Completely Hide Drawer and Toggle Elements globally */
.mobile-nav-drawer,
.drawer-backdrop,
.mobile-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* Mobile Navigation Bar Action Buttons & Drawer Toggle */
.mobile-nav-actions {
    display: none;
}

@media (max-width: 991px) {
    .navbar {
        background-color: #000000 !important;
        border-bottom: 1px solid #1e293b !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    }

    .navbar .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 75px !important;
        padding: 0 16px !important;
        position: relative !important;
        gap: 0 !important;
    }

    .logo img {
        height: 65px !important;
        max-height: 68px !important;
    }

    .mobile-nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .mobile-call-btn {
        display: none !important;
    }

    .mobile-menu-toggle {
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 1.65rem !important;
        cursor: pointer !important;
        padding: 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-menu-toggle i {
        color: #ffffff !important;
    }

    .nav-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #0a192f !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7) !important;
        border-bottom: 3.5px solid #facc15 !important;
        padding: 18px 20px !important;
        flex-direction: column !important;
        gap: 10px !important;
        z-index: 99999 !important;
        max-height: calc(100vh - 86px) !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-link {
        font-size: 1rem !important;
        color: #ffffff !important;
        padding: 10px 14px !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        display: block !important;
        text-align: left !important;
    }

    .nav-link.active,
    .nav-link:hover {
        background-color: rgba(250, 204, 21, 0.15) !important;
        color: #facc15 !important;
    }

    .nav-cta {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    .nav-cta .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }
}

/* ==========================================================================
   ABOUT US PAGE HERO BACKGROUND OVERLAY
   ========================================================================== */

.about-hero-overlay {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.52) 0%, rgba(10, 25, 47, 0.65) 100%), url('services-hero-bg.jpg') no-repeat center center / cover !important;
    padding: 95px 0;
    position: relative;
    color: #ffffff;
}

@media (max-width: 768px) {
    .about-hero-overlay {
        min-height: auto;
        padding: 55px 16px !important;
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.52) 0%, rgba(10, 25, 47, 0.62) 100%), url('services-hero-mobile-bg.jpg') no-repeat right center / cover !important;
    }
}

/* ==========================================================================
   HOME PAGE HERO SECTION REDESIGN (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */

/* Desktop Version */
.home-hero-redesign {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden !important;
    background: #0a192f !important;
    padding: 90px 0 70px 0;
    color: #ffffff;
}

/* Hero Background Video Wrapper & Overlay */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    background-color: #0a192f !important;
    transition: opacity 0.15s ease-in-out;
}

.hero-bg-video.video-active {
    opacity: 1 !important;
    z-index: 2;
}

.hero-bg-video.video-hidden {
    opacity: 0 !important;
    z-index: 1;
}

.hero-bg-video-desktop {
    display: block !important;
}

.hero-bg-video-mobile {
    display: none !important;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 17, 38, 0.55) 0%, rgba(6, 17, 38, 0.40) 50%, rgba(6, 17, 38, 0.30) 100%);
    z-index: 3;
    pointer-events: none;
}

.home-hero-redesign .container {
    position: relative;
    z-index: 4;
}

.home-hero-title,
.home-hero-subtitle,
.home-hero-desc {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9) !important;
}

@media (max-width: 768px) {
    .hero-bg-video-desktop {
        display: none !important;
    }
    .hero-bg-video-mobile {
        display: block !important;
    }
}

.home-hero-content {
    max-width: 850px;
    text-align: left;
}

/* Pill Tag */
.home-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 7px 20px;
    border-radius: 50px;
    background: rgba(7, 26, 61, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}

.home-hero-pill i {
    color: #D99A2B;
    font-size: 0.95rem;
}

.home-hero-pill span {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
}

/* Main Title */
.home-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.home-hero-title .highlight-gold {
    color: #D99A2B;
}

/* Subtitle */
.home-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Underline Accent */
.home-hero-line {
    width: 65px;
    height: 4px;
    background: #D99A2B;
    border-radius: 2px;
    margin-bottom: 24px;
}

/* Description */
.home-hero-desc {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 32px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.home-hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    background-color: #D99A2B !important;
    color: #071A3D !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 1.02rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(217, 154, 43, 0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-hero-primary:hover {
    background-color: #f5b038 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(217, 154, 43, 0.5) !important;
}

.btn-hero-secondary {
    background-color: rgba(7, 26, 61, 0.35) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 1.02rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Stats Bar */
.home-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    font-size: 1.8rem;
    color: #D99A2B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    font-family: var(--font-heading, 'Poppins', sans-serif);
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .home-hero-title {
        font-size: 2.5rem;
    }
    .home-hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .home-hero-redesign {
        min-height: auto;
        padding: 45px 0 35px 0;
        background: #0a192f !important;
        display: flex;
        align-items: center;
    }
    
    .home-hero-content {
        width: 100%;
        text-align: left;
    }
    
    .home-hero-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6px 14px;
        margin-bottom: 18px;
        max-width: 100%;
        background: #0d1e36 !important;
        border: 1.5px solid #D99A2B !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    }
    
    .home-hero-pill span {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
        color: #ffffff !important;
        font-weight: 700;
        text-align: center;
    }
    
    .home-hero-pill i {
        font-size: 0.82rem;
        color: #D99A2B !important;
    }
    
    .home-hero-title {
        font-size: 1.95rem;
        font-weight: 800;
        line-height: 1.18;
        margin-bottom: 10px;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    }
    
    .home-hero-subtitle {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 12px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }
    
    .home-hero-line {
        width: 50px;
        height: 3.5px;
        background: #D99A2B;
        border-radius: 2px;
        margin-bottom: 16px;
    }
    
    .home-hero-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        color: #f1f5f9;
        margin-bottom: 24px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    }
    
    .home-hero-btns {
        flex-direction: row;
        width: 100%;
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .btn-hero-primary {
        width: auto !important;
        display: inline-flex !important;
        padding: 9px 20px !important;
        font-size: 0.90rem !important;
        border-radius: 8px !important;
        gap: 10px !important;
    }
    
    .home-hero-stats {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .stat-item {
        gap: 8px !important;
        flex: 1;
    }
    
    .stat-icon {
        font-size: 1.35rem !important;
        color: #D99A2B !important;
    }
    
    .stat-num {
        font-size: 1rem !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        color: #ffffff !important;
    }
    
    .stat-label {
        font-size: 0.72rem !important;
        color: #e2e8f0 !important;
        line-height: 1.2 !important;
    }
    
    .stat-divider {
        display: block !important;
        width: 1px !important;
        height: 30px !important;
        background: rgba(255, 255, 255, 0.3) !important;
    }
}

/* ==========================================================================
   SERVICES PAGE HERO BACKGROUND OVERLAY (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */

.services-hero-overlay {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.22) 0%, rgba(10, 25, 47, 0.32) 100%), url('services-hero-bg.jpg') no-repeat center center / cover !important;
    padding: 80px 0;
    position: relative;
    color: #ffffff;
}

.services-hero-overlay .reveal,
.about-hero-overlay .reveal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .services-hero-overlay,
    .about-hero-overlay {
        min-height: auto;
        padding: 55px 16px !important;
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.52) 0%, rgba(10, 25, 47, 0.62) 100%), url('services-hero-mobile-bg.jpg') no-repeat right center / cover !important;
    }
    
    .services-hero-overlay .reveal,
    .about-hero-overlay .reveal {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* ==========================================================================
   GLOBAL CENTER ALIGNMENT FOR SECTIONS, HEADINGS, BUTTONS & CARDS
   (EXCEPT HERO SECTIONS)
   ========================================================================== */

/* Section Headers & Titles */
.section-header,
.section-header h2,
.section-title {
    text-align: center !important;
}

.section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 auto !important;
}

.section-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
    text-align: center !important;
}

.section-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Section Buttons & CTA Banners */
.cta-banner {
    text-align: center !important;
}

.cta-banner-content {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cta-banner-btn {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* About Intro & Section Content Text & Buttons */
.about-intro-content {
    text-align: left !important;
}

.about-intro-content .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-intro-content p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.about-intro-content .btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Service Cards Center Alignment */
.service-card,
.service-card-body {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.service-card .feature-icon-box {
    margin: 0 auto 16px auto !important;
}

.service-card-title {
    text-align: center !important;
}

.service-card-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.service-card-footer {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    width: 100% !important;
}

.service-card-link {
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Feature Cards & Industry Cards Center Alignment */
.feature-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.feature-card .feature-icon-box {
    margin: 0 auto 16px auto !important;
}

.feature-title {
    text-align: center !important;
}
.feature-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.industry-card {
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
}

.industry-icon {
    margin: 0 auto 12px auto !important;
}

.industry-content {
    text-align: center !important;
}

/* Process Cards Center Alignment */
.process-pipeline-card {
    text-align: left !important;
}

.process-icon-circle {
    margin: 0 0 14px 0 !important;
}

.process-pipeline-card h4 {
    text-align: left !important;
}
.process-pipeline-card p {
    text-align: left !important;
}

/* Testimonial Cards Center Alignment */
.testimonial-card {
    text-align: center !important;
}

.testimonial-stars {
    justify-content: center !important;
    display: flex !important;
    margin-bottom: 10px !important;
}

.testimonial-user {
    justify-content: center !important;
    text-align: center !important;
}

.testimonial-user-info {
    text-align: center !important;
}

/* Footer Bottom Bar Center Alignment */
.footer-bottom-bar {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
}

.footer-bottom-links {
    justify-content: center !important;
    text-align: center !important;
}

/* ==========================================================================
   MOBILE ALIGNMENT & HERO BACKGROUND VISIBILITY FIXES
   ========================================================================== */

.founder-card-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .founder-card-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Hero Background Image Visibility & Overlay on Mobile */
    .services-hero-overlay,
    .about-hero-overlay {
        min-height: auto !important;
        padding: 55px 16px !important;
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.65) 100%), url('services-hero-mobile-bg.jpg') no-repeat right center / cover !important;
    }
    
    .services-hero-overlay .reveal,
    .about-hero-overlay .reveal {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    /* Hero Typography Sizing for Mobile Screens */
    .services-hero-overlay h1,
    .about-hero-overlay h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        margin-bottom: 12px !important;
    }
    
    .services-hero-overlay p,
    .about-hero-overlay p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }

    /* Section Title Underline Centering on Mobile */
    .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
    }

    .section-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    /* Contact Cards Centering & Full Mobile Address Text Wrapping */
    .contact-card,
    .contact-info-panel,
    .contact-info-item,
    .contact-info-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 22px 16px !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-icon {
        margin: 0 auto !important;
    }

    .contact-info-details {
        width: 100% !important;
        text-align: center !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

        .contact-info-details h4 {
        text-align: center !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .footer-address-highlight-box p {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* ==========================================================================
   FINAL CTA BACKGROUND (CLEAN BRAND GRADIENT, NO BACKGROUND IMAGE)
   ========================================================================== */

.section-bg-dark {
    background: var(--grad-primary) !important;
    position: relative;
    color: #ffffff;
    padding: 85px 0 !important;
}

.section-bg-dark .reveal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.section-bg-dark h2 {
    text-shadow: none !important;
}

.section-bg-dark p {
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .section-bg-dark {
        padding: 50px 16px !important;
        background: var(--grad-primary) !important;
    }
    
    .section-bg-dark .reveal {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .section-bg-dark h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
}

/* ==========================================================================
   FORM INPUT BOX-SIZING & MOBILE 1-COLUMN RESPONSIVE LAYOUT FIX
   ========================================================================== */

.form-input,
.form-group,
.form-row,
.contact-form-panel {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.form-input {
    width: 100% !important;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form-panel {
        padding: 24px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-group,
    .form-group-full {
        grid-column: span 1 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-input {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 14px !important;
        font-size: 16px !important; /* 16px prevents iOS Safari auto-zoom */
    }

    .form-title {
        font-size: 1.35rem !important;
        text-align: center !important;
    }

    .form-subtitle {
        font-size: 0.85rem !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

/* ==========================================================================
   CTA BANNER & HERO SECTION OVERLAY UPDATES
   ========================================================================== */

/* 1. CTA Banner Section Background (Clean Royal Gradient, No Background Image) */
.cta-banner {
    background: var(--grad-primary) !important;
    border-radius: var(--radius-lg);
    padding: 60px 48px !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 40px 20px !important;
        background: var(--grad-primary) !important;
    }
}

/* 2. Hero Section Inner Blue Box Removal & Medium Background Opacity Overlay */
.services-hero-overlay .reveal,
.about-hero-overlay .reveal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1050px !important;
}

.services-hero-overlay {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.28) 0%, rgba(10, 25, 47, 0.38) 100%), url('services-hero-bg.jpg') no-repeat center center / cover !important;
    padding: 95px 0 !important;
}

.about-hero-overlay {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.28) 0%, rgba(10, 25, 47, 0.38) 100%), url('about-hero-bg.jpg') no-repeat center center / cover !important;
    padding: 95px 0 !important;
}

.services-hero-overlay h1,
.about-hero-overlay h1 {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.98), 0 2px 6px rgba(0, 0, 0, 0.95) !important;
    color: #ffffff !important;
}

.services-hero-overlay p,
.about-hero-overlay p {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}

@media (max-width: 768px) {
    .services-hero-overlay {
        padding: 55px 16px !important;
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.28) 0%, rgba(10, 25, 47, 0.38) 100%), url('services-hero-mobile-bg.jpg') no-repeat left center / cover !important;
    }

    .about-hero-overlay {
        padding: 55px 16px !important;
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.28) 0%, rgba(10, 25, 47, 0.38) 100%), url('about-hero-mobile-bg.jpg') no-repeat left center / cover !important;
    }

    .services-hero-overlay .reveal,
    .about-hero-overlay .reveal {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   COMPACT & ELEGANT FORM LAYOUT (DESKTOP & MOBILE OPTIMIZED)
   ========================================================================== */

#quote-form,
.service-quote-card {
    max-width: 620px !important;
    margin: 0 auto !important;
    padding: 32px 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
}

.contact-form-panel .form-row {
    margin-bottom: 14px !important;
    gap: 14px !important;
}

.contact-form-panel .form-label {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 5px !important;
}

.contact-form-panel .form-input {
    padding: 11px 14px !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
}

.contact-form-panel textarea.form-input {
    min-height: 90px !important;
    padding: 11px 14px !important;
}

.contact-form-panel .form-title {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.contact-form-panel .form-subtitle {
    font-size: 0.86rem !important;
    margin-bottom: 20px !important;
    color: var(--color-text-muted) !important;
}

[data-theme="dark"] .contact-form-panel .form-subtitle {
    color: var(--color-text-light) !important;
}

@media (max-width: 768px) {
    #quote-form,
    .service-quote-card,
    .contact-form-panel {
        max-width: 100% !important;
        padding: 22px 18px !important;
        border-radius: 14px !important;
    }
    
    .contact-form-panel .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .contact-form-panel .form-title {
        font-size: 1.28rem !important;
    }
    
    .contact-form-panel .form-subtitle {
        font-size: 0.82rem !important;
        margin-bottom: 16px !important;
    }
    
    .contact-form-panel .form-input {
        padding: 10px 12px !important;
        font-size: 16px !important; /* 16px prevents iOS auto-zoom */
    }
    
    .contact-form-panel textarea.form-input {
        min-height: 80px !important;
    }
}

/* ==========================================================================
   FOOTER BACKGROUND VIDEO & OVERLAY (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */

.footer-v2,
footer {
    position: relative !important;
    overflow: hidden !important;
    color: #cbd5e1;
    border-top: 3px solid var(--color-primary-light);
    background: #030812 !important;
}

.footer-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.footer-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 17, 36, 0.78) 0%, rgba(3, 8, 18, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

.footer-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.footer-bg-video-desktop {
    display: block;
}

.footer-bg-video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .footer-v2,
    footer {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.82) 0%, rgba(3, 8, 18, 0.92) 100%), url('footer-mobile-bg.jpg') no-repeat center center / cover !important;
    }

    .footer-bg-video-desktop {
        display: none !important;
    }
    
    .footer-bg-video-mobile {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
    }
}

.footer-v2 .container,
.footer-v2-grid,
.footer-bottom {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   HOME PAGE SPECIFIC CTA BACKGROUNDS (CLEAN SOLID BRAND GRADIENT)
   ========================================================================== */

.home-cta-banner,
.home-final-cta {
    background: var(--grad-primary) !important;
}

@media (max-width: 768px) {
    .home-cta-banner,
    .home-final-cta {
        background: var(--grad-primary) !important;
    }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP, CALL, SCROLL UP, SCROLL DOWN)
   ========================================================================== */

/* Base Floating Control Styles */
.float-action-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.float-action-btn:hover {
    transform: scale(1.1);
}

/* Left Bottom: WhatsApp Button */
.float-whatsapp {
    left: 20px;
    bottom: 20px;
    background: #25D366;
    color: #ffffff !important;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* Right Bottom Stack: Call, Scroll Up, Scroll Down */
.float-call {
    right: 20px;
    bottom: 20px;
    background: var(--color-primary);
    color: #ffffff !important;
    font-size: 1.3rem;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.float-call:hover {
    background: var(--color-primary-light);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.float-scroll-up {
    right: 20px;
    bottom: 80px;
    background: var(--color-primary-dark);
    color: var(--color-accent) !important;
    font-size: 1.1rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.float-scroll-up:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark) !important;
    border-color: var(--color-accent);
}

.float-scroll-down {
    right: 20px;
    bottom: 138px;
    background: var(--color-primary-dark);
    color: #ffffff !important;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-scroll-down:hover {
    background: var(--color-primary-light);
    color: #ffffff !important;
    border-color: var(--color-primary-light);
}

@media (max-width: 768px) {
    .float-action-btn {
        width: 44px;
        height: 44px;
    }
    
    .float-whatsapp {
        left: 14px;
        bottom: 16px;
        font-size: 1.5rem;
    }
    
    .float-call {
        right: 14px;
        bottom: 16px;
        font-size: 1.15rem;
    }
    
    .float-scroll-up {
        right: 14px;
        bottom: 68px;
        font-size: 0.95rem;
    }
    
    .float-scroll-down {
        right: 14px;
        bottom: 118px;
        font-size: 0.95rem;
    }
}

/* Content Blocks Left Alignment (for reading articles and info blocks) */
.about-intro-content p,
.process-pipeline-card p,
.testimonial-card p,
.hero-desc,
.service-detail-content p,
.about-content p,
.blog-card-excerpt,
.blog-content p {
    text-align: left !important;
}

/* ==========================================================================
   UNIVERSAL BUTTON COLOR RULE:
   DEFAULT: Yellow Background (#facc15), Navy Blue Text (#0a192f)
   HOVER: Navy Blue Background (#0a192f), Yellow Text (#facc15)
   ========================================================================== */
.btn,
.btn-primary,
.btn-accent,
.btn-outline,
.btn-outline-white,
.btn-secondary,
.cta-btn,
.cta-banner-btn,
.submit-btn,
.form-submit-btn,
button[type="submit"],
.filter-btn,
.nav-cta .btn,
.drawer-cta .btn,
.hero-btns .btn,
.contact-form-panel button,
.widget button {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #0a192f !important;
    border: 2px solid #facc15 !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn i,
.btn-primary i,
.btn-accent i,
.btn-outline i,
.btn-outline-white i,
.btn-secondary i,
.cta-btn i,
.cta-banner-btn i,
.submit-btn i,
.form-submit-btn i,
button[type="submit"] i,
.filter-btn i,
.nav-cta .btn i,
.drawer-cta .btn i,
.hero-btns .btn i,
.contact-form-panel button i,
.widget button i {
    color: #0a192f !important;
    transition: color 0.3s ease !important;
}

.btn:hover,
.btn-primary:hover,
.btn-accent:hover,
.btn-outline:hover,
.btn-outline-white:hover,
.btn-secondary:hover,
.cta-btn:hover,
.cta-banner-btn:hover,
.submit-btn:hover,
.form-submit-btn:hover,
button[type="submit"]:hover,
.filter-btn:hover,
.filter-btn.active,
.nav-cta .btn:hover,
.drawer-cta .btn:hover,
.hero-btns .btn:hover,
.contact-form-panel button:hover,
.widget button:hover {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
}

.btn:hover i,
.btn-primary:hover i,
.btn-accent:hover i,
.btn-outline:hover i,
.btn-outline-white:hover i,
.btn-secondary:hover i,
.cta-btn:hover i,
.cta-banner-btn:hover i,
.submit-btn:hover i,
.form-submit-btn:hover i,
button[type="submit"]:hover i,
.filter-btn:hover i,
.filter-btn.active i,
.nav-cta .btn:hover i,
.drawer-cta .btn:hover i,
.hero-btns .btn:hover i,
.contact-form-panel button:hover i,
.widget button:hover i {
    color: #facc15 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ALIGNMENT OVERRIDES (ALL PAGES)
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-grid,
    .about-grid,
    .contact-grid,
    .founder-card-grid,
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .process-grid,
    .stats-grid,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .hero-title,
    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }

    .hero-desc,
    .section-desc,
    p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .hero-btns .btn,
    .cta-banner-btn,
    .btn {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Point Bullet Lists on Mobile */
    ul li i.fa-circle-dot,
    ol li i.fa-circle-dot {
        font-size: 0.75rem !important;
        vertical-align: middle !important;
    }
}

/* ==========================================================================
   MASTER GLOBAL STYLING ENFORCER:
   1. Website Background: Deep Navy Blue (#0a192f / #0d1e36 / #172a45) across all sections & cards
   2. Body Text: Pure White (#ffffff / #cbd5e1)
   3. Headings & Icons: Golden / Yellow (#facc15 / #D99A2B)
   4. Buttons: Default Yellow background (#facc15) + Navy text (#0a192f)
               Hover Navy background (#0a192f) + Yellow text (#facc15)
   5. Top Bar Exception: White background (#ffffff) + Black text (#000000) + Golden icons (#D99A2B)
   6. Main Navbar Exception: Black background (#000000) + White menu links (#ffffff) + Yellow hover (#facc15)
   ========================================================================== */

/* 1. Global Page & Section Backgrounds (Navy Blue) */
body,
section,
.section,
.section-bg-light,
.section-bg-dark,
.hero,
.about-hero-overlay,
.services-hero-overlay,
.feature-card,
.service-card,
.testimonial-card,
.contact-info-card,
.contact-form-panel,
.timeline-content,
.widget,
.about-image-wrapper,
.about-intro-image-frame,
.hero-image-frame,
.hero-image-inner,
.hero-badge,
.process-pipeline-card,
.industry-card,
.blog-card,
.gallery-item,
.contact-card,
.contact-info-panel,
.founder-card-grid,
.footer-v2 {
    background-color: #0a192f !important;
    color: #ffffff !important;
}

/* Alternate Section & Card Deep Navy background for visual depth */
.section-bg-light,
.feature-card,
.service-card,
.testimonial-card,
.contact-info-card,
.contact-form-panel,
.process-pipeline-card,
.industry-card,
.blog-card,
.contact-card,
.hero-badge {
    background-color: #0d1e36 !important;
    border-color: #1e293b !important;
}

/* 2. Body Text Color: White & Slate Light */
p,
span,
li,
td,
th,
div,
.section-desc,
.hero-desc,
.about-intro-content p,
.service-card-desc,
.feature-desc,
.process-pipeline-card p,
.testimonial-card p,
.service-detail-content p,
.about-content p,
.blog-card-excerpt,
.blog-content p,
.hero-tagline {
    color: #ffffff;
}

.section-desc,
.hero-desc,
.service-card-desc,
.feature-desc,
.process-pipeline-card p,
.service-detail-content p,
.about-content p,
.blog-card-excerpt {
    color: #cbd5e1 !important;
}

/* 3. Golden Headings & Golden Icons */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.footer-col-title,
.footer-title,
.card-title,
.service-card-title,
.feature-title,
.process-pipeline-card h4,
.about-hero-overlay h1,
.services-hero-overlay h1,
.contact-info-card h4,
.contact-form-panel h3,
.widget-title {
    color: #facc15 !important;
}

i,
.feature-icon-box i,
.industry-icon i,
.process-icon-circle i,
.contact-icon i,
.section-subtitle i,
.top-info-item i,
.hero-tagline i,
i.fa-circle-dot,
i.fa-solid,
i.fa-brands,
.service-card .feature-icon-box i,
.contact-info-item i {
    color: #D99A2B !important;
}

/* 4. Universal Buttons Rule: Default Yellow background (#facc15) + Black text (#000000) */
.btn,
.btn-primary,
.btn-accent,
.btn-outline,
.btn-outline-white,
.btn-secondary,
.cta-btn,
.cta-banner-btn,
.submit-btn,
.form-submit-btn,
button[type="submit"],
.filter-btn,
.nav-cta .btn,
.drawer-cta .btn,
.hero-btns .btn,
.contact-form-panel button[type="submit"],
.widget button,
a.btn {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #000000 !important;
    border: 2px solid #facc15 !important;
    font-weight: 700 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn i,
.btn span,
.btn-primary i,
.btn-accent i,
.btn-outline i,
.btn-outline-white i,
.btn-secondary i,
.cta-btn i,
.cta-banner-btn i,
.submit-btn i,
.form-submit-btn i,
button[type="submit"] i,
.filter-btn i,
.nav-cta .btn i,
.drawer-cta .btn i,
.hero-btns .btn i,
.contact-form-panel button[type="submit"] i,
.widget button i,
a.btn i {
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    transition: color 0.25s ease !important;
}

.btn:hover,
.btn-primary:hover,
.btn-accent:hover,
.btn-outline:hover,
.btn-outline-white:hover,
.btn-secondary:hover,
.cta-btn:hover,
.cta-banner-btn:hover,
.submit-btn:hover,
.form-submit-btn:hover,
button[type="submit"]:hover,
.filter-btn:hover,
.filter-btn.active,
.nav-cta .btn:hover,
.drawer-cta .btn:hover,
.hero-btns .btn:hover,
.contact-form-panel button[type="submit"]:hover,
.widget button:hover,
a.btn:hover {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.35) !important;
}

.btn:hover i,
.btn-primary:hover i,
.btn-accent:hover i,
.btn-outline:hover i,
.btn-outline-white:hover i,
.btn-secondary:hover i,
.cta-btn:hover i,
.cta-banner-btn:hover i,
.submit-btn:hover i,
.form-submit-btn:hover i,
button[type="submit"]:hover i,
.filter-btn:hover i,
.filter-btn.active i,
.nav-cta .btn:hover i,
.drawer-cta .btn:hover i,
.hero-btns .btn:hover i,
.contact-form-panel button[type="submit"]:hover i,
.widget button:hover i,
a.btn:hover i {
    background: transparent !important;
    background-color: transparent !important;
    color: #facc15 !important;
}

/* 5. Top Header Info Bar Exception */
.top-header-bar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.top-header-item,
.top-header-item a,
.top-header-phone,
.top-header-email,
.top-header-address,
.top-header-bar div,
.top-header-bar span {
    color: #000000 !important;
}

.top-header-item i,
.top-header-bar i {
    color: #D99A2B !important;
}

.top-header-item a:hover {
    color: #1e3a8a !important;
}

/* 6. Main Navigation Header Exception */
.navbar,
.navbar.sticky {
    padding: 4px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    background-color: #0a192f !important;
    background: #0a192f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.nav-link,
.nav-menu a,
.nav-menu li a,
.mobile-nav-link,
[data-theme="dark"] .nav-link,
[data-theme="light"] .nav-link {
    color: #ffffff !important;
    opacity: 1 !important;
}

.nav-link:hover,
.nav-link.active,
.nav-menu a:hover,
.nav-menu a.active,
.mobile-nav-link:hover,
.mobile-nav-link.active,
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active,
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #facc15 !important;
}

.nav-link::after,
.nav-menu a::after {
    background: #facc15 !important;
}

/* 7. Logo & Mobile Toggle Enforcers (Navy Blue #0a192f & Slightly Increased Logo Size) */
.navbar .container {
    height: 108px !important;
}

.navbar.sticky .container {
    height: 88px !important;
}

.logo img {
    height: 88px !important;
    max-height: 92px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
    transition: all 0.3s ease !important;
}

.navbar.sticky .logo img {
    height: 72px !important;
    max-height: 76px !important;
}

.mobile-menu-toggle,
.mobile-toggle,
#mobileMenuToggle,
.mobile-menu-toggle i,
.mobile-toggle i {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .navbar .container {
        height: 86px !important;
    }
    .logo img {
        height: 66px !important;
        max-height: 70px !important;
    }
}

/* ==========================================================================
   PILL, BADGE, CHIP, TICKER & TAGLINE WHITE TEXT ENFORCER:
   Ensures all pill tags, badges, chips, tickers, and hero taglines use white text on dark blue
   ========================================================================== */
.home-hero-pill,
.home-hero-pill span,
.hero-tagline,
.hero-tagline span,
.seo-tag-pill,
.seo-tag-pill span,
.coverage-chip,
.coverage-chip span,
.ticker-item,
.ticker-item span,
.section-subtitle,
.badge,
.chip,
.tag {
    color: #ffffff !important;
}

.home-hero-pill,
.seo-tag-pill,
.ticker-item,
.hero-tagline {
    background-color: #0d1e36 !important;
    border: 1px solid #D99A2B !important;
}

.home-hero-pill i,
.hero-tagline i,
.seo-tag-pill i,
.ticker-item i {
    color: #D99A2B !important;
}

/* ==========================================================================
   STRICT NO-BLACK FONT & NO-BLACK SECTION BACKGROUND ENFORCER
   - Main Navigation Header ONLY is Black (#000000)
   - Top Header Bar is White (#ffffff)
   - All section backgrounds outside navbar: Deep Navy Blue (#0a192f / #0d1e36)
   - ALL font/text colors outside buttons/navbar: Pure White (#ffffff !important) or Golden (#facc15 !important)
   ========================================================================== */

/* 1. Global Section Backgrounds (Navy Blue) */
body,
section,
.section,
.section-bg-light,
.section-bg-dark,
.hero,
.about-hero-overlay,
.services-hero-overlay,
.feature-card,
.service-card,
.testimonial-card,
.contact-info-card,
.contact-form-panel,
.timeline-content,
.widget,
.process-pipeline-card,
.industry-card,
.blog-card,
.gallery-item,
.contact-card,
.contact-info-panel,
.founder-card-grid,
.footer-v2 {
    background-color: #0a192f !important;
}

.section-bg-light,
.feature-card,
.service-card,
.testimonial-card,
.contact-info-card,
.contact-form-panel,
.process-pipeline-card,
.industry-card,
.blog-card,
.contact-card,
.hero-badge,
.ticker-item,
.home-hero-pill {
    background-color: #0d1e36 !important;
    border-color: #1e293b !important;
}

/* 2. All Headings Golden Color */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.footer-col-title,
.footer-title,
.card-title,
.service-card-title,
.feature-title,
.process-pipeline-card h4,
.about-hero-overlay h1,
.services-hero-overlay h1,
.contact-info-card h4,
.contact-form-panel h3,
.widget-title {
    color: #facc15 !important;
}

/* 3. All Paragraph & Body Text Pure White / Soft Slate Light */
p, span, li, a:not(.nav-link):not(.btn):not(.top-header-item a), div, label, td, th {
    color: #ffffff !important;
}

.section-desc,
.hero-desc,
.service-card-desc,
.feature-desc,
.process-pipeline-card p,
.service-detail-content p,
.about-content p,
.blog-card-excerpt {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   REMOVE TOP HEADER INFO BAR COMPLETELY
   ========================================================================== */
.top-header-bar,
.header-top,
.top-header-content {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* ==========================================================================
   FINAL OVERRIDE: BUTTON TEXT & STEP TAG CLARITY
   ========================================================================== */
.process-step-tag,
.process-step-tag *,
.step-tag,
.step-tag *,
.step-badge,
.step-badge * {
    color: #000000 !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS ENFORCER (WHATSAPP, CALL, SCROLL UP, SCROLL DOWN)
   ========================================================================== */
.float-action-btn {
    position: fixed !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* WhatsApp: Green background with pure white icon */
a.float-action-btn.float-whatsapp,
.float-whatsapp,
.float-whatsapp *,
.float-whatsapp i {
    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 1.7rem !important;
}
a.float-action-btn.float-whatsapp:hover,
a.float-action-btn.float-whatsapp:hover * {
    background-color: #20ba5a !important;
    background: #20ba5a !important;
    color: #ffffff !important;
}

/* Call: Vibrant Yellow background with black icon */
a.float-action-btn.float-call,
.float-call,
.float-call *,
.float-call i {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #000000 !important;
    font-size: 1.3rem !important;
}
a.float-action-btn.float-call:hover,
a.float-action-btn.float-call:hover * {
    background-color: #eab308 !important;
    background: #eab308 !important;
    color: #000000 !important;
}

/* Scroll Up: Vibrant Yellow background with black chevron */
button.float-action-btn.float-scroll-up,
.float-scroll-up,
.float-scroll-up *,
.float-scroll-up i {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #000000 !important;
    font-size: 1.2rem !important;
    border: 2px solid #facc15 !important;
}
button.float-action-btn.float-scroll-up:hover,
button.float-action-btn.float-scroll-up:hover * {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
}

/* Scroll Down: Vibrant Yellow background with black chevron */
button.float-action-btn.float-scroll-down,
.float-scroll-down,
.float-scroll-down *,
.float-scroll-down i {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #000000 !important;
    font-size: 1.2rem !important;
    border: 2px solid #facc15 !important;
}
button.float-action-btn.float-scroll-down:hover,
button.float-action-btn.float-scroll-down:hover * {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE (< 768px) & TABLET (768px - 1024px) RESPONSIVENESS ENFORCER
   ========================================================================== */

/* 1. TABLET DEVICES (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 24px !important;
        max-width: 100% !important;
    }
    
    h1, .hero-title, .home-hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }
    
    h2, .section-title {
        font-size: 1.8rem !important;
        line-height: 1.35 !important;
    }
    
    .services-grid,
    .features-grid,
    .industries-grid,
    .process-pipeline-grid,
    .contact-grid,
    .about-intro-grid,
    .founder-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .footer-v2-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

/* 2. MOBILE DEVICES (< 768px) & SMALL SMARTPHONES (< 480px) */
@media (max-width: 767px) {
    html, body {
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .section {
        padding: 45px 0 !important;
    }
    
    .home-hero-redesign {
        min-height: 60vh !important;
        padding: 55px 0 40px 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    h1, .hero-title, .home-hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    h2, .section-title {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }
    
    h3, .card-title, .service-card-title, .feature-title {
        font-size: 1.2rem !important;
    }
    
    .hero-desc, .section-desc, p {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }
    
    /* 1-Column Responsive Stacking for All Grids */
    .services-grid,
    .features-grid,
    .industries-grid,
    .process-pipeline-grid,
    .contact-grid,
    .about-intro-grid,
    .founder-card-grid,
    .footer-v2-grid,
    .gallery-grid,
    .about-highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* Button Mobile Sizing & Alignment */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-accent,
    .btn-outline,
    .cta-btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        max-width: 100% !important;
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero-btns,
    .home-hero-btns,
    .cta-banner-btn {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    
    /* Floating Action Buttons Mobile Size & Position */
    .float-action-btn {
        width: 44px !important;
        height: 44px !important;
    }
    
    a.float-action-btn.float-whatsapp {
        left: 12px !important;
        bottom: 14px !important;
        font-size: 1.4rem !important;
    }
    
    a.float-action-btn.float-call {
        right: 12px !important;
        bottom: 14px !important;
        font-size: 1.1rem !important;
    }
    
    button.float-action-btn.float-scroll-up {
        right: 12px !important;
        bottom: 64px !important;
        font-size: 0.9rem !important;
    }
    
    button.float-action-btn.float-scroll-down {
        right: 12px !important;
        bottom: 114px !important;
        font-size: 0.9rem !important;
    }
    
    /* Images Responsive Fit */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .about-intro-image-frame,
    .hero-image-frame {
        max-height: 260px !important;
    }
}

/* ==========================================================================
   UNIVERSAL ICON BOX HOVER ENFORCER (100% CONTRAST & VISIBILITY ON HOVER)
   Fixes gold-on-yellow contrast issue on all card icon boxes
   ========================================================================== */

/* 1. Default State for All Card Icon Containers */
.feature-icon-box,
.service-icon,
.industry-icon,
.process-icon-circle,
.contact-icon,
.stat-icon-box,
.about-intro-icon {
    background-color: rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.feature-icon-box i,
.service-icon i,
.industry-icon i,
.process-icon-circle i,
.contact-icon i,
.stat-icon-box i,
.about-intro-icon i {
    color: #facc15 !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
}

/* 2. Hover State: Bright Yellow Background + Sharp Deep Navy (#0a192f) Icon */
.feature-card:hover .feature-icon-box,
.service-card:hover .service-icon,
.service-card:hover .feature-icon-box,
.industry-card:hover .industry-icon,
.process-pipeline-card:hover .process-icon-circle,
.contact-info-card:hover .contact-icon,
.stat-card:hover .stat-icon-box,
.about-intro-card:hover .about-intro-icon {
    background-color: #facc15 !important;
    background: #facc15 !important;
    border-color: #facc15 !important;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.45) !important;
    transform: translateY(-3px) scale(1.06) !important;
}

.feature-card:hover .feature-icon-box i,
.service-card:hover .service-icon i,
.service-card:hover .feature-icon-box i,
.industry-card:hover .industry-icon i,
.process-pipeline-card:hover .process-icon-circle i,
.contact-info-card:hover .contact-icon i,
.stat-card:hover .stat-icon-box i,
.about-intro-card:hover .about-intro-icon i {
    color: #0a192f !important;
    transform: scale(1.1) !important;
}
.gallery-filter-menu { display: none !important; }

/* ==========================================================================
   CARDS CENTER ALIGNMENT ENFORCER (Service Cards, Feature Cards, Contact Cards)
   Ensures icons, titles, descriptions, and buttons are perfectly centered
   ========================================================================== */
.service-card,
.service-card-body,
.feature-card,
.contact-info-card,
.contact-card,
.industry-card {
    text-align: center !important;
}

.service-card .feature-icon-box,
.service-icon,
.feature-icon-box,
.contact-icon,
.industry-icon {
    margin-left: auto !important;
    margin-right: auto !important;
}

.service-card-title,
.service-card-desc,
.feature-title,
.feature-desc,
.contact-info-card h4,
.contact-info-card p,
.industry-title,
.industry-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.service-card-footer,
.service-card-link {
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ==========================================================================
   CTA BANNERS & DARK SECTION CENTER ALIGNMENT ENFORCER (v51)
   Guarantees perfect center alignment across all CTA banners, headings,
   subheadings, paragraphs, and action button groups.
   ========================================================================== */
.section-bg-dark,
.section-bg-dark .container,
.section-bg-dark .reveal,
.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark p,
.section-bg-dark span,
.cta-banner,
.cta-banner-content,
.cta-banner h2,
.cta-banner p,
.cta-banner-content h2,
.cta-banner-content p,
.cta-banner-btn,
section.section-bg-dark,
section.section-bg-dark h2,
section.section-bg-dark p,
.section-header,
.section-header h2,
.section-header p,
.section-header .section-desc {
    text-align: center !important;
}

.section-bg-dark p,
.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.cta-banner p,
.cta-banner h2,
.cta-banner-content,
.cta-banner-content p,
.section-header p,
.section-header .section-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.section-bg-dark .container > div,
.section-bg-dark .reveal > div,
.cta-banner-btn {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ==========================================================================
   CONTACT CARDS UNIVERSAL CENTER ALIGNMENT ENFORCER (Desktop & Mobile)
   Guarantees icons, titles, and contact text are strictly centered
   ========================================================================== */
.contact-info-panel {
    text-align: center !important;
    align-items: center !important;
}

.contact-info-panel .section-subtitle {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
    text-align: center !important;
}

.contact-info-panel > p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.contact-info-card,
.contact-card,
.contact-info-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 26px 20px !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-icon {
    margin: 0 auto 6px auto !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.contact-info-details {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-info-details h4,
.contact-info-card h4 {
    text-align: center !important;
    margin: 0 auto 8px auto !important;
    width: 100% !important;
    color: #facc15 !important;
}

.contact-info-details p,
.contact-info-card p,
.contact-info-details a,
.contact-info-card a {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    display: block !important;
}

/* ==========================================================================
   CUSTOM HERO BACKGROUNDS WITH SOFT OPACITY COLOR OVERLAY (TEXT & IMAGE CLEAR)
   ========================================================================== */
.hero-customs-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-customs.jpg?v=20260912_v55') no-repeat center center / cover !important;
}
.hero-ucc-cargo-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-ucc-cargo.jpg?v=20260912_v55') no-repeat center center / cover !important;
}
.hero-used-machinery-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-used-machinery.jpg?v=20260912_v55') no-repeat center center / cover !important;
}
.hero-dredgers-vessel-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-dredgers-vessel.jpg?v=20260912_v55') no-repeat center center / cover !important;
}
.hero-installation-nexus-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-installation-nexus.jpg?v=20260912_v55') no-repeat center center / cover !important;
}

@media (max-width: 768px) {
    .hero-customs-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-customs.jpg?v=20260912_v55') no-repeat center center / cover !important;
    }
    .hero-ucc-cargo-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-ucc-cargo.jpg?v=20260912_v55') no-repeat center center / cover !important;
    }
    .hero-used-machinery-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-used-machinery.jpg?v=20260912_v55') no-repeat center center / cover !important;
    }
    .hero-dredgers-vessel-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-dredgers-vessel.jpg?v=20260912_v55') no-repeat center center / cover !important;
    }
    .hero-installation-nexus-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-installation-nexus.jpg?v=20260912_v55') no-repeat center center / cover !important;
    }
}

/* ==========================================================================
   BATCH 2: CUSTOM HERO BACKGROUNDS WITH BALANCED OPACITY OVERLAY
   ========================================================================== */
.hero-sez-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-sez.jpg?v=20260912_v56') no-repeat center center / cover !important;
}
.hero-damage-survey-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-damage-survey.jpg?v=20260912_v56') no-repeat center center / cover !important;
}
.hero-epcg-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-epcg.jpg?v=20260912_v56') no-repeat center center / cover !important;
}
.hero-empty-container-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-empty-container.jpg?v=20260912_v56') no-repeat center center / cover !important;
}
.hero-factory-stability-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-factory-stability.jpg?v=20260912_v56') no-repeat center center / cover !important;
}

@media (max-width: 768px) {
    .hero-sez-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-sez.jpg?v=20260912_v56') no-repeat center center / cover !important;
    }
    .hero-damage-survey-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-damage-survey.jpg?v=20260912_v56') no-repeat center center / cover !important;
    }
    .hero-epcg-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-epcg.jpg?v=20260912_v56') no-repeat center center / cover !important;
    }
    .hero-empty-container-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-empty-container.jpg?v=20260912_v56') no-repeat center center / cover !important;
    }
    .hero-factory-stability-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-factory-stability.jpg?v=20260912_v56') no-repeat center center / cover !important;
    }
}

/* ==========================================================================
   BATCH 3: CUSTOM HERO BACKGROUNDS WITH BALANCED OPACITY OVERLAY
   ========================================================================== */
.hero-metal-scrap-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-metal-scrap.jpg?v=20260912_v57') no-repeat center center / cover !important;
}
.hero-pan-certification-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-pan-certification.png?v=20260912_v57') no-repeat center center / cover !important;
}
.hero-insurance-survey-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-insurance-survey.jpg?v=20260912_v57') no-repeat center center / cover !important;
}
.hero-functionality-bg {
    background: linear-gradient(135deg, rgba(6, 17, 36, 0.45) 0%, rgba(10, 25, 47, 0.52) 100%), url('hero-functionality.jpg?v=20260912_v57') no-repeat center center / cover !important;
}

@media (max-width: 768px) {
    .hero-metal-scrap-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-metal-scrap.jpg?v=20260912_v57') no-repeat center center / cover !important;
    }
    .hero-pan-certification-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-pan-certification.png?v=20260912_v57') no-repeat center center / cover !important;
    }
    .hero-insurance-survey-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-insurance-survey.jpg?v=20260912_v57') no-repeat center center / cover !important;
    }
    .hero-functionality-bg {
        background: linear-gradient(180deg, rgba(6, 17, 36, 0.55) 0%, rgba(10, 25, 47, 0.62) 100%), url('hero-functionality.jpg?v=20260912_v57') no-repeat center center / cover !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS ENHANCEMENTS (CROSS-DEVICE COMPATIBILITY)
   ========================================================================== */

/* 1. Global Box Sizing & Anti-Overflow Protection */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* 2. Responsive Tables, Iframes & Media */
table {
    width: 100% !important;
    max-width: 100%;
}

iframe, embed, object {
    max-width: 100% !important;
}

/* 3. Small Smartphones (< 480px) Deep Polish */
@media (max-width: 480px) {
    .container {
        padding: 0 14px !important;
    }
    
    /* Navbar logo sizing */
    .navbar .logo img {
        height: 64px !important;
        max-height: 68px !important;
        width: auto !important;
    }
    
    /* Hero titles on small phones */
    h1, .hero-title, .home-hero-title, .services-hero-overlay h1 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
    }
    
    h2, .section-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }
    
    .section-subtitle {
        font-size: 0.78rem !important;
        padding: 4px 10px !important;
    }
    
    .hero-desc, .section-desc, p {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }
    
    /* Hero Action Buttons */
    .services-hero-overlay .btn,
    .home-hero-btns .btn {
        width: 100% !important;
        margin-bottom: 8px !important;
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
    }
    
    /* Gallery grid for small phones */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Float buttons adjustments for small screens to prevent overlap */
    .float-action-btn {
        width: 40px !important;
        height: 40px !important;
    }
    a.float-action-btn.float-whatsapp {
        left: 10px !important;
        bottom: 12px !important;
        font-size: 1.25rem !important;
    }
    a.float-action-btn.float-call {
        right: 10px !important;
        bottom: 12px !important;
        font-size: 1rem !important;
    }
    button.float-action-btn.float-scroll-up {
        right: 10px !important;
        bottom: 58px !important;
        font-size: 0.85rem !important;
    }
    button.float-action-btn.float-scroll-down {
        right: 10px !important;
        bottom: 104px !important;
        font-size: 0.85rem !important;
    }
}

/* 4. Tablets in Portrait & Landscape (481px to 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    .navbar .logo img {
        height: 76px !important;
        max-height: 80px !important;
    }
    
    /* Gallery 2-Column Grid on Tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    /* Service & Feature Cards 2-Column on Tablet */
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
    
    /* CTA Banners */
    .cta-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 32px 24px !important;
    }
    .cta-banner-btn {
        margin-top: 18px !important;
    }
}

/* ==========================================================================
   PERFECT CONTACT PAGE REDESIGN & BALANCED 2x2 GRID LAYOUT
   ========================================================================== */

/* Equal-Height Balanced 2-Column Desktop Grid */
.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.08fr !important;
    gap: 36px !important;
    align-items: stretch !important;
}

/* Left Contact Info Panel - Fully Balanced Container */
.contact-info-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    background-color: #0a192f !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 36px 30px !important;
    box-shadow: var(--shadow-lg) !important;
    box-sizing: border-box !important;
}

.contact-info-header {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.contact-info-header .section-subtitle {
    margin-bottom: 8px !important;
}

.contact-info-header .section-title {
    margin-bottom: 12px !important;
}

.contact-info-header p {
    font-size: 0.94rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.55 !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

/* 2x2 Grid for the 4 Contact Info Cards */
.contact-cards-2x2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    flex-grow: 1 !important;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(250, 204, 21, 0.2) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.contact-info-card:hover {
    border-color: #facc15 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.25) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.contact-info-card .contact-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 12px auto !important;
    background: rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-info-card .contact-icon i {
    font-size: 1.25rem !important;
    color: #facc15 !important;
}

.contact-info-card h4 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #facc15 !important;
    margin: 0 0 6px 0 !important;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    color: #ffffff !important;
    margin: 0 !important;
    word-break: break-word !important;
}

/* Right Side: Form Panel Matching Height */
.contact-form-panel {
    background-color: #0a192f !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 36px 32px !important;
    box-shadow: var(--shadow-lg) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.contact-form-panel .form-title {
    font-size: 1.6rem !important;
    color: #facc15 !important;
    margin-bottom: 6px !important;
    text-align: center !important;
}

.contact-form-panel .form-subtitle {
    font-size: 0.92rem !important;
    color: var(--color-text-muted) !important;
    margin-bottom: 22px !important;
    text-align: center !important;
}

.contact-form-panel form {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.contact-form-panel .form-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin: 0 !important;
}

.contact-form-panel .form-group {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.contact-form-panel .form-label {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #facc15 !important;
    margin-bottom: 6px !important;
}

.contact-form-panel .form-input,
.contact-form-panel select,
.contact-form-panel textarea {
    padding: 11px 14px !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.contact-form-panel select option {
    background-color: #0a192f !important;
    color: #ffffff !important;
}

.contact-form-panel textarea {
    min-height: 85px !important;
    resize: vertical !important;
}

.contact-form-panel button[type="submit"] {
    width: 100% !important;
    height: 52px !important;
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #000000 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: 2px solid #facc15 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.35) !important;
    margin-top: 6px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.contact-form-panel button[type="submit"] i {
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
}

.contact-form-panel button[type="submit"]:hover {
    background: #0a192f !important;
    background-color: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.45) !important;
}

.contact-form-panel button[type="submit"]:hover i {
    background: transparent !important;
    background-color: transparent !important;
    color: #facc15 !important;
    transform: translateX(4px) !important;
}

/* 4. Contact Page Grid & Left Info Panel */
.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.08fr !important;
    gap: 36px !important;
    align-items: stretch !important;
}

.contact-info-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.contact-cards-2x2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

.contact-info-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 22px 20px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.contact-info-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(250, 204, 21, 0.35) !important;
}

/* 5. Responsive Breakpoints */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .contact-form-panel {
        padding: 30px 24px !important;
    }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .contact-form-panel {
        padding: 22px 16px !important;
        border-radius: 12px !important;
    }

    .contact-form-panel .form-title {
        font-size: 1.35rem !important;
    }

    .contact-form-panel .form-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 18px !important;
    }

    .contact-form-panel .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .contact-cards-2x2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Floating Action Buttons Mobile Optimization */
    .float-scroll-down {
        display: none !important; /* Hide redundant scroll down on mobile to clear screen */
    }

    .float-action-btn {
        width: 46px !important;
        height: 46px !important;
        z-index: 99999 !important;
    }

    a.float-action-btn.float-whatsapp {
        left: 14px !important;
        bottom: 16px !important;
        font-size: 1.5rem !important;
    }

    a.float-action-btn.float-call {
        right: 14px !important;
        bottom: 16px !important;
        font-size: 1.15rem !important;
    }

    button.float-action-btn.float-scroll-up {
        right: 14px !important;
        bottom: 70px !important;
        font-size: 0.95rem !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* Small Smartphone (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .contact-form-panel {
        padding: 20px 14px !important;
    }

    .captcha-box {
        padding: 10px !important;
        gap: 8px !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .captcha-question-wrap {
        height: 40px !important;
        padding: 0 10px !important;
        width: auto !important;
    }

    .captcha-math-text {
        font-size: 1rem !important;
    }

    .captcha-input {
        height: 40px !important;
        font-size: 16px !important;
        min-width: 70px !important;
        max-width: 110px !important;
        width: auto !important;
    }

    button.captcha-refresh-btn,
    .captcha-refresh-btn {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
    }

    .contact-form-panel button[type="submit"] {
        height: 48px !important;
        font-size: 0.98rem !important;
    }
}

/* Global sanitize: Ensure no paragraph ever renders as an uppercase pill badge */
p.section-subtitle,
p.section-desc,
.section-subtitle-text {
    text-transform: none !important;
    letter-spacing: normal !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
}

/* ==============================================================================
   Blog Authoritative Regulatory References Card (SEO & E-E-A-T Compliant)
   ============================================================================== */
.blog-regulatory-references {
    margin-top: 40px;
    margin-bottom: 32px;
    padding: 24px 28px;
    background: rgba(13, 30, 54, 0.7);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-left: 4px solid var(--color-accent, #facc15);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.blog-regulatory-references h3 {
    color: var(--color-accent, #facc15) !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-regulatory-references p.ref-intro {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.blog-regulatory-references ul.ref-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog-regulatory-references ul.ref-list li {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.blog-regulatory-references ul.ref-list li i {
    color: var(--color-accent, #facc15);
    margin-top: 4px;
    flex-shrink: 0;
}
.blog-regulatory-references ul.ref-list li a {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 500;
    word-break: break-all;
    transition: color 0.2s ease;
}
.blog-regulatory-references ul.ref-list li a:hover {
    color: var(--color-accent, #facc15);
}


/* ==============================================================================
   Blog Dual-Sidebar Navigation Architecture (Outer & Inner Blog Layouts)
   ============================================================================== */

/* Outer Blog Archive Sticky Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.blog-layout .sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-layout .sidebar::-webkit-scrollbar,
.blog-sidebar-left::-webkit-scrollbar,
.blog-sidebar-right::-webkit-scrollbar {
    width: 5px;
}

.blog-layout .sidebar::-webkit-scrollbar-thumb,
.blog-sidebar-left::-webkit-scrollbar-thumb,
.blog-sidebar-right::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.4);
    border-radius: 4px;
}

/* Inner Single Blog 3-Column Layout */
.blog-inner-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-inner-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 36px;
    align-items: start;
}

/* Left Sidebar: Fixed / Sticky */
.blog-sidebar-left {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Right Sidebar: Fixed / Sticky */
.blog-sidebar-right {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Center Main Content */
.blog-main-content {
    min-width: 0;
    width: 100%;
}

/* Left Sidebar Authority / Promo Card (Ref Image Inspired) */
.blog-promo-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.85));
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.blog-promo-badge {
    display: inline-block;
    background: #facc15;
    color: #0a192f;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.blog-promo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-promo-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-promo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.blog-promo-list li {
    font-size: 0.82rem;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-promo-list li i {
    color: #facc15;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.blog-promo-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #facc15;
    color: #0a192f !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.25);
}

.blog-promo-btn:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(250, 204, 21, 0.4);
}

.blog-promo-contact {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.blog-promo-contact a {
    color: #facc15;
    text-decoration: underline;
    font-weight: 600;
}

/* Sidebar Widget Cards */
.blog-nav-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.blog-nav-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #facc15;
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(250, 204, 21, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-nav-card-title i {
    color: #facc15;
    font-size: 0.95rem;
}

/* "Our Services" List (Ref Image Style) */
.nav-services-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nav-services-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-services-menu li:last-child {
    border-bottom: none;
}

.nav-services-menu a {
    display: flex;
    align-items: center;
    padding: 9px 4px;
    color: #e2e8f0;
    font-size: 0.85rem;
    line-height: 1.35;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 10px;
}

.nav-services-menu a i {
    color: #facc15;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-services-menu a:hover {
    color: #facc15;
    padding-left: 8px;
}

.nav-services-menu a:hover i {
    transform: translateX(3px);
}

/* Regional Locations Menu */
.nav-locations-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-locations-menu li a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 10px;
}

.nav-locations-menu li a i {
    color: #facc15;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-locations-menu li a:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.35);
    color: #facc15;
    transform: translateX(3px);
}

/* Technical Articles Menu */
.nav-articles-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nav-articles-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-articles-menu li:last-child {
    border-bottom: none;
}

.nav-articles-menu a {
    display: block;
    padding: 9px 4px;
    color: #cbd5e1;
    font-size: 0.84rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-articles-menu a:hover {
    color: #facc15;
    padding-left: 6px;
}

.nav-articles-menu a.active {
    color: #facc15;
    font-weight: 700;
    border-left: 3px solid #facc15;
    padding-left: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .blog-inner-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
    .blog-sidebar-left {
        display: none;
    }
}

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-inner-layout {
        grid-template-columns: 1fr;
    }
    .blog-layout .sidebar,
    .blog-sidebar-left,
    .blog-sidebar-right {
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-top: 36px;
        padding-right: 0;
    }
}


/* ==============================================================================
   Fixed Sidebars Enforcement: Only Center Blog Scrolls
   ============================================================================== */
html, body {
    overflow-x: clip !important;
}

.section, 
.container, 
.blog-inner-container, 
.blog-inner-layout, 
.blog-layout {
    overflow: visible !important;
    contain: none !important;
}

.blog-inner-layout {
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) 310px !important;
    gap: 36px !important;
    align-items: start !important;
}

.blog-sidebar-left {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 115px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
    padding-right: 6px !important;
    z-index: 10 !important;
}

.blog-sidebar-right {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 115px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
    padding-right: 6px !important;
    z-index: 10 !important;
}

.blog-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 40px !important;
    align-items: start !important;
}

.blog-layout .sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 115px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
    padding-right: 6px !important;
    z-index: 10 !important;
}

@media (max-width: 1200px) {
    .blog-inner-layout {
        grid-template-columns: minmax(0, 1fr) 310px !important;
    }
    .blog-sidebar-left {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr !important;
    }
    .blog-inner-layout {
        grid-template-columns: 1fr !important;
    }
    .blog-layout .sidebar,
    .blog-sidebar-left,
    .blog-sidebar-right {
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 36px !important;
        padding-right: 0 !important;
    }
}



/* ==============================================================================
   Mobile Optimization Suite for Blog & Inner Articles (Touch, Speed, UX)
   ============================================================================== */

/* Responsive Table Wrapper */
.comparison-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 24px 0 !important;
    border-radius: 8px !important;
    border: 1px solid var(--color-border, #1e293b) !important;
}

.comparison-table {
    width: 100% !important;
    min-width: 580px !important;
    border-collapse: collapse !important;
}

.comparison-table th, 
.comparison-table td {
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
}

/* Tablet & Mobile Layout Flow (<= 991px) */
@media (max-width: 991px) {
    .blog-inner-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    /* 1. Article loads FIRST so mobile users read immediately without scrolling through menus */
    .blog-main-content {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* 2. Technical Articles & Regional Hubs follow the article */
    .blog-sidebar-left {
        order: 2 !important;
        width: 100% !important;
        display: block !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 16px !important;
        padding-right: 0 !important;
    }
    
    /* 3. Our Services menu follows at the bottom */
    .blog-sidebar-right {
        order: 3 !important;
        width: 100% !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 16px !important;
        padding-right: 0 !important;
    }

    .blog-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    .blog-layout .sidebar {
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 24px !important;
        padding-right: 0 !important;
    }
}

/* Mobile Screen Tuning (<= 768px) */
@media (max-width: 768px) {
    .blog-inner-container {
        padding: 0 16px !important;
    }

    .blog-main-content h1 {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }

    .blog-main-content h2 {
        font-size: 1.32rem !important;
        line-height: 1.35 !important;
        margin-top: 28px !important;
        margin-bottom: 12px !important;
    }

    .blog-main-content h3 {
        font-size: 1.12rem !important;
        line-height: 1.4 !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
    }

    .blog-main-content p, 
    .blog-main-content li {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .blog-large-image {
        margin-bottom: 18px !important;
        border-radius: 8px !important;
    }

    .blog-large-image img {
        border-radius: 8px !important;
    }

    /* Regulatory References Card on Mobile */
    .blog-regulatory-references {
        padding: 18px 16px !important;
        margin-top: 28px !important;
        margin-bottom: 24px !important;
        border-radius: 6px !important;
    }

    .blog-regulatory-references h3 {
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
    }

    .blog-regulatory-references p.ref-intro {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }

    .blog-regulatory-references ul.ref-list li {
        font-size: 0.85rem !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        line-height: 1.45 !important;
    }

    /* Accessible Mobile Tap Targets (Min 44px Height) */
    .nav-services-menu a,
    .nav-articles-menu a {
        padding: 11px 4px !important;
        font-size: 0.88rem !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-locations-menu li a {
        padding: 11px 12px !important;
        font-size: 0.88rem !important;
        min-height: 44px !important;
    }

    /* Outer Blog Listing Cards on Mobile */
    .blog-large-card {
        margin-bottom: 24px !important;
        border-radius: 10px !important;
    }

    .blog-large-body {
        padding: 16px 14px !important;
    }

    .blog-large-card .blog-meta {
        flex-wrap: wrap !important;
        gap: 10px !important;
        font-size: 0.82rem !important;
        margin-bottom: 14px !important;
    }
}

/* =================================================== */
/* Blog Semantic Heading Hierarchy (H1 to H6)          */
/* =================================================== */
.blog-single-title {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem) !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #facc15 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}

.blog-single-content h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #facc15 !important;
    margin-top: 22px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
}

.blog-single-content h5,
.regional-services-callout h5 {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: var(--color-accent, #facc15) !important;
    text-transform: none !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.blog-single-content h6,
.regional-services-callout h6 {
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    margin: 0 !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

/* Footer Semantic H5/H6 Typography */
.footer-v2 h5 {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--color-accent, #facc15) !important;
    text-transform: none !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.footer-v2 h6 {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--color-accent, #facc15) !important;
    text-transform: none !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* =================================================== */
/* Blog Table of Contents (TOC) Component              */
/* =================================================== */
html {
    scroll-behavior: smooth;
}

.blog-single-content h2[id],
.blog-single-content div[id] {
    scroll-margin-top: 110px;
}

.blog-toc-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(13, 30, 54, 0.96));
    border: 1px solid rgba(250, 204, 21, 0.35);
    border-left: 4px solid #facc15;
    border-radius: 10px;
    margin: 0 0 32px 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.blog-toc-header {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    font-family: var(--font-heading);
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-toc-header::-webkit-details-marker {
    display: none;
}

.blog-toc-header:hover {
    background: rgba(250, 204, 21, 0.08);
    color: #facc15;
}

.blog-toc-header:hover span {
    color: #facc15 !important;
}

.blog-toc-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-toc-header-left i {
    color: #facc15;
}

.blog-toc-chevron {
    color: #facc15;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.blog-toc-card[open] .blog-toc-chevron {
    transform: rotate(180deg);
}

.blog-toc-body {
    padding: 16px 22px 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

.blog-toc-list li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}

.blog-toc-list li::before {
    display: none !important;
    content: none !important;
}

.blog-toc-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.blog-toc-link:hover {
    color: #facc15;
    background: rgba(250, 204, 21, 0.08);
}

.blog-toc-link:hover span {
    color: #facc15 !important;
}

.blog-toc-num {
    color: #facc15 !important;
    font-weight: 700;
    min-width: 22px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .blog-toc-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .blog-toc-header {
        padding: 14px 16px;
        font-size: 1rem;
    }
    .blog-toc-body {
        padding: 14px 16px 18px 16px;
    }
}

/* Solid black text on yellow step number circles across all themes */
.step-num,
div.step-num,
.step-card .step-num,
.blog-single-content .step-num,
[data-theme="dark"] .step-num,
[data-theme="dark"] .step-card .step-num {
    color: #000000 !important;
}


/* ==========================================================================
   Step Numbers, Step Headers, Process Cards & Tables Alignment (Nov 2026)
   ========================================================================== */
.step-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 12px !important;
}

.step-num,
div.step-num,
.step-card .step-num,
.step-process-card .step-num,
.blog-single-content .step-num,
[data-theme="dark"] .step-num {
    background: #FFC914 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.step-title,
.step-header h3,
.step-header .step-title {
    color: #facc15 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.step-card,
.step-process-card {
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 22px 24px !important;
    margin-bottom: 20px !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.step-card:hover,
.step-process-card:hover {
    border-color: #FFC914 !important;
    transform: translateX(4px) !important;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    background: rgba(15, 23, 42, 0.6);
}
.comparison-table th {
    background: #111D35;
    color: #FFC914;
    padding: 14px 18px;
    font-weight: 700;
    border-bottom: 2px solid #FFC914;
}
.comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    vertical-align: top;
}
.comparison-table tr:hover td {
    background: rgba(255, 201, 20, 0.04);
}

/* Checklist Grid & Boxes */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.checklist-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 22px;
}
.checklist-box h4 {
    color: var(--color-accent);
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checklist-box ul {
    padding-left: 18px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.checklist-box li {
    margin-bottom: 8px;
}

/* ==========================================================================
   MASTER BUTTON, CAPTCHA REFRESH & HOVER CONTRAST ENFORCEMENT
   ========================================================================== */
.btn,
.btn-primary,
.btn-accent,
.btn-outline,
.btn-outline-white,
.btn-secondary,
.cta-btn,
.cta-banner-btn,
.submit-btn,
.form-submit-btn,
button[type="submit"],
.filter-btn,
.nav-cta .btn,
.drawer-cta .btn,
.hero-btns .btn,
.contact-form-panel button[type="submit"],
.widget button,
a.btn {
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #000000 !important;
    border: 2px solid #facc15 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn i,
.btn span,
.btn-primary i,
.btn-accent i,
.btn-outline i,
.btn-outline-white i,
.btn-secondary i,
.cta-btn i,
.cta-banner-btn i,
.submit-btn i,
.form-submit-btn i,
button[type="submit"] i,
.filter-btn i,
.nav-cta .btn i,
.drawer-cta .btn i,
.hero-btns .btn i,
.contact-form-panel button[type="submit"] i,
.widget button i,
a.btn i {
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    transition: color 0.25s ease, transform 0.25s ease !important;
}

.btn:hover,
.btn-primary:hover,
.btn-accent:hover,
.btn-outline:hover,
.btn-outline-white:hover,
.btn-secondary:hover,
.cta-btn:hover,
.cta-banner-btn:hover,
.submit-btn:hover,
.form-submit-btn:hover,
button[type="submit"]:hover,
.filter-btn:hover,
.filter-btn.active,
.nav-cta .btn:hover,
.drawer-cta .btn:hover,
.hero-btns .btn:hover,
.contact-form-panel button[type="submit"]:hover,
.widget button:hover,
a.btn:hover {
    background: #0a192f !important;
    background-color: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.4) !important;
}

.btn:hover i,
.btn-primary:hover i,
.btn-accent:hover i,
.btn-outline:hover i,
.btn-outline-white:hover i,
.btn-secondary:hover i,
.cta-btn:hover i,
.cta-banner-btn:hover i,
.submit-btn:hover i,
.form-submit-btn:hover i,
button[type="submit"]:hover i,
.filter-btn:hover i,
.nav-cta .btn:hover i,
.drawer-cta .btn:hover i,
.hero-btns .btn:hover i,
.contact-form-panel button[type="submit"]:hover i,
.widget button:hover i,
a.btn:hover i {
    background: transparent !important;
    background-color: transparent !important;
    color: #facc15 !important;
}

button.captcha-refresh-btn,
.captcha-refresh-btn {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #facc15 !important;
    border: 1px solid rgba(250, 204, 21, 0.45) !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

button.captcha-refresh-btn i,
.captcha-refresh-btn i {
    background: transparent !important;
    background-color: transparent !important;
    color: #facc15 !important;
    font-size: 1.05rem !important;
    transition: transform 0.35s ease, color 0.25s ease !important;
}

button.captcha-refresh-btn:hover,
.captcha-refresh-btn:hover {
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #0a192f !important;
    border-color: #facc15 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35) !important;
}

button.captcha-refresh-btn:hover i,
.captcha-refresh-btn:hover i {
    background: transparent !important;
    background-color: transparent !important;
    color: #0a192f !important;
    transform: rotate(180deg) !important;
}

.top-bar {
    background-color: #061224 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.84rem !important;
    padding: 8px 0 !important;
    color: #94a3b8 !important;
}
.top-bar .container,
.top-bar-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}
.top-bar-left, .top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}
.top-bar a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.top-bar a:hover {
    color: #facc15 !important;
}
.top-bar i {
    color: #facc15 !important;
}

/* Remove Top Bar completely across all pages */
.top-bar,
.top-header-bar,
.header-top,
.top-bar-container {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}


/* ==============================================================================
   MASTER RESPONSIVE SUITE: MOBILE, TABLET & DESKTOP PERFECTION (NOV 2026)
   Guarantees optimal UI, typography, touch targets, and layout balance across all devices.
   ============================================================================== */

/* --- 1. GLOBAL OVERFLOW & BASE RESPONSIVE RULES --- */
html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

img, video, iframe {
    max-width: 100% !important;
    height: auto;
}

/* --- 2. FLOATING CONTROLS (DESKTOP & MOBILE COEXISTENCE) --- */
.float-action-btn {
    position: fixed !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 999 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease !important;
}

.float-action-btn:hover {
    transform: scale(1.08) !important;
}

.float-whatsapp {
    left: 20px !important;
    bottom: 22px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 1.65rem !important;
}

.float-call {
    right: 20px !important;
    bottom: 22px !important;
    background: #facc15 !important;
    color: #071A3D !important;
    font-size: 1.25rem !important;
}

.float-scroll-up {
    right: 20px !important;
    bottom: 82px !important;
    background: #0f172a !important;
    color: #facc15 !important;
    font-size: 1.05rem !important;
    border: 1.5px solid rgba(250, 204, 21, 0.4) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
}

.float-scroll-up.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.float-scroll-down {
    right: 20px !important;
    bottom: 140px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
}

/* --- 3. LARGE DESKTOP & WIDE MONITORS (min-width: 1201px) --- */
@media (min-width: 1201px) {
    .container {
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* --- 4. LAPTOPS & TABLETS LANDSCAPE (992px to 1200px) --- */
@media (min-width: 992px) and (max-width: 1200px) {
    .container {
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .navbar .container {
        height: 80px !important;
    }

    .nav-menu {
        gap: 16px !important;
    }

    .nav-link {
        font-size: 0.92rem !important;
        padding: 6px 0 !important;
    }

    .nav-cta .btn {
        padding: 10px 18px !important;
        font-size: 0.88rem !important;
    }

    .logo img {
        height: 68px !important;
        max-height: 72px !important;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px !important;
    }
}

/* --- 5. TABLETS PORTRAIT (768px to 991px - iPads, Surface, Android Tablets) --- */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }

    h1, .hero-title, .home-hero-title {
        font-size: clamp(2rem, 3.8vw, 2.45rem) !important;
        line-height: 1.28 !important;
        text-align: center !important;
    }

    h2, .section-title {
        font-size: clamp(1.6rem, 3vw, 1.95rem) !important;
        line-height: 1.32 !important;
        text-align: center !important;
    }

    .services-grid,
    .features-grid,
    .industries-grid,
    .process-pipeline-grid,
    .testimonials-grid,
    .about-intro-grid,
    .founder-card-grid,
    .footer-v2-grid,
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-form-panel {
        max-width: 720px !important;
        margin: 0 auto !important;
        padding: 32px 28px !important;
    }

    .blog-inner-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .blog-main-content {
        order: 1 !important;
        width: 100% !important;
    }

    .blog-sidebar-left,
    .blog-sidebar-right {
        order: 2 !important;
        width: 100% !important;
        position: static !important;
        max-height: none !important;
    }
}

/* --- 6. MOBILE PHONES & PHABLETS (max-width: 767px) --- */
@media (max-width: 767px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .section {
        padding: 42px 0 !important;
    }

    /* Fluid Typography - Perfectly scaled, never overflows */
    h1, .hero-title, .home-hero-title {
        font-size: clamp(1.65rem, 5.2vw, 2.25rem) !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    h2, .section-title {
        font-size: clamp(1.35rem, 4vw, 1.75rem) !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    h3, .card-title, .service-card-title, .feature-title {
        font-size: clamp(1.1rem, 3.2vw, 1.35rem) !important;
        line-height: 1.35 !important;
    }

    .hero-desc, .home-hero-desc, .section-desc, p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* 1-Column Stacking for All Grids */
    .services-grid,
    .features-grid,
    .industries-grid,
    .process-pipeline-grid,
    .contact-grid,
    .about-intro-grid,
    .founder-card-grid,
    .footer-v2-grid,
    .gallery-grid,
    .about-highlights-grid,
    .checklist-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Form Panel & Math Captcha Perfection on Mobile */
    .contact-form-panel {
        padding: 24px 16px 36px 16px !important;
        border-radius: 10px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form-panel .form-row {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .contact-form-panel .form-input,
    .contact-form-panel select,
    .contact-form-panel textarea {
        font-size: 16px !important; /* CRITICAL: Prevents iOS auto-zoom */
        min-height: 46px !important;
        padding: 10px 14px !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .contact-form-panel textarea {
        min-height: 110px !important;
    }

    /* Math Captcha Row */
    .captcha-box {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 8px 10px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }

    .captcha-question-wrap {
        flex: 1 1 auto !important;
        min-width: 90px !important;
        height: 44px !important;
        padding: 0 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .captcha-math-text {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #facc15 !important;
        white-space: nowrap !important;
    }

    .captcha-input {
        flex: 0 0 75px !important;
        width: 75px !important;
        min-width: 70px !important;
        max-width: 85px !important;
        height: 44px !important;
        font-size: 16px !important;
        text-align: center !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        padding: 0 6px !important;
    }

    button.captcha-refresh-btn,
    .captcha-refresh-btn {
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 44px !important;
        border-radius: 6px !important;
    }

    .contact-form-panel button[type="submit"] {
        width: 100% !important;
        min-height: 50px !important;
        font-size: 1rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }

    /* Response & Error Message Boxes */
    .form-response-msg {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 16px 0 !important;
        border-radius: 8px !important;
        padding: 14px 16px !important;
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }

    /* Mobile Floating Action Buttons - Clean & Non-Intrusive */
    .float-action-btn {
        width: 46px !important;
        height: 46px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    }

    a.float-action-btn.float-whatsapp {
        left: 14px !important;
        bottom: 16px !important;
        font-size: 1.5rem !important;
    }

    a.float-action-btn.float-call {
        right: 14px !important;
        bottom: 16px !important;
        font-size: 1.2rem !important;
    }

    button.float-action-btn.float-scroll-up {
        right: 14px !important;
        bottom: 70px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 0.95rem !important;
    }

    /* Hide redundant scroll-down button on mobile to prevent blocking forms */
    button.float-action-btn.float-scroll-down,
    #scrollDownBtn,
    .float-scroll-down {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Extra bottom clearance for mobile footers so floating buttons never cover text */
    footer,
    .footer-v2 {
        padding-bottom: 75px !important;
    }

    /* Tables Horizontal Scrolling Protection */
    .comparison-table-wrapper,
    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 18px 0 !important;
        border-radius: 8px !important;
    }
}

/* --- 7. SMALL SMARTPHONES (max-width: 480px - iPhone SE, Galaxy S small screens) --- */
@media (max-width: 480px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .contact-form-panel {
        padding: 20px 14px 32px 14px !important;
    }

    .navbar .container {
        padding: 0 12px !important;
    }

    .logo img {
        height: 58px !important;
        max-height: 62px !important;
    }

    .home-hero-redesign {
        padding: 40px 0 30px 0 !important;
    }

    .home-hero-pill {
        padding: 5px 12px !important;
        font-size: 0.78rem !important;
    }

    .captcha-math-text {
        font-size: 0.95rem !important;
    }

    .captcha-input {
        width: 70px !important;
        flex: 0 0 70px !important;
        font-size: 16px !important;
    }

    button.captcha-refresh-btn,
    .captcha-refresh-btn {
        width: 40px !important;
        min-width: 40px !important;
        height: 42px !important;
    }
}


/* ==============================================================================
   CRITICAL BUTTON UX & CONTRAST SUITE (DEFAULT & HOVER STATES)
   Enforces high-contrast readable buttons across all device viewports.
   Preserves outline buttons, secondary buttons, filters, and CTA buttons.
   ============================================================================== */

/* 1. Base Button Wrap & Fluid Fit (Prevents long button text from overflowing cards on mobile) */
.btn,
.btn-outline,
.btn-primary,
.btn-accent,
.btn-secondary,
.btn-hero-primary,
a.btn {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
}

.service-card a.btn,
.service-card .btn-outline,
.service-card-footer a.btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 2. Primary Action & CTA Buttons (Gold background with high-contrast dark text) */
.btn-primary,
.btn-accent,
.btn-hero-primary,
.cta-btn,
.cta-banner-btn,
.submit-btn,
.form-submit-btn,
button[type="submit"],
.nav-cta .btn,
.drawer-cta .btn,
.hero-btns .btn-hero-primary,
.home-hero-btns .btn-hero-primary,
.contact-form-panel button[type="submit"] {
    background-color: #facc15 !important;
    background: #facc15 !important;
    color: #000000 !important;
    border: 2px solid #facc15 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.btn-primary *,
.btn-accent *,
.btn-hero-primary *,
.cta-btn *,
.cta-banner-btn *,
.submit-btn *,
.form-submit-btn *,
button[type="submit"] *,
.nav-cta .btn *,
.drawer-cta .btn *,
.hero-btns .btn-hero-primary *,
.home-hero-btns .btn-hero-primary *,
.contact-form-panel button[type="submit"] * {
    color: #000000 !important;
}

/* 3. Primary Buttons Hover State (Dark Navy + Glowing Gold border + Bright Gold Text) */
.btn-primary:hover,
.btn-accent:hover,
.btn-hero-primary:hover,
.cta-btn:hover,
.cta-banner-btn:hover,
.submit-btn:hover,
.form-submit-btn:hover,
button[type="submit"]:hover,
.nav-cta .btn:hover,
.drawer-cta .btn:hover,
.hero-btns .btn-hero-primary:hover,
.home-hero-btns .btn-hero-primary:hover,
.contact-form-panel button[type="submit"]:hover {
    background-color: #0a192f !important;
    background: #0a192f !important;
    color: #facc15 !important;
    border-color: #facc15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.45) !important;
}

.btn-primary:hover *,
.btn-accent:hover *,
.btn-hero-primary:hover *,
.cta-btn:hover *,
.cta-banner-btn:hover *,
.submit-btn:hover *,
.form-submit-btn:hover *,
button[type="submit"]:hover *,
.nav-cta .btn:hover *,
.drawer-cta .btn:hover *,
.hero-btns .btn-hero-primary:hover *,
.home-hero-btns .btn-hero-primary:hover *,
.contact-form-panel button[type="submit"]:hover * {
    color: #facc15 !important;
    background: transparent !important;
}

/* 4. Outline Buttons (.btn-outline) - Transparent with Gold Border */
.btn-outline,
.btn-outline-white {
    background: transparent !important;
    background-color: transparent !important;
    color: #facc15 !important;
    border: 2px solid #facc15 !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.btn-outline *,
.btn-outline-white * {
    color: #facc15 !important;
}

.btn-outline:hover,
.btn-outline-white:hover {
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #000000 !important;
    border-color: #facc15 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35) !important;
}

.btn-outline:hover *,
.btn-outline-white:hover * {
    color: #000000 !important;
    background: transparent !important;
}

/* 5. Filter Buttons (.filter-btn on blog.html) */
.filter-btn {
    background: #0d1e36 !important;
    background-color: #0d1e36 !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.filter-btn * {
    color: #cbd5e1 !important;
}

.filter-btn:hover {
    background: #172a45 !important;
    color: #ffffff !important;
    border-color: #facc15 !important;
}

.filter-btn:hover * {
    color: #ffffff !important;
}

.filter-btn.active {
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #000000 !important;
    border-color: #facc15 !important;
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.3) !important;
}

.filter-btn.active * {
    color: #000000 !important;
}

/* 6. WhatsApp Secondary Buttons (Preserve Green Accent) */
a[href*="wa.me"],
.btn-whatsapp {
    background: rgba(37, 211, 102, 0.18) !important;
    border: 1.5px solid #25D366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

a[href*="wa.me"] *,
.btn-whatsapp * {
    color: #ffffff !important;
}

a[href*="wa.me"]:hover,
.btn-whatsapp:hover {
    background: #25D366 !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px) !important;
}

a[href*="wa.me"]:hover *,
.btn-whatsapp:hover * {
    color: #000000 !important;
}


/* ==============================================================================
   UNIVERSAL RESPONSIVE GRID & ALIGNMENT SUITE (MOBILE, TABLET, DESKTOP)
   Guarantees zero collapse and flawless alignment on all screens.
   ============================================================================== */

/* 1. Global Page Overflow Containment */
html {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

/* 2. Serviceable Locations Grid (Regional Pages) */
.serviceable-locations-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 26px !important;
    width: 100% !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .serviceable-locations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .serviceable-locations-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* 3. Universal Mobile Grid Auto-Stacking (<= 767px) */
@media (max-width: 767px) {
    /* Prevent fixed minmax or multi-column grids from overflowing or collapsing on mobile */
    [style*="minmax(340px"],
    [style*="minmax(320px"],
    [style*="minmax(310px"],
    [style*="minmax(300px"],
    [style*="minmax(280px"],
    [style*="minmax(260px"] {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    /* All Cards Scale cleanly to 100% without horizontal wobble */
    .service-card,
    .serviceable-location-card,
    .feature-card,
    .industry-card,
    .blog-card,
    .timeline-item,
    .stat-item,
    .benefit-item,
    .process-pipeline-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Responsive Headings on Mobile */
    .services-hero-overlay h1,
    .hero-glass-card h1 {
        font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
    }
}

/* 4. Universal Tablet Grid Scaling (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    [style*="minmax(340px"],
    [style*="minmax(320px"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
}


/* ==============================================================================
   MASTER BLOG DUAL FIXED / STICKY SIDEBAR SUITE (ALL BLOG PAGES)
   Guarantees that on desktop viewports, when the user scrolls the blog article,
   both the left sidebar (Technical Articles) and right sidebar (Our Services)
   remain fixed/sticky in view while only the center article content scrolls.
   ============================================================================== */

/* Blog Layout Container isolation */
.blog-inner-container, 
.blog-inner-layout, 
.blog-layout {
    overflow: visible !important;
    contain: none !important;
}

/* Desktop Screens (min-width: 1201px): 3-Column Layout with Dual Sticky Sidebars */
@media screen and (min-width: 1201px) {
    .blog-inner-container {
        max-width: 1440px !important;
        margin: 0 auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        width: 100% !important;
    }

    .blog-inner-layout {
        display: grid !important;
        grid-template-columns: 290px minmax(0, 1fr) 310px !important;
        gap: 36px !important;
        align-items: start !important;
    }

    .blog-sidebar-left {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }

    .blog-sidebar-right {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }

    .blog-main-content {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Outer Blog Listing Page (blog.html) Sticky Sidebar */
    .blog-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 340px !important;
        gap: 40px !important;
        align-items: start !important;
    }

    .blog-layout .sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }
}

/* Medium Desktop / Laptop Screens (992px to 1200px): Right Sidebar Sticky */
@media screen and (min-width: 992px) and (max-width: 1200px) {
    .blog-inner-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
    }

    .blog-inner-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 310px !important;
        gap: 28px !important;
        align-items: start !important;
    }

    .blog-sidebar-left {
        display: none !important;
    }

    .blog-sidebar-right {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }

    .blog-main-content {
        min-width: 0 !important;
        width: 100% !important;
    }

    .blog-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 28px !important;
        align-items: start !important;
    }

    .blog-layout .sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }
}

/* Mobile & Tablet Screens (<= 991px): Clean Natural Stacking */
@media screen and (max-width: 991px) {
    .blog-inner-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .blog-main-content {
        order: 1 !important;
        width: 100% !important;
    }

    .blog-sidebar-left,
    .blog-sidebar-right {
        order: 2 !important;
        width: 100% !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 24px !important;
        padding-right: 0 !important;
    }

    .blog-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .blog-layout .sidebar {
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 24px !important;
        padding-right: 0 !important;
    }
}

/* Custom Scrollbars for Sticky Navigation Sidebars */
.blog-sidebar-left::-webkit-scrollbar,
.blog-sidebar-right::-webkit-scrollbar,
.blog-layout .sidebar::-webkit-scrollbar {
    width: 5px !important;
}

.blog-sidebar-left::-webkit-scrollbar-thumb,
.blog-sidebar-right::-webkit-scrollbar-thumb,
.blog-layout .sidebar::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.4) !important;
    border-radius: 4px !important;
}

.blog-sidebar-left::-webkit-scrollbar-track,
.blog-sidebar-right::-webkit-scrollbar-track,
.blog-layout .sidebar::-webkit-scrollbar-track {
    background: transparent !important;
}


/* ==============================================================================
   MASTER RESPONSIVE BLOG TABLE SUITE (MOBILE, TABLET & DESKTOP ALIGNMENT)
   Ensures flawless alignment, zero horizontal overflow, smooth touch scroll,
   and executive typography across all device viewports.
   ============================================================================== */

/* Container wrapper guaranteeing horizontal scroll containment on all devices */
.comparison-table-wrapper,
.table-responsive,
.blog-table-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 28px 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #0d1e36 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    position: relative !important;
}

/* Custom sleek scrollbar for tables */
.comparison-table-wrapper::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar,
.blog-table-wrapper::-webkit-scrollbar {
    height: 6px !important;
}

.comparison-table-wrapper::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track,
.blog-table-wrapper::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.7) !important;
    border-radius: 4px !important;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb,
.blog-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.45) !important;
    border-radius: 4px !important;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover,
.blog-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #facc15 !important;
}

/* Base Table Elements */
.comparison-table,
.rul-table,
.blog-main-content table {
    display: table !important;
    width: 100% !important;
    min-width: 580px !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

/* Table Header */
.comparison-table thead,
.rul-table thead,
.blog-main-content table thead {
    display: table-header-group !important;
}

.comparison-table th,
.rul-table th,
.blog-main-content table th {
    background: #111D35 !important;
    color: #facc15 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 14px 18px !important;
    border-bottom: 2px solid #facc15 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.comparison-table th:last-child,
.rul-table th:last-child,
.blog-main-content table th:last-child {
    border-right: none !important;
}

/* Table Body Rows & Cells */
.comparison-table tbody,
.rul-table tbody,
.blog-main-content table tbody {
    display: table-row-group !important;
}

.comparison-table tr,
.rul-table tr,
.blog-main-content table tr {
    display: table-row !important;
    transition: background-color 0.2s ease !important;
}

.comparison-table tr:nth-child(even) td,
.rul-table tr:nth-child(even) td,
.blog-main-content table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02) !important;
}

.comparison-table tr:hover td,
.rul-table tr:hover td,
.blog-main-content table tr:hover td {
    background: rgba(250, 204, 21, 0.06) !important;
}

.comparison-table td,
.rul-table td,
.blog-main-content table td {
    padding: 13px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
    font-size: 0.91rem !important;
    vertical-align: top !important;
    text-align: left !important;
}

.comparison-table td:last-child,
.rul-table td:last-child,
.blog-main-content table td:last-child {
    border-right: none !important;
}

.comparison-table td strong,
.rul-table td strong,
.blog-main-content table td strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Tablet Alignment & Typography (768px to 1199px) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .comparison-table th,
    .rul-table th,
    .blog-main-content table th {
        padding: 12px 14px !important;
        font-size: 0.84rem !important;
    }

    .comparison-table td,
    .rul-table td,
    .blog-main-content table td {
        padding: 12px 14px !important;
        font-size: 0.87rem !important;
    }

    .comparison-table-wrapper,
    .table-responsive,
    .blog-table-wrapper {
        margin: 22px 0 !important;
    }
}

/* Mobile Alignment & Typography (max-width: 767px) */
@media screen and (max-width: 767px) {
    .comparison-table-wrapper,
    .table-responsive,
    .blog-table-wrapper {
        margin: 18px 0 !important;
        border-radius: 8px !important;
    }

    .comparison-table,
    .rul-table,
    .blog-main-content table {
        min-width: 500px !important;
        font-size: 0.84rem !important;
    }

    .comparison-table th,
    .rul-table th,
    .blog-main-content table th {
        padding: 10px 12px !important;
        font-size: 0.78rem !important;
        letter-spacing: 0.4px !important;
    }

    .comparison-table td,
    .rul-table td,
    .blog-main-content table td {
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
    }
}


/* ==========================================================================
   ABOUT PAGE & EXECUTIVE SHOWCASE SECTIONS (LEADERSHIP, STATS & CORPORATE INFRASTRUCTURE)
   ========================================================================== */

/* 1. Office Image & Location Trust Badge (about.html & index.html) */
.office-frame-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    display: block !important;
    object-fit: cover !important;
}

.office-single-badge {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: linear-gradient(135deg, #0d1e36 0%, #0a192f 100%) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    margin-top: 18px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.office-single-badge:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(250, 204, 21, 0.5) !important;
    box-shadow: 0 14px 30px rgba(250, 204, 21, 0.15) !important;
}

.office-badge-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    background: rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    color: #facc15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
}

.office-badge-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.office-badge-text strong {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.office-badge-text span {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
}

/* 2. Leadership & Practice Showcase */
.practice-showcase-wrapper {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 32px !important;
    align-items: stretch !important;
    margin-top: 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.practice-overview-card {
    background: linear-gradient(135deg, #0d1e36 0%, #0a192f 100%) !important;
    border: 1px solid rgba(250, 204, 21, 0.25) !important;
    border-radius: 16px !important;
    padding: 38px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.practice-overview-card:hover {
    border-color: rgba(250, 204, 21, 0.45) !important;
    box-shadow: 0 20px 42px rgba(250, 204, 21, 0.12) !important;
}

.practice-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(250, 204, 21, 0.12) !important;
    color: #facc15 !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 20px !important;
}

.practice-pill i {
    color: #facc15 !important;
}

.practice-title {
    font-size: 1.95rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

.practice-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.practice-title a:hover {
    color: #facc15 !important;
}

.practice-tagline {
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #facc15 !important;
    line-height: 1.45 !important;
    margin-bottom: 20px !important;
}

.practice-lead {
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
    color: #e2e8f0 !important;
    margin-bottom: 16px !important;
    font-weight: 500 !important;
}

.practice-lead a {
    color: #facc15 !important;
    text-decoration: underline !important;
}

.practice-body {
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
    color: #94a3b8 !important;
    margin-bottom: 28px !important;
}

.practice-competencies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: auto !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.competency-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(250, 204, 21, 0.22) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    transition: all 0.25s ease !important;
}

.competency-badge:hover {
    background: rgba(250, 204, 21, 0.1) !important;
    border-color: rgba(250, 204, 21, 0.4) !important;
    color: #ffffff !important;
}

.competency-badge i {
    color: #facc15 !important;
    font-size: 0.92rem !important;
}

/* 3. Practice Metric & Capability Stats Grid (2x2) */
.practice-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.practice-stat-tile {
    background: #0d1e36 !important;
    border-radius: 14px !important;
    padding: 26px 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.practice-stat-tile:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45) !important;
}

.practice-stat-tile.tile-gold {
    border-top: 3px solid #facc15 !important;
}

.practice-stat-tile.tile-gold:hover {
    border-color: rgba(250, 204, 21, 0.55) !important;
    box-shadow: 0 14px 30px rgba(250, 204, 21, 0.15) !important;
}

.practice-stat-tile.tile-blue {
    border-top: 3px solid #38bdf8 !important;
}

.practice-stat-tile.tile-blue:hover {
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.15) !important;
}

.tile-icon-box {
    width: 46px !important;
    height: 46px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
}

.tile-gold .tile-icon-box {
    background: rgba(250, 204, 21, 0.12) !important;
    color: #facc15 !important;
    font-size: 1.25rem !important;
}

.tile-blue .tile-icon-box {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    font-size: 1.25rem !important;
}

.tile-number {
    font-size: 2.15rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.5px !important;
}

.tile-gold .tile-number {
    color: #facc15 !important;
}

.tile-blue .tile-number {
    color: #38bdf8 !important;
}

.tile-label {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.tile-desc {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

/* 4. Corporate Infrastructure & Facility Grid */
.facility-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.facility-card {
    background: #0d1e36 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box !important;
}

.facility-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(250, 204, 21, 0.4) !important;
    box-shadow: 0 16px 36px rgba(250, 204, 21, 0.12) !important;
}

.facility-img-frame {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #071220 !important;
}

.facility-img-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.facility-card:hover .facility-img-frame img {
    transform: scale(1.04) !important;
}

.facility-badge-pill {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    background: rgba(10, 25, 47, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    color: #facc15 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 2 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.facility-badge-pill i {
    color: #facc15 !important;
}

.facility-content {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.facility-content h3 {
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
}

.facility-content p {
    font-size: 0.91rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

.facility-spec-tag {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.facility-spec-tag i {
    color: #facc15 !important;
    font-size: 0.88rem !important;
}

/* 5. Facility Bottom Trust & Info Bar */
.facility-bottom-bar {
    background: linear-gradient(135deg, #0d1e36 0%, #0a192f 100%) !important;
    border: 1px solid rgba(250, 204, 21, 0.25) !important;
    border-radius: 14px !important;
    padding: 24px 30px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.facility-bar-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.facility-bar-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
    background: rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    color: #facc15 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
}

.facility-bar-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.facility-bar-info strong {
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.facility-bar-info span {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR SHOWCASE & FACILITY
   ========================================================================== */

/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .practice-showcase-wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .practice-overview-card {
        padding: 32px !important;
    }

    .practice-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px !important;
    }

    .facility-grid .facility-card:last-child {
        grid-column: span 2 !important;
    }

    .facility-bottom-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 22px !important;
    }
}

/* Mobile (max-width: 767px) */
@media screen and (max-width: 767px) {
    .office-single-badge {
        padding: 12px 14px !important;
        gap: 12px !important;
    }

    .office-badge-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 1rem !important;
    }

    .office-badge-text strong {
        font-size: 0.88rem !important;
    }

    .office-badge-text span {
        font-size: 0.76rem !important;
    }

    .practice-showcase-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 24px !important;
    }

    .practice-overview-card {
        padding: 22px 18px !important;
        border-radius: 12px !important;
    }

    .practice-title {
        font-size: 1.55rem !important;
    }

    .practice-tagline {
        font-size: 0.95rem !important;
    }

    .practice-lead {
        font-size: 0.94rem !important;
    }

    .practice-body {
        font-size: 0.88rem !important;
        margin-bottom: 20px !important;
    }

    .practice-competencies {
        gap: 8px !important;
        padding-top: 18px !important;
    }

    .competency-badge {
        font-size: 0.78rem !important;
        padding: 6px 10px !important;
    }

    .practice-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .practice-stat-tile {
        padding: 20px 18px !important;
        border-radius: 12px !important;
    }

    .tile-number {
        font-size: 1.85rem !important;
    }

    .tile-label {
        font-size: 0.92rem !important;
    }

    .tile-desc {
        font-size: 0.82rem !important;
    }

    .facility-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 24px !important;
    }

    .facility-card {
        border-radius: 12px !important;
    }

    .facility-content {
        padding: 18px !important;
    }

    .facility-content h3 {
        font-size: 1.15rem !important;
    }

    .facility-content p {
        font-size: 0.88rem !important;
        margin-bottom: 16px !important;
    }

    .facility-spec-tag {
        font-size: 0.78rem !important;
        padding-top: 12px !important;
    }

    .facility-bottom-bar {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 18px !important;
        border-radius: 12px !important;
    }

    .facility-bar-item {
        gap: 14px !important;
    }

    .facility-bar-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 1rem !important;
    }

    .facility-bar-info strong {
        font-size: 0.88rem !important;
    }

    .facility-bar-info span {
        font-size: 0.78rem !important;
    }
}

/* Footer Guides Row Link Hover */
.footer-guides-row a {
    transition: color 0.2s ease !important;
}
.footer-guides-row a:hover {
    color: #facc15 !important;
}


/* ==============================================================================
   MASTER BLOG SUITE: SOLID BLACK STEP NUMBERS, ACCORDION RIGHT CHEVRON, DUAL STICKY SIDEBARS
   ============================================================================== */

/* 1. Solid Black Text on Yellow Step Numbers (User Attachment 1 Fix) */
.step-num,
div.step-num,
span.step-num,
.process-step-num,
.step-circle,
.step-header .step-num,
.step-card .step-num,
.step-process-card .step-num,
.blog-single-content .step-num,
.blog-single-content div.step-num,
.blog-single-content span.step-num,
.blog-single-content [class*="step-num"],
[data-theme="dark"] .step-num,
[data-theme="light"] .step-num {
    background: #facc15 !important;
    background-color: #facc15 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

/* 2. FAQ Accordion Right Chevron Alignment (User Attachment 2 Fix) */
.blog-faq-card,
.faq-item.blog-faq-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
}

.blog-faq-btn,
.faq-question.blog-faq-btn,
.blog-faq-card .faq-question {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 18px 22px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.blog-faq-btn .blog-faq-q-text,
.faq-question .blog-faq-q-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

.blog-faq-btn .blog-faq-num,
.faq-question .blog-faq-num {
    flex: 0 0 auto !important;
    color: #facc15 !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
}

.blog-faq-btn .blog-faq-title,
.faq-question .blog-faq-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #ffffff !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.blog-faq-btn .blog-faq-icon-pill,
.faq-question .blog-faq-icon-pill {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.blog-faq-btn .blog-faq-icon-pill i,
.faq-question .blog-faq-icon-pill i {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    color: #facc15 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

.faq-item.active .blog-faq-btn .blog-faq-icon-pill i,
.faq-item.active .faq-question .blog-faq-icon-pill i,
.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
    background: #facc15 !important;
    color: #0a192f !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.45) !important;
}

/* 3. Dual Fixed / Sticky Sidebars on Desktop (Center Scrolls Independently) */
@media (min-width: 1025px) {
    .blog-inner-container {
        overflow: visible !important;
    }

    .blog-inner-layout {
        display: grid !important;
        grid-template-columns: 290px minmax(0, 1fr) 310px !important;
        gap: 36px !important;
        align-items: start !important;
        position: relative !important;
        overflow: visible !important;
    }

    .blog-sidebar-left {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }

    .blog-sidebar-right {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 96px !important;
        align-self: start !important;
        height: fit-content !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(250, 204, 21, 0.4) transparent !important;
        padding-right: 6px !important;
        z-index: 10 !important;
    }

    .blog-main-content {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* 4. Unified Golden Yellow (#facc15) on All Blog Headings & Child Elements */
.blog-single-title,
.blog-single-title span,
.blog-single-title a:not(.btn),
.blog-large-title,
.blog-large-title a,
.blog-nav-card-title,
.blog-nav-card-title span,
.blog-nav-card-title i,
.blog-main-content h1,
.blog-main-content h2,
.blog-main-content h3,
.blog-main-content h4,
.blog-main-content h5,
.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4,
.blog-single-content h5,
.blog-main-content h1 span,
.blog-main-content h2 span,
.blog-main-content h3 span,
.blog-main-content h4 span,
.blog-main-content h5 span,
.blog-main-content h1 strong,
.blog-main-content h2 strong,
.blog-main-content h3 strong,
.blog-main-content h4 strong,
.blog-main-content h5 strong,
.blog-main-content h1 a:not(.btn),
.blog-main-content h2 a:not(.btn),
.blog-main-content h3 a:not(.btn),
.blog-main-content h4 a:not(.btn),
.blog-main-content h5 a:not(.btn),
.blog-main-content h1 i,
.blog-main-content h2 i,
.blog-main-content h3 i,
.blog-main-content h4 i,
.blog-main-content h5 i,
.step-title,
.step-header h3,
.step-header .step-title {
    color: #facc15 !important;
}

.blog-large-title a:hover {
    color: #fef08a !important;
}

/* Home Latest Technical Insights: Strictly 3 columns x 2 rows on Desktop */
.home-latest-blogs-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    margin-bottom: 36px !important;
    align-items: stretch !important;
}

.home-latest-blogs-grid .service-card-title,
.home-latest-blogs-grid .service-card-title a {
    color: #facc15 !important;
}

.home-latest-blogs-grid .service-card-title a:hover {
    color: #fef08a !important;
}

@media (max-width: 991px) {
    .home-latest-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}

@media (max-width: 640px) {
    .home-latest-blogs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* HTML Sitemap Clean Responsive Grid Architecture */
.sitemap-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.sitemap-card {
    background: linear-gradient(145deg, rgba(13, 30, 54, 0.92), rgba(10, 25, 47, 0.96));
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-top: 3px solid #facc15;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.sitemap-card--span-2 {
    grid-column: span 2;
}

.sitemap-card-title {
    color: #facc15 !important;
    font-size: 1.22rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-subheading {
    color: #facc15 !important;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 18px 0 10px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    align-items: start;
}

.sitemap-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 24px;
    align-items: start;
}

.sitemap-link {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sitemap-link i {
    color: #facc15 !important;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.78rem;
}

.sitemap-link-num {
    color: #facc15 !important;
    font-weight: 700;
    font-size: 0.84rem;
    min-width: 24px;
    flex-shrink: 0;
    margin-top: 1px;
}

.sitemap-link:hover,
.sitemap-link:hover span {
    background: rgba(250, 204, 21, 0.08);
    color: #facc15 !important;
}

.sitemap-link:hover {
    transform: translateX(3px);
}

.sitemap-card-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 991px) {
    .sitemap-top-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-card--span-2 {
        grid-column: span 1;
    }

    .sitemap-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sitemap-card {
        padding: 22px 18px;
    }

    .sitemap-services-grid,
    .sitemap-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Regional Hub Industrial Estates Grid (3-in-a-row Desktop & Mobile) */
.industrial-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.industrial-areas-grid > div {
    transition: border-color 0.2s ease, background 0.2s ease;
}

.industrial-areas-grid > div:hover {
    border-color: rgba(250, 204, 21, 0.35) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}


