/* ==========================================================================
   ContraCore - Contractor Business Support Services
   Theme: Modern Clean Light & Royal/Sky Blue
   Layout: 2-Column Hero + Rich About Us + 4 Elevated Metric Cards + 
           1-Side Image / 1-Side Content Services + Dual-Region Trade Matrix
   ========================================================================== */

:root {
    /* Background Colors */
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-surface-light: #f1f5f9;
    --bg-surface-alt: #f0f7ff;
    --bg-surface-subtle: #f8fbff;
    --bg-header: rgba(255, 255, 255, 0.98);
    
    /* Primary Blues & Badges (Matching Screenshot) */
    --primary: #0066cc;
    --primary-hover: #004d99;
    --primary-light: #e0f2fe;
    --primary-badge-bg: #e8f3fc;
    --primary-badge-text: #0284c7;
    --primary-glow: rgba(0, 102, 204, 0.16);
    
    --accent-amber: #f59e0b;
    --accent-amber-light: #fef3c7;
    --accent-amber-text: #b45309;

    --success-blue: #0284c7;
    --success-green: #10b981;

    /* Text Colors */
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Borders & Dividers */
    --border-subtle: #e2e8f0;
    --border-card: #e5e7eb;
    --border-focus: #0066cc;
    --border-badge: rgba(2, 132, 199, 0.25);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Modern Soft Shadows */
    --shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-card-hover: 0 18px 40px rgba(0, 102, 204, 0.12);
    --shadow-float: 0 14px 35px rgba(0, 0, 0, 0.12);
    --shadow-dropdown: 0 20px 45px rgba(15, 23, 42, 0.12);

    /* Layout & Transition */
    --container-max-width: 1260px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: clip;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Prevent any elements or titles from pushing mobile screens & ensure visibility */
h1, h2, h3, h4, h5, h6, p, span, a, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

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


/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

h1, h2 {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-body);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline {
    background-color: var(--bg-white);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-heading);
    box-shadow: var(--shadow-subtle);
}

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

.btn-lg {
    padding: 0.95rem 1.85rem;
    font-size: 1.02rem;
    border-radius: var(--radius-md);
}

.btn-xl {
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
}

.gradient-text {
    color: var(--primary);
}

/* Section Header Structure Matching Reference Image */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
}

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

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

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

