/* ==========================================================================
   Home-1 Modern Layout Styles
   Prefixed with h1- to avoid conflicts with existing styles
   ========================================================================== */

/* --- Section Badge --- */
.h1-section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--accent-soft, rgba(26, 80, 172, 0.08));
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: var(--heading-font);
}

.h1-section-heading {
    font-size: 38px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
    font-family: var(--heading-font);
    line-height: 1.3;
}

.h1-section-desc {
    font-size: 17px;
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto 10px;
    line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.h1-about {
    padding: 80px 0;
}

.h1-about-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.h1-about-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.h1-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.h1-about-wrapper:hover .h1-about-image img {
    transform: scale(1.05);
}

.h1-about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 80, 172, 0.1), transparent);
}

.h1-about-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.h1-about-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--heading-font);
}

.h1-about-content p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 24px;
}

.h1-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 15px;
    transition: gap 0.3s ease;
}

.h1-link-arrow:hover {
    gap: 14px;
    color: var(--accent-color);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.h1-services {
    padding: 80px 0;
}

.h1-platform-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 15px;
}

.h1-tag-divider {
    opacity: 0.3;
    color: var(--heading-color);
}

/* Tab Navigation */
.h1-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.h1-tab-btn {
    position: relative;
    padding: 12px 28px;
    border: 2px solid transparent;
    background: #fff;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.h1-tab-btn .h1-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.h1-tab-btn:hover {
    border-color: rgba(26, 80, 172, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.h1-tab-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(26, 80, 172, 0.25);
}

.h1-tab-btn.active .h1-tab-indicator {
    width: 40px;
    background: #fff;
}

/* Tab Panels */
.h1-tab-panels {
    position: relative;
}

.h1-tab-panel {
    display: none;
    animation: h1FadeInUp 0.4s ease;
}

.h1-tab-panel.active {
    display: block;
}

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

/* Service Cards Grid */
.h1-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.h1-service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.h1-service-card-inner {
    position: relative;
    background: #fff;
    border: 1px solid rgba(26, 80, 172, 0.1);
    border-radius: 16px;
    padding: 30px 24px;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.h1-service-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 80, 172, 0.12);
    border-color: rgba(26, 80, 172, 0.25);
}

.h1-service-number {
    position: absolute;
    top: 30px;
    right: 24px;
    font-size: 42px;
    font-weight: 800;
    color: rgba(26, 80, 172, 0.06);
    line-height: 1;
    font-family: var(--heading-font);
}

