/* ==========================================================================
   Vibrace Data & Analytics Solutions Styles
   ========================================================================== */

/* Variables */
:root {
    --vb-primary: #1F3D83;
    --vb-primary-light: #2b55b5;
    --vb-accent: #00B140;
    --vb-accent-light: #00d94f;
    --vb-text: #333333;
    --vb-text-light: #666666;
    --vb-bg-light: #f8fafc;
    --vb-white: #ffffff;
    --vb-border: #e2e8f0;
    --vb-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --vb-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --vb-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --vb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Theme Container Constraints */
body.page-template-page-data-analytics-solutions .page-header,
body.page-template-page-data-analytics-solutions .breadcrumb-wrapper,
body.page-id-712 .page-header,
body.page-id-712 .breadcrumb-wrapper {
    display: none !important;
}

body.page-template-page-data-analytics-solutions #content.site-content,
body.page-id-712 #content.site-content,
body.page-template-page-data-analytics-solutions #content .container,
body.page-id-712 #content .container,
body.page-template-page-data-analytics-solutions .content-grid,
body.page-id-712 .content-grid {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* Base Elements */
.vb-data-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--vb-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.vb-data-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.reveal-anim {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Buttons */
.vb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vb-accent);
    color: var(--vb-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--vb-transition);
    border: 2px solid var(--vb-accent);
    cursor: pointer;
}
.vb-btn:hover {
    background: transparent;
    color: var(--vb-accent);
}
.vb-btn-primary {
    background: var(--vb-primary);
    border-color: var(--vb-primary);
}
.vb-btn-primary:hover {
    background: var(--vb-white);
    color: var(--vb-primary);
}

/* 1. Hero Section */
.vb-hero {
    background: var(--vb-bg-light);
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.vb-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.vb-hero-content {
    animation: fadeInLeft 0.8s ease forwards;
}

.vb-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--vb-primary);
}

.vb-hero p {
    font-size: 1.25rem;
    color: var(--vb-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.vb-hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(31, 61, 131, 0.2);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.vb-hero-image-wrapper img {
    transition: transform 1.5s ease;
}
.vb-hero-image-wrapper:hover img {
    transform: scale(1.03);
}

/* 2. Turning Data Into Insight (Asymmetric Split) */
.vb-split-section {
    padding: 100px 5%;
    background: var(--vb-white);
}

.vb-split-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 5rem;
    align-items: center;
}

.vb-split-image {
    position: relative;
}

.vb-split-image img {
    border-radius: 20px;
    box-shadow: var(--vb-shadow-lg);
    width: 100%;
}

.vb-section-title {
    font-size: 2.5rem;
    color: var(--vb-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.vb-highlight-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vb-highlight-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--vb-bg-light);
    transition: var(--vb-transition);
}
.vb-highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--vb-shadow-sm);
    background: var(--vb-white);
    border: 1px solid var(--vb-border);
}

.vb-highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--vb-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vb-primary);
    font-size: 1.2rem;
    box-shadow: var(--vb-shadow-sm);
    transition: var(--vb-transition);
}

.vb-highlight-item:hover .vb-highlight-icon {
    background: var(--vb-accent);
    color: var(--vb-white);
}

.vb-highlight-text h4 {
    margin: 0;
    color: var(--vb-primary);
    font-size: 1.1rem;
}

/* 3. Our Data & Analytics Solutions */
.vb-solutions-section {
    padding: 100px 5%;
    background: var(--vb-primary);
    color: var(--vb-white);
}
.vb-solutions-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.vb-solutions-section .vb-solutions-header h2 {
    color: var(--vb-white);
}

.vb-solution-blocks {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.vb-sol-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--vb-transition);
}

.vb-sol-block:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.vb-sol-icon {
    font-size: 2.5rem;
    color: var(--vb-accent);
    margin-bottom: 1.5rem;
    transition: var(--vb-transition);
}
.vb-sol-block:hover .vb-sol-icon {
    color: var(--vb-white);
    transform: scale(1.1);
}