.section-header.text-center {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-left {
    text-align: left;
    margin-bottom: 1.75rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background-color: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    color: var(--primary-badge-text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 1.1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.section-accent-line {
    width: 48px;
    height: 3.5px;
    background-color: var(--primary);
    border-radius: 2px;
    margin: 1.25rem auto 0 auto;
}

.section-accent-line.left-align {
    margin: 1rem 0 0 0;
}

/* ==========================================================================
   1. Top Announcement Bar
   ========================================================================== */
.top-bar {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 0;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flag-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.top-text {
    color: #cbd5e1;
}

.top-link {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-link:hover {
    color: #38bdf8;
}

.divider {
    color: #475569;
}

.top-highlight {
    color: #38bdf8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-highlight:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. Main Header
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0066cc, #0284c7);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

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

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    line-height: 1;
    white-space: nowrap;
}

.brand-accent {
    color: var(--primary);
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav .nav-list > li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    position: relative;
    padding: 0.35rem 0;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

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

/* ==========================================================================
   Navigation Dropdown Menu
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    line-height: 1;
}

.nav-dropdown-toggle span {
    line-height: 1;
    display: inline-block;
}

.nav-arrow {
    font-size: 0.68rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
    opacity: 0.75;
    margin-top: 1px;
}

.nav-item-dropdown:hover .nav-arrow,
.nav-item-dropdown.open .nav-arrow {
    transform: rotate(180deg);
    color: var(--primary);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 240px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(0, 102, 204, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Invisible bridge so mouse hover doesn't break between link and menu */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.6rem;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--text-heading);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-item .dropdown-icon {
    font-size: 0.88rem;
    color: var(--primary);
    width: 18px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-surface-subtle);
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-cta,
.main-nav .nav-list > li.mobile-nav-cta {
    display: none !important;
}

/* ==========================================================================
   3. Modern 2-Column Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 5.25rem 0 4.75rem 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 102, 204, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.35;
    z-index: 1;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: rgba(56, 189, 248, 0.4);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(0, 102, 204, 0.25);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-badge-text);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 102, 204, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-trust-badges {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.trust-item i {
    color: var(--success-blue);
}

/* Hero Right Side: Image Card with Floating Glassmorphic Badges */
.hero-visual-col {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.hero-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    display: block;
}

.hero-img-gradient {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
}

/* Floating Glassmorphic Badges with Animations */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-float);
    z-index: 5;
    transition: transform var(--transition-fast);
}

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

.floating-badge strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-heading);
    line-height: 1.2;
}

.floating-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-icon-wrap {
    width: 38px;
    height: 38px;
    background: var(--primary-badge-bg);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-icon-wrap.success {
    background: #ecfdf5;
    color: #059669;
}

.badge-icon-wrap.gold {
    background: #fef3c7;
    color: #d97706;
}

.badge-top-right {
    top: 1.5rem;
    right: -1.5rem;
}

.badge-bottom-left {
    bottom: 2rem;
    left: -1.75rem;
}

.badge-bottom-right {
    bottom: -1.5rem;
    right: 1.5rem;
}

/* Floating Keyframes */
@keyframes floatAnim1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatAnim2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes floatAnim3 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

.floating-anim-1 { animation: floatAnim1 4s ease-in-out infinite; }
.floating-anim-2 { animation: floatAnim2 4.5s ease-in-out infinite; }
.floating-anim-3 { animation: floatAnim3 5s ease-in-out infinite; }

/* ==========================================================================
   4. Rich & Attractive About Us Section
   ========================================================================== */
.about-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 4.5rem;
}

.about-image-stack {
    position: relative;
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.about-img-main-wrapper {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    height: 100%;
    min-height: 520px;
    flex: 1;
}

.about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-stack:hover .about-img-main {
    transform: scale(1.03);
}

.about-img-sub-wrapper {
    position: absolute;
    bottom: 1.5rem;
    right: -1.5rem;
    width: 240px;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-float);
    z-index: 2;
}

.about-img-sub {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-experience-card {
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-float);
    z-index: 3;
}

.exp-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
}

.exp-text {
    display: flex;
    flex-direction: column;
}

.exp-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.exp-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

.about-lead-text {
    font-size: 1.15rem;
    color: var(--text-heading);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-lead-text strong {
    color: var(--primary);
}

.about-body-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.about-highlight-item {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.about-highlight-item:hover {
    border-color: var(--primary);
    background: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-badge-bg);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.highlight-info h4 {
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.highlight-info p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.45;
    margin-bottom: 0;
}

.about-cta-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   4B. Clean, Simple & Modern Key Metrics Cards
   ========================================================================== */
.stats-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem 1.65rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--primary-badge-bg);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.stat-number-wrap .counter-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.stat-number-wrap .stat-plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-number-wrap .stat-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 0.35rem;
}

.stat-number-wrap .stat-text-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.stat-card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==========================================================================
   5. Problem & Solution Section
   ========================================================================== */
.problem-solution-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.solution-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.challenge-card {
    border-top: 4px solid #ef4444;
    background: #fffafa;
}

.solution-core-card {
    border-top: 4px solid var(--primary);
    background: var(--bg-surface-alt);
    box-shadow: var(--shadow-card);
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.challenge-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.solution-icon {
    background: var(--primary-badge-bg);
    color: var(--primary);
}

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.card-lead {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-body);
}

.warning-bullets li i {
    color: #ef4444;
}