.h1-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-soft, rgba(26, 80, 172, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.h1-service-icon i {
    font-size: 32px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.h1-service-card-inner:hover .h1-service-icon {
    background: linear-gradient(135deg, var(--accent-color), #3a8eea);
}

.h1-service-card-inner:hover .h1-service-icon i {
    color: #fff;
}

.h1-service-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    font-family: var(--heading-font);
    line-height: 1.4;
}

.h1-service-card p {
    font-size: 14.5px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* ==========================================================================
   CRM Framework — JS-driven orbit
   ========================================================================== */
.h1-framework {
    padding: 40px 0 40px;
    position: relative;
    background: linear-gradient(150deg, #eaefff 0%, #f5f8ff 45%, #e8f2ff 100%);
    overflow: hidden;
}

/* subtle background glow blobs */
.h1-framework::before,
.h1-framework::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.h1-framework::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
    top: -80px; left: -120px;
}
.h1-framework::after {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    bottom: -60px; right: -80px;
}

/* ---- Orbit wrapper (height set by JS) ---- */
.h1-crm-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 16px auto 0;
    overflow: visible;
}

/* SVG — natural pixel size set by JS, centred in wrap */
.h1-crm-svg {
    display: block;
    margin: 0 auto;
    overflow: visible;
}

/* ---- Centre panel (default + hover states) ---- */
.h1-crm-center-lbl {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
    pointer-events: auto;
    cursor: default;
}

/* Both states fill the circle */
.h1-crm-center-lbl__default,
.h1-crm-center-lbl__hover {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Default: hidden via class toggle */
.h1-crm-center-lbl__default.is-visible  { opacity: 1; transform: scale(1);    pointer-events: auto; }
.h1-crm-center-lbl__default.is-hidden   { opacity: 0; transform: scale(0.85); pointer-events: none; }
.h1-crm-center-lbl__hover.is-visible    { opacity: 1; transform: scale(1);    pointer-events: auto; }
.h1-crm-center-lbl__hover.is-hidden     { opacity: 0; transform: scale(0.88); pointer-events: none; }

/* Default state inner elements */
.h1-crm-center-lbl__default i {
    font-size: 30px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
}

.h1-crm-center-lbl__default span {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    line-height: 1.3;
}

.h1-crm-center-lbl__hint {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    opacity: 0.55;
    margin-top: 8px;
    text-transform: none !important;
}

/* Hover state */
.h1-crm-hover-icon {
    font-size: 34px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.h1-crm-center-lbl__step {
    font-size: 10px;
    font-weight: 900;
    color: rgba(255,255,255,0.65);
    font-family: var(--heading-font);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.h1-crm-center-lbl__title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 10px;
}

.h1-crm-center-lbl__desc {
    font-size: 12px;
    color: rgba(255,255,255,0.80);
    line-height: 1.65;
    font-weight: 400;
}

/* Nodes container only (no more labels container) */
.h1-crm-nodes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ---- Node ---- */
.h1-crm-node {
    position: absolute;
    z-index: 20;
    pointer-events: auto;
    cursor: default;
}

/* The circle itself — sized by JS (DOT_SIZE × DOT_SIZE) */
.h1-crm-node__dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(150deg, #ffffff 0%, #eef3ff 100%);
    border: 2px solid var(--nc, #1a50ac);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 6px 6px;
    box-sizing: border-box;
    box-shadow:
        0 0 0 5px rgba(255,255,255,0.92),
        0 0 0 7px color-mix(in srgb, var(--nc, #1a50ac) 10%, transparent),
        0 6px 20px rgba(26,80,172,0.16),
        0 2px 5px rgba(0,0,0,0.05);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* subtle top-left sheen */
.h1-crm-node__dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
        rgba(255,255,255,0.7) 0%,
        transparent 65%);
    pointer-events: none;
}

/* Step number: small, top */
.h1-crm-node__num {
    font-size: 8.5px;
    font-weight: 900;
    color: var(--nc, #1a50ac);
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
    line-height: 1;
    position: relative;
    z-index: 1;
    opacity: 0.75;
    transition: color 0.3s, opacity 0.3s;
}

/* Icon: medium */
.h1-crm-node__icon {
    font-size: 18px;
    color: var(--nc, #1a50ac);
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

/* Short title below icon */
.h1-crm-node__label {
    font-size: 7.5px;
    font-weight: 700;
    color: var(--nc, #1a50ac);
    font-family: var(--heading-font);
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

/* Hover: filled with node colour */
.h1-crm-node:hover .h1-crm-node__dot {
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--nc, #1a50ac) 85%, white),
        var(--nc, #1a50ac) 100%);
    transform: scale(1.1);
    box-shadow:
        0 0 0 5px rgba(255,255,255,0.92),
        0 0 0 8px color-mix(in srgb, var(--nc, #1a50ac) 18%, transparent),
        0 10px 28px color-mix(in srgb, var(--nc, #1a50ac) 32%, transparent);
}

.h1-crm-node:hover .h1-crm-node__num,
.h1-crm-node:hover .h1-crm-node__icon,
.h1-crm-node:hover .h1-crm-node__label {
    color: #fff;
    opacity: 1;
}

/* ---- Mobile list fallback ---- */
.h1-circle-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.h1-circle-list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(26,80,172,0.1);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(26,80,172,0.06);
}

.h1-circle-list-num {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.h1-circle-list-step {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-family: var(--heading-font);
    margin-bottom: 2px;
}

.h1-circle-list-body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    font-family: var(--heading-font);
    margin-bottom: 4px;
}

.h1-circle-list-body p {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991px) {
    .h1-crm-wrap    { display: none; }
    .h1-circle-list { display: flex; }
}

/* ==========================================================================
   Industry CTA
   ========================================================================== */
.h1-cta {
    padding: 40px 0 80px;
}

.h1-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 80px 50px;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 40%, #1a50ac 70%, #2b6ed6 100%);
    text-align: center;
}

.h1-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(26, 80, 172, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
}

/* Twinkling stars */
.h1-cta-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.h1-cta-stars span {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: h1CtaTwinkle 3s ease-in-out infinite;
}

.h1-cta-stars span:nth-child(1)  { width: 2px; height: 2px; top: 12%; left: 8%;  animation-delay: 0s; }
.h1-cta-stars span:nth-child(2)  { width: 3px; height: 3px; top: 22%; left: 25%; animation-delay: 0.6s; }
.h1-cta-stars span:nth-child(3)  { width: 2px; height: 2px; top: 18%; left: 48%; animation-delay: 1.2s; }
.h1-cta-stars span:nth-child(4)  { width: 2px; height: 2px; top: 30%; left: 70%; animation-delay: 0.3s; }
.h1-cta-stars span:nth-child(5)  { width: 3px; height: 3px; top: 10%; left: 85%; animation-delay: 1.8s; }
.h1-cta-stars span:nth-child(6)  { width: 2px; height: 2px; top: 65%; left: 12%; animation-delay: 2.1s; }
.h1-cta-stars span:nth-child(7)  { width: 2px; height: 2px; top: 75%; left: 30%; animation-delay: 0.9s; }
.h1-cta-stars span:nth-child(8)  { width: 3px; height: 3px; top: 80%; left: 55%; animation-delay: 1.5s; }
.h1-cta-stars span:nth-child(9)  { width: 2px; height: 2px; top: 70%; left: 78%; animation-delay: 2.4s; }
.h1-cta-stars span:nth-child(10) { width: 2px; height: 2px; top: 85%; left: 92%; animation-delay: 0.4s; }
.h1-cta-stars span:nth-child(11) { width: 2px; height: 2px; top: 40%; left: 5%;  animation-delay: 1.7s; }
.h1-cta-stars span:nth-child(12) { width: 3px; height: 3px; top: 50%; left: 90%; animation-delay: 2.8s; }
.h1-cta-stars span:nth-child(13) { width: 2px; height: 2px; top: 15%; left: 65%; animation-delay: 0.7s; }
.h1-cta-stars span:nth-child(14) { width: 2px; height: 2px; top: 55%; left: 40%; animation-delay: 2.0s; }
.h1-cta-stars span:nth-child(15) { width: 2px; height: 2px; top: 90%; left: 18%; animation-delay: 1.1s; }

@keyframes h1CtaTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Floating glow orbs */
.h1-cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.4;
}

.h1-cta-glow--1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -30px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 70%);
    animation: h1CtaFloat 8s ease-in-out infinite;
}

.h1-cta-glow--2 {
    width: 160px;
    height: 160px;
    bottom: -30px;
    left: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    animation: h1CtaFloat 10s ease-in-out infinite reverse;
}

@keyframes h1CtaFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

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

.h1-cta-badge-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.h1-cta-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.h1-cta-badge-list .h1-cta-badge {
    margin-bottom: 0;
}

.h1-cta-badge--tag {
    text-transform: none;
    letter-spacing: 0.5px;
}

.h1-cta-card h2 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    font-family: var(--heading-font);
    line-height: 1.3;
}

.h1-cta-card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.h1-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: #fff;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.h1-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 80, 172, 0.08), transparent);
    transition: left 0.5s ease;
}

.h1-cta-btn:hover::before {
    left: 100%;
}

.h1-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--accent-color);
}

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

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

@media (max-width: 991px) {
    .h1-cta-card {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .h1-cta-card {
        padding: 50px 24px;
    }
    .h1-cta-card h2 {
        font-size: 28px;
    }
    .h1-cta-card p {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .h1-cta-card {
        border-radius: 20px;
        padding: 40px 18px;
    }
    .h1-cta-btn {
        padding: 13px 26px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Why Choose Us - Bento Grid
   ========================================================================== */
.h1-why {
    padding: 80px 0;
}

.h1-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    counter-reset: bento-counter;
}

.h1-bento-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(26, 80, 172, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.h1-bento-card::before {
    content: counter(bento-counter, decimal-leading-zero);
    counter-increment: bento-counter;
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(26, 80, 172, 0.15);
    font-family: var(--heading-font);
}

.h1-bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(26, 80, 172, 0.1);
    border-color: rgba(26, 80, 172, 0.2);
}

.h1-bento-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: var(--accent-soft, rgba(26, 80, 172, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.h1-bento-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.h1-bento-card:hover .h1-bento-icon {
    background: linear-gradient(135deg, var(--accent-color), #3a8eea);
}

.h1-bento-card:hover .h1-bento-icon i {
    color: #fff;
}

.h1-bento-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-family: var(--heading-font);
}

.h1-bento-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.h1-contact {
    padding: 80px 0;
}

.h1-contact-wrapper {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.h1-contact-info {
    background: linear-gradient(160deg, #1a50ac, #2b6ed6);
    padding: 40px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.h1-contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.h1-contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.h1-contact-info-icon i {
    font-size: 18px;
    color: #fff;
}

.h1-contact-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--heading-font);
}

.h1-contact-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.h1-contact-info p a {
    color: rgba(255, 255, 255, 0.85);
}

.h1-contact-info p a:hover {
    color: #fff;
}

.h1-contact-map {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.9;
}

.h1-contact-form {
    padding: 40px 35px;
}

.h1-contact .php-email-form button[type="submit"] {
    color: #fff;
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.h1-contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.h1-blog {
    padding: 80px 0;
}

.h1-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(26, 80, 172, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.h1-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 80, 172, 0.1);
}

.h1-blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.h1-blog-card:hover .h1-blog-image img {
    transform: scale(1.08);
}

.h1-blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: rgba(26, 80, 172, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h1-blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.h1-blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    font-family: var(--heading-font);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.h1-blog-content h3:hover {
    color: var(--accent-color);
}

.h1-blog-content p {
    font-size: 14.5px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.h1-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent-color);
    transition: gap 0.3s ease;
}

.h1-blog-link:hover {
    gap: 10px;
    color: var(--accent-color);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .h1-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .h1-section-heading {
        font-size: 32px;
    }
}

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

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

    .h1-about-image {
        min-height: 300px;
    }

    .h1-about-content {
        padding: 35px 30px;
    }

    /* CRM orbit — switch to list on tablet */
    .h1-crm-wrap {
        display: none;
    }

    .h1-circle-list {
        display: flex;
        margin-top: 32px;
    }

    .h1-cta-card {
        padding: 50px 30px;
    }

    .h1-cta-card h2 {
        font-size: 28px;
    }

    .h1-contact-info {
        padding: 30px 25px;
    }

    .h1-contact-form {
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    .h1-services-grid {
        grid-template-columns: 1fr;
    }

    .h1-bento-grid {
        grid-template-columns: 1fr;
    }

    .h1-bento-card {
        flex-direction: column;
    }

    .h1-section-heading {
        font-size: 26px;
    }

    .h1-about-content {
        padding: 30px 24px;
    }

    .h1-about-content h2 {
        font-size: 24px;
    }

    .h1-tabs-nav {
        gap: 6px;
    }

    .h1-tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .h1-cta-card {
        padding: 40px 24px;
    }

    .h1-cta-card h2 {
        font-size: 24px;
    }

    .h1-contact-map iframe {
        height: 160px !important;
    }
}

@media (max-width: 575px) {
    .h1-service-card-inner {
        padding: 24px 20px;
    }

    .h1-about,
    .h1-services,
    .h1-framework,
    .h1-why,
    .h1-contact,
    .h1-blog {
        padding: 50px 0;
    }

    .h1-platform-tags {
        font-size: 13px;
        gap: 8px;
    }
}