.vb-sol-block h3 {
    color: var(--vb-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.vb-sol-block p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* 4. Data Journey */
.vb-journey-section {
    padding: 100px 5%;
    background: var(--vb-bg-light);
    text-align: center;
}

.vb-journey-container {
    max-width: 1000px;
    margin: 4rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.vb-journey-line {
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--vb-border);
    z-index: 1;
}
.vb-journey-line-anim {
    height: 100%;
    background: var(--vb-accent);
    width: 0%;
    transition: width 2s ease;
}

.vb-journey-step {
    position: relative;
    z-index: 2;
    flex: 1;
}

.vb-journey-icon {
    width: 80px;
    height: 80px;
    background: var(--vb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--vb-primary);
    font-size: 1.5rem;
    border: 4px solid var(--vb-bg-light);
    box-shadow: var(--vb-shadow-sm);
    transition: var(--vb-transition);
}
.vb-journey-step:hover .vb-journey-icon {
    background: var(--vb-primary);
    color: var(--vb-accent);
    transform: translateY(-10px);
}
.vb-journey-step h4 {
    color: var(--vb-primary);
    margin-bottom: 0.5rem;
}
.vb-journey-step p {
    font-size: 0.85rem;
    color: var(--vb-text-light);
}

/* 5. Data Visualization */
.vb-viz-section {
    padding: 100px 5%;
    background: var(--vb-white);
}

.vb-viz-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.vb-viz-image {
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--vb-shadow-lg);
    position: relative;
}
.vb-viz-image img {
    width: 100%;
}

.vb-viz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}

.vb-viz-card {
    background: var(--vb-bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid var(--vb-accent);
}
.vb-viz-card h4 {
    color: var(--vb-primary);
    margin-bottom: 0.5rem;
}
.vb-viz-card p {
    font-size: 0.9rem;
    color: var(--vb-text-light);
    margin: 0;
}

/* 6. Business Intelligence */
.vb-bi-section {
    padding: 100px 5%;
    background: var(--vb-bg-light);
}

.vb-bi-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.vb-bi-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.vb-bi-img-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--vb-shadow-md);
}
.vb-bi-img-tall {
    grid-row: span 2;
    height: 100%;
}
.vb-bi-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 7. Analytics in Action */
.vb-action-section {
    padding: 100px 5%;
    background: var(--vb-white);
}

.vb-action-grid {
    max-width: 1280px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.vb-action-card {
    text-align: center;
}

.vb-action-visual {
    background: var(--vb-bg-light);
    height: 250px;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--vb-primary-light);
    position: relative;
    overflow: hidden;
}

/* Simulated data flows for visuals */
.data-flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--vb-accent), transparent);
    animation: dataFlow 3s infinite linear;
}
.dfl-1 { left: 20%; animation-delay: 0s; }
.dfl-2 { left: 50%; animation-delay: 1.5s; }
.dfl-3 { left: 80%; animation-delay: 0.7s; }

.vb-action-card h3 {
    color: var(--vb-primary);
    margin-bottom: 1rem;
}

/* 8. From Data to Decision */
.vb-d2d-section {
    padding: 100px 5%;
    background: var(--vb-primary);
    color: var(--vb-white);
}
.vb-d2d-container {
    max-width: 1000px;
    margin: 0 auto;
}
.vb-d2d-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
}
.vb-d2d-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}
.vb-d2d-step::after {
    content: '\f063';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--vb-accent);
    font-size: 1.5rem;
}
.vb-d2d-step:last-child::after {
    display: none;
}
.vb-d2d-icon {
    font-size: 3rem;
    color: var(--vb-accent);
    width: 80px;
    text-align: center;
}
.vb-d2d-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--vb-white);
    font-size: 1.5rem;
}
.vb-d2d-text p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

/* 9. Business Benefits */
.vb-benefits-section {
    padding: 100px 5%;
    background: var(--vb-white);
}
.vb-ben-grid {
    max-width: 1280px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.vb-ben-card {
    text-align: center;
    padding: 2rem;
    background: var(--vb-bg-light);
    border-radius: 16px;
    transition: var(--vb-transition);
}
.vb-ben-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--vb-shadow-sm);
    background: var(--vb-primary);
}
.vb-ben-icon {
    font-size: 2.5rem;
    color: var(--vb-accent);
    margin-bottom: 1.5rem;
    transition: var(--vb-transition);
}
.vb-ben-card:hover .vb-ben-icon {
    color: var(--vb-white);
}
.vb-ben-card h4 {
    color: var(--vb-primary);
    margin-bottom: 1rem;
    transition: var(--vb-transition);
}
.vb-ben-card:hover h4 {
    color: var(--vb-white);
}
.vb-ben-card p {
    font-size: 0.9rem;
    color: var(--vb-text-light);
    margin: 0;
    transition: var(--vb-transition);
}
.vb-ben-card:hover p {
    color: rgba(255,255,255,0.8);
}