.highlight-quote {
    background: var(--bg-white);
    border: 1px solid rgba(0, 102, 204, 0.2);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    font-size: 1.1rem;
    box-shadow: var(--shadow-subtle);
}

.quote-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.cta-link-wrapper {
    margin-top: 1.25rem;
}

.inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.inline-cta:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

/* ==========================================================================
   6. Our 6 Core Services: 1-Side Image / 1-Side Content (Matching Screenshot)
   ========================================================================== */
.services-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.services-list-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-row-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.service-row-card:hover {
    border-color: rgba(0, 102, 204, 0.35);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.service-row-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-row-card.reverse .service-media-col {
    order: 2;
}

.service-row-card.reverse .service-content-col {
    order: 1;
}

.service-media-col {
    width: 100%;
}

.media-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 340px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-row-card:hover .service-img {
    transform: scale(1.04);
}

.image-overlay-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: var(--primary);
    color: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.service-content-col {
    display: flex;
    flex-direction: column;
}

.service-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    color: var(--primary-badge-text);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.service-item-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.service-item-desc {
    font-size: 1.02rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-checklist-box {
    margin-bottom: 1.25rem;
}

.blue-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.blue-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-heading);
    line-height: 1.5;
}

.blue-checklist li i {
    color: var(--success-blue);
    font-size: 1.05rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-item-action {
    margin-top: 0.5rem;
}

.action-link-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.action-link-btn:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

/* ==========================================================================
   7. Redesigned High-Impact Dual-Region Command Hubs (USA & UK)
   ========================================================================== */
.regions-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
}

.regions-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
}

.region-clean-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.region-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.region-clean-card.usa-border {
    border-top: 5px solid #0066cc;
}

.region-clean-card.usa-border:hover {
    border-color: #0066cc;
}

.region-clean-card.uk-border {
    border-top: 5px solid #0284c7;
}

.region-clean-card.uk-border:hover {
    border-color: #0284c7;
}

.region-clean-header {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-bottom: 1.25rem;
}

.region-flag-box {
    font-size: 2.75rem;
    line-height: 1;
}

.region-clean-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.region-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-badge-bg);
    color: var(--primary-badge-text);
    border: 1px solid var(--border-badge);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
}

.region-clean-desc {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.region-trades-box {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.trades-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.clean-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.clean-check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.clean-check-list li i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.region-clean-footer .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.96rem;
    border-radius: var(--radius-lg);
}

/* Simple Clean Benefit Strip */
.clean-benefit-strip {
    background: #f8fafc;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.benefit-item i {
    width: 44px;
    height: 44px;
    background: var(--primary-badge-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 0.96rem;
    color: var(--text-heading);
    margin-bottom: 0.15rem;
}

.benefit-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. Who We Work With (Niches)
   ========================================================================== */
.niches-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.niche-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.6rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-subtle);
}

.niche-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.niche-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.niche-card h3 {
    font-size: 1.15rem;
    color: var(--text-heading);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.niche-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* ==========================================================================
   9. Why Contractors Choose ContraCore
   ========================================================================== */
.why-us-section {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.why-card {
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    background: var(--bg-white);
}

.why-icon-wrap {
    width: 54px;
    height: 54px;
    background: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.35rem;
}

.why-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ==========================================================================
   10. Process: A Simple Way to Get the Support You Need
   ========================================================================== */
.process-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-badge-bg);
    border: 1px solid var(--border-badge);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.35rem;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.highlight-step {
    border-color: var(--primary);
    background: var(--bg-surface-alt);
}

.process-cta-wrap {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   11. Mid-Page Call to Action Banner
   ========================================================================== */
.cta-banner-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.cta-banner-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 3.75rem 3rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-dropdown);
    overflow: hidden;
    color: #ffffff;
}