/* 10. Why Vibrace */
.vb-why-section {
    padding: 100px 5%;
    background: var(--vb-bg-light);
}
.vb-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 3rem auto 0;
}
.vb-why-card {
    background: var(--vb-white);
    padding: 2.5rem;
    border-radius: 16px;
    border-top: 4px solid var(--vb-primary);
    transition: var(--vb-transition);
}
.vb-why-card:hover {
    border-top-color: var(--vb-accent);
    box-shadow: var(--vb-shadow-lg);
}

/* 11. CTA */
.vb-cta-section {
    padding: 80px 5%;
    background: var(--vb-primary);
    color: var(--vb-white);
    text-align: center;
}
.vb-cta-section h2 {
    color: var(--vb-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* 12. FAQ */
.vb-faq-section {
    padding: 100px 5%;
    background: var(--vb-white);
}
.vb-faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}
.vb-faq-item {
    border-bottom: 1px solid var(--vb-border);
    padding: 1.5rem 0;
}
.vb-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--vb-primary);
    font-size: 1.1rem;
}
.vb-faq-icon {
    color: var(--vb-accent);
    transition: transform 0.3s ease;
}
.vb-faq-item.active .vb-faq-icon {
    transform: rotate(45deg);
}
.vb-faq-a {
    display: none;
    padding-top: 1rem;
    color: var(--vb-text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .vb-split-container,
    .vb-bi-container { grid-template-columns: 1fr; }
    
    .vb-split-image { order: -1; }
    
    .vb-viz-grid,
    .vb-ben-grid { grid-template-columns: repeat(2, 1fr); }
    
    .vb-journey-container {
        flex-direction: column;
        gap: 2rem;
    }
    .vb-journey-line { display: none; }
}

@media (max-width: 768px) {
    .vb-hero-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .vb-hero p { margin: 0 auto 2.5rem; }
    .vb-hero h1 { font-size: 2.5rem; }
    
    .vb-solutions-blocks,
    .vb-action-grid,
    .vb-why-grid,
    .vb-viz-grid,
    .vb-ben-grid { grid-template-columns: 1fr; }
    
    .vb-d2d-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}


/* AUTOMATED RESPONSIVE FIXES */
@media (max-width: 1024px) {
    .vb-viz-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .vb-action-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .vb-ben-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .vb-why-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    img { max-width: 100% !important; height: auto !important; object-fit: cover; }
    .vb-hero-container { grid-template-columns: 1fr !important; }
    .vb-split-container { grid-template-columns: 1fr !important; }
    .vb-solution-blocks { grid-template-columns: 1fr !important; }
    .vb-viz-grid { grid-template-columns: 1fr !important; }
    .vb-bi-container { grid-template-columns: 1fr !important; }
    .vb-bi-images { grid-template-columns: 1fr !important; }
    .vb-action-grid { grid-template-columns: 1fr !important; }
    .vb-ben-grid { grid-template-columns: 1fr !important; }
    .vb-why-grid { grid-template-columns: 1fr !important; }
    .vb-highlight-list { flex-direction: column !important; }
    .vb-highlight-item { flex-direction: column !important; }
    .vb-highlight-icon { flex-direction: column !important; }
    .vb-journey-container { flex-direction: column !important; }
    .vb-journey-icon { flex-direction: column !important; }
    .vb-action-visual { flex-direction: column !important; }
    .vb-d2d-flow { flex-direction: column !important; }
    .vb-d2d-step { flex-direction: column !important; }
    .vb-faq-q { flex-direction: column !important; }
    .vb-hero { padding: 40px 15px !important; }
    .vb-split-section { padding: 40px 15px !important; }
    .vb-solutions-section { padding: 40px 15px !important; }
    .vb-journey-section { padding: 40px 15px !important; }
    .vb-viz-section { padding: 40px 15px !important; }
    .vb-bi-section { padding: 40px 15px !important; }
    .vb-action-section { padding: 40px 15px !important; }
    .vb-d2d-section { padding: 40px 15px !important; }
    .vb-benefits-section { padding: 40px 15px !important; }
    .vb-why-section { padding: 40px 15px !important; }
    .vb-cta-section { padding: 40px 15px !important; }
    .vb-faq-section { padding: 40px 15px !important; }
    .vb-action-visual { font-size: 2.2rem !important; line-height: 1.3 !important; }
    body, html { overflow-x: hidden !important; }
    .container, .vb-page-container { padding-left: 15px !important; padding-right: 15px !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    * { box-sizing: border-box !important; }
}


/* TIGHTEN MOBILE SCROLLING */
@media (max-width: 768px) {
    .vb-process-container, .vb-process-steps { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem !important; }
    .vb-process-icon, .vb-process-num { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; margin: 0 auto 0.5rem !important; border-width: 2px !important; }
    .vb-process-step { max-width: 100% !important; padding: 0 !important; }
    .vb-strength-card, .vb-value-content, .vb-wedo-card { padding: 1.5rem 1rem !important; }
    .vb-strength-icon, .vb-wedo-icon { font-size: 1.8rem !important; margin-bottom: 0.5rem !important; }
    .vb-strengths-grid, .vb-values-grid { gap: 1rem !important; }
    h3, h4 { margin-bottom: 0.25rem !important; }
    .vb-why-section, .vb-tech-.vb-values-section, .vb-strengths-.vb-process-section, .vb-about-.vb-wedo-section { padding: 30px 15px !important; }
}


/* AGGRESSIVE MOBILE SPACE REDUCTION */
@media (max-width: 768px) {
    .vb-hero,
    .vb-split-.vb-solutions-section,
    .vb-sol-block,
    .vb-journey-.vb-viz-section,
    .vb-bi-.vb-action-section,
    .vb-d2d-.vb-d2d-step,
    .vb-benefits-.vb-why-section,
    .vb-why-card,
    .vb-cta-.vb-faq-section,
    .vb-faq-item,
    .vb-strength-card, .vb-value-content, .vb-wedo-card {
        padding: 30px 15px !important;
    }
    .vb-section-title,
    .vb-highlight-list,
    .vb-solutions-header,
    .vb-sol-icon,
    .vb-journey-container,
    .vb-journey-icon,
    .vb-viz-image,
    .vb-action-grid,
    .vb-d2d-flow,
    .vb-ben-grid,
    .vb-ben-icon,
    .vb-why-grid,
    .vb-faq-container,
    .vb-process-icon, .vb-process-num,
    .vb-strength-icon, .vb-wedo-icon {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    .vb-hero-container,
    .vb-split-container,
    .vb-highlight-list,
    .vb-highlight-item,
    .vb-solution-blocks,
    .vb-viz-grid,
    .vb-bi-container,
    .vb-action-grid,
    .vb-d2d-flow,
    .vb-d2d-step,
    .vb-ben-grid,
    .vb-why-grid,
    .vb-journey-container,
    .vb-process-container, .vb-process-steps {
        gap: 1rem !important;
    }
    .vb-section-header, .vb-wedo-header, .vb-strengths-header, .vb-process-header { text-align: center !important; margin-bottom: 2rem !important; }
    h1, h2 { text-align: center !important; }
    p { text-align: center !important; }
    .vb-process-step, .vb-wedo-card, .vb-strength-card, .vb-service-card { text-align: center !important; align-items: center !important; }
    .vb-process-icon, .vb-wedo-icon, .vb-strength-icon { margin: 0 auto 1rem auto !important; }
}


/* CENTER FOOTER MOBILE */
@media (max-width: 768px) {
    footer, .site-footer, .footer-widgets, .widget { text-align: center !important; }
    footer ul, .widget ul, footer li, .widget li { text-align: center !important; justify-content: center !important; align-items: center !important; }
    .widget_nav_menu li { display: block !important; }
    .widget_nav_menu a { display: inline-block !important; }
    .widget_custom_html a, .widget_text a { display: inline-block !important; margin: 0 5px !important; }
}