.cta-banner-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-mini-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.cta-banner-content h2 {
    font-size: 2.35rem;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.cta-banner-content p {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.cta-tagline-statement {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2.25rem;
}

.cta-tagline-statement i {
    color: #38bdf8;
}

.cta-actions .btn-primary {
    background-color: #0284c7;
}

.cta-actions .btn-primary:hover {
    background-color: #0369a1;
}

/* ==========================================================================
   12. Frequently Asked Questions (Accordion)
   ========================================================================== */
.faqs-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
}

.faqs-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.35rem 1.65rem;
    font-family: inherit;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-hover);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.65rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.65rem 1.35rem 1.65rem;
    transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ==========================================================================
   13. Final CTA Section
   ========================================================================== */
.final-cta-section {
    background: var(--bg-white);
    padding: 3rem 0 5rem 0;
}

.final-cta-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #f8fafc 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 20px 45px -15px rgba(0, 102, 204, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.final-cta-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.85rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.final-lead {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.cta-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cta-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cta-tag-item i {
    color: var(--primary);
    font-size: 0.88rem;
}

.final-cta-buttons-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 2;
}

.final-cta-buttons-card .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.cta-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.35rem;
    text-align: center;
}

.cta-trust-note i {
    color: #10b981;
}

@media (max-width: 991px) {
    .final-cta-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.75rem;
        gap: 2rem;
        border-radius: 20px;
    }
    
    .final-cta-text h2 {
        font-size: 1.8rem;
    }
    
    .final-cta-buttons-card {
        padding: 1.75rem 1.25rem;
    }
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
}

.footer-brand-col .brand-name {
    color: #ffffff;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img,
.brand-dark-bg-logo {
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.footer-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-region-tags {
    display: flex;
    gap: 0.6rem;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-col ul li a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-nav-col ul li a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.footer-contact-list li i {
    color: #38bdf8;
    margin-top: 0.2rem;
}

.footer-cta-box {
    margin-top: 1.25rem;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-legal-links a {
    color: #64748b;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   15. Modal Dialog (Get Started Form)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal-dialog {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-dropdown);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--bg-surface-light);
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modal-header {
    margin-bottom: 1.75rem;
}

.modal-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}

.modal-header p {
    font-size: 0.92rem;
    color: var(--text-body);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-surface-light);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    color: var(--text-heading);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-group select option {
    background: var(--bg-white);
    color: var(--text-heading);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.checkbox-pill:hover {
    border-color: var(--primary);
    background: var(--bg-surface-alt);
}

.checkbox-pill input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.form-success-msg {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #065f46;
}

.form-success-msg i {
    font-size: 1.75rem;
    color: #10b981;
}

.form-success-msg h4 {
    font-size: 1.1rem;
    color: #065f46;
    margin-bottom: 0.2rem;
}

.form-success-msg p {
    font-size: 0.88rem;
    color: #047857;
    margin-bottom: 0;
}

/* ==========================================================================
   16. Back to top button (Matching Reference Bottom Right)
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   17. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-main-img {
        height: 380px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-main-wrapper {
        height: 350px;
    }

    .badge-top-right {
        right: 0.5rem;
    }

    .badge-bottom-left {
        left: 0.5rem;
    }

    .stats-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .regions-clean-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clean-benefit-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .service-row-card,
    .service-row-card.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-row-card.reverse .service-media-col {
        order: 1;
    }

    .service-row-card.reverse .service-content-col {
        order: 2;
    }

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

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

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .container {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .section {
        overflow-x: hidden !important;
        width: 100% !important;
        padding: 3.75rem 0 !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }

    .hero-subtitle {
        font-size: 0.92rem !important;
    }

    .section-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
    }

    .hero-main-img {
        height: 260px;
    }

    .floating-badge {
        padding: 0.5rem 0.75rem;
    }

    .floating-badge strong {
        font-size: 0.75rem;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-text h2 {
        font-size: 1.45rem !important;
    }

    .stats-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .why-choose-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .region-grid-clean {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .region-clean-card {
        padding: 1.5rem 1.25rem;
    }

    .region-clean-card h3 {
        font-size: 1.3rem !important;
    }

    .service-row-card {
        padding: 1.35rem;
    }

    .media-image-wrapper {
        height: 220px;
    }

    .service-item-title {
        font-size: 1.3rem !important;
    }

    .niches-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .blog-grid-3x4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .footer-top-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-banner-section {
        padding: 1.5rem 0 !important;
    }

    .cta-banner-box {
        padding: 2rem 1.25rem !important;
        border-radius: var(--radius-lg) !important;
    }

    .cta-mini-tag {
        font-size: 0.72rem !important;
        padding: 0.25rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .cta-banner-content h2 {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.75rem !important;
    }

    .cta-banner-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.15rem !important;
    }

    .cta-tagline-statement {
        padding: 0.6rem 0.85rem !important;
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .cta-actions {
        width: 100% !important;
    }

    .cta-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .final-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem 1.25rem !important;
    }

    .final-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .final-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    /* Clean 1-Line Mobile Top Bar */
    .top-bar {
        background: #080e1c !important;
        padding: 0.4rem 0 !important;
        font-size: 0.75rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .top-bar-left .top-text,
    .top-bar-right .divider,
    .top-bar-right .top-highlight,
    .top-bar-right .top-link-email {
        display: none !important;
    }

    .top-bar-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
    }

    .top-bar-left {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
    }

    .flag-badge {
        padding: 0.15rem 0.45rem !important;
        font-size: 0.68rem !important;
        border-radius: 4px !important;
    }

    .top-bar-right {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .top-bar-right .top-link-phone {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        color: #38bdf8 !important;
        font-weight: 700 !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    /* Clean Mobile Header: ONLY Logo on Left & Hamburger Toggle on Right */
    .main-header {
        padding: 0.65rem 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    }

    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        width: 100% !important;
    }

    .header-actions .btn {
        display: none !important; /* Hide Get Started button in top header row on mobile */
    }

    .brand-logo {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
    }

    .brand-logo .logo-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
        border-radius: 9px !important;
    }

    .brand-logo .brand-name {
        font-size: 1.18rem !important;
    }

    .brand-logo .brand-sub {
        font-size: 0.65rem !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 9px !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        font-size: 1.15rem !important;
        border: 1.5px solid #e2e8f0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        outline: none !important;
        padding: 0 !important;
    }

    .mobile-toggle:hover,
    .mobile-toggle:active {
        background: #eff6ff !important;
        border-color: var(--primary) !important;
        color: var(--primary) !important;
    }

    /* Full-Width Smooth Mobile Navigation Drawer */
    .main-nav {
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        background: #ffffff;
        border-bottom: 3px solid var(--primary);
        padding: 1.25rem 1.25rem 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        width: 100%;
    }

    .main-nav .nav-list > li {
        width: 100%;
    }

    .mobile-nav-cta {
        display: block !important;
        margin-top: 0.5rem;
    }

    .main-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.98rem;
        font-weight: 700;
        color: var(--text-heading);
        border-radius: 8px;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid #f1f5f9;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link:focus {
        background: #eff6ff;
        color: var(--primary);
        border-color: #bfdbfe;
    }

    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
        width: 100%;
        margin-top: 0.35rem;
        display: none;
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-item-dropdown.mobile-open .nav-dropdown-menu {
        display: flex;
    }

    .dropdown-item {
        padding: 0.6rem 0.85rem;
        font-size: 0.88rem;
        font-weight: 600;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .stats-overview-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-title {
        font-size: 1.85rem;
    }
}

/* ==========================================================================
   CONTACT PAGE & BLOG PAGE DEDICATED STYLES
   ========================================================================== */

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-info-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #38bdf8);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all var(--transition-fast);
}

.contact-icon-wrap.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.contact-icon-wrap.icon-indigo  { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.contact-icon-wrap.icon-amber   { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

.contact-info-card:hover .contact-icon-wrap {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.06);
}

.contact-info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.contact-info-card p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    margin: 0;
    line-height: 1.4;
}

.contact-info-card p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.contact-info-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Contact Layout Grid */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-form-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
}

.contact-sidebar-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Select Dropdown Styling */
.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

/* Blog Article Cards */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.blog-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.blog-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #38bdf8;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 1.85rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-card-meta .category {
    color: var(--primary);
    text-transform: uppercase;
}

/* 3x4 Blog Grid System (3 Columns x 4 Rows = 12 items per page) */
.blog-grid-3x4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-grid-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 51, 102, 0.1);
    border-color: rgba(0, 102, 204, 0.3);
}

.blog-card-media {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-grid-card:hover .blog-card-media img {
    transform: scale(1.08);
}

.blog-card-cat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(7, 19, 34, 0.85);
    backdrop-filter: blur(8px);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.38;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.blog-card-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.15rem;
    margin-top: auto;
}

.blog-read-more-btn {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.blog-grid-card:hover .blog-read-more-btn {
    gap: 0.65rem;
    color: var(--primary-hover);
}

/* Pagination Styles */
.blog-pagination-wrap {
    margin-top: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 0.95rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-subtle);
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-surface-alt);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.pagination-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Breadcrumbs Core Global Styling */
.service-breadcrumb,
.inner-breadcrumb {
    display: flex !important;
    width: fit-content !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.35rem 0.55rem !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 1.35rem !important;
    line-height: 1.4 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0.35rem 0.95rem !important;
    border-radius: 9999px !important;
    backdrop-filter: blur(8px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.service-breadcrumb a,
.inner-breadcrumb a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.service-breadcrumb a:hover,
.inner-breadcrumb a:hover {
    color: #38bdf8 !important;
}

.service-breadcrumb span,
.inner-breadcrumb span {
    display: inline-flex !important;
    align-items: center !important;
}

.service-breadcrumb i.fa-house,
.service-breadcrumb i.fa-home,
.inner-breadcrumb i.fa-house,
.inner-breadcrumb i.fa-home {
    font-size: 0.78rem !important;
    opacity: 0.9 !important;
    margin-right: 0.15rem !important;
    display: inline-block !important;
}

.service-breadcrumb i.fa-chevron-right,
.inner-breadcrumb i.fa-chevron-right {
    font-size: 0.6rem !important;
    opacity: 0.45 !important;
}

.service-breadcrumb .active-crumb,
.inner-breadcrumb .active-crumb {
    color: #38bdf8 !important;
    font-weight: 700 !important;
    white-space: normal !important;
}

/* Responsive queries for contact, forms, & 3x4 blog grid */
@media (max-width: 1100px) {
    .blog-grid-3x4 { grid-template-columns: repeat(2, 1fr) !important; gap: 1.75rem !important; }
    .contact-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .contact-layout-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

@media (max-width: 768px) {
    /* Prevent wide buttons from breaking mobile width */
    .btn,
    .btn-xl,
    .btn-lg,
    .btn-submit {
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        padding: 0.85rem 1.15rem !important;
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .blog-grid-3x4 { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .contact-cards-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .contact-layout-grid { grid-template-columns: 1fr !important; gap: 2rem !important; width: 100% !important; max-width: 100% !important; }
    
    .contact-form-card { 
        padding: 1.5rem 1rem !important; 
        width: 100% !important; 
        max-width: 100% !important; 
        min-width: 0 !important;
        box-sizing: border-box !important; 
    }
    
    .contact-sidebar-wrap { 
        width: 100% !important; 
        max-width: 100% !important; 
        min-width: 0 !important;
        box-sizing: border-box !important; 
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .form-row .form-group {
        margin-bottom: 1.15rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 0.92rem !important;
    }

    .service-breadcrumb,
    .inner-breadcrumb {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.75rem !important;
        gap: 0.25rem 0.45rem !important;
    }

    .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
}


