:root {
    /* Core Branding Colors */
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;

    /* Text Colors */
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);

    /* Layout & Spacing */
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ===== WORKFLOW AUTOMATION CUSTOM STYLES ===== */

/* Hero Section */
.workflow-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    color: var(--text-white);
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.workflow-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}


.workflow-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.workflow-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.workflow-hero-badge i {
    color: #ffffff !important;
}

.workflow-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    z-index: 10;
}

.highlight-text {
    color: #fff;
}

.highlight-text {
    color: var(--text-white);
}

.workflow-hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-white) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 10;
}

/* Flow Visualization */
/* Flow Visualization - Commented Out
.flow-visual {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.flow-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 90px;
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.2);
    animation: float-element 8s ease-in-out infinite;
    z-index: 10;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.flow-element i {
    font-size: 1.8rem;
    color: #2E5096;
}

.flow-element span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.1;
}

.flow-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(74, 118, 184, 0.1), rgba(255, 255, 255, 0.9));
}

.flow-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(46, 80, 150, 0.1), rgba(255, 255, 255, 0.9));
}

.flow-3 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(255, 255, 255, 0.9));
}

.flow-4 {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.1), rgba(255, 255, 255, 0.9));
}

.flow-5 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(255, 255, 255, 0.9));
}

.flow-6 {
    bottom: 10%;
    right: 5%;
    animation-delay: 5s;
    background: linear-gradient(135deg, rgba(74, 118, 184, 0.1), rgba(255, 255, 255, 0.9));
}

@keyframes float-element {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(10px, -15px) rotate(2deg) scale(1.05);
    }

    50% {
        transform: translate(-5px, 10px) rotate(-1deg) scale(1.02);
    }

    75% {
        transform: translate(8px, 5px) rotate(1deg) scale(1.03);
    }
}

.workflow-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

.hub-core {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00D4AA, #2E5096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hub-pulse 3s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 5;
}

.hub-core i {
    font-size: 3.5rem;
    color: white;
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    animation: hub-ring-expand 3s linear infinite;
}

.hub-ring-1 {
    width: 180px;
    height: 180px;
    animation-delay: 0s;
}

.hub-ring-2 {
    width: 220px;
    height: 220px;
    animation-delay: 1s;
}

.hub-ring-3 {
    width: 260px;
    height: 260px;
    animation-delay: 2s;
}

@keyframes hub-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 50px rgba(0, 212, 170, 0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 80px rgba(0, 212, 170, 0.5);
    }
}

@keyframes hub-ring-expand {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
} */

/* Service Cards */
.workflow-service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.workflow-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00D4AA, #2E5096);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workflow-service-card:hover::before {
    opacity: 1;
}

.workflow-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.workflow-service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2E5096;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefit Cards */
.benefit-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.benefit-card:hover {
    background: #84bcdd5f;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #84bcdd, #2E5096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

/* Before/After Visualization */
.comparison-visual {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.comparison-stage {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    height: 100%;
}

.comparison-stage h4 {
    color: #2E5096;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #84bcdd;
}

.process-step i {
    color: #2E5096;
    font-size: 1.2rem;
}

.process-step.before {
    border-left-color: #ff6b6b;
}

.process-step.after {
    border-left-color: #00D4AA;
}

.arrow-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E5096;
    font-size: 2rem;
}

/* Common Workflow Cards */
.common-workflow-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.common-workflow-card:hover {
    transform: translateY(-5px);
    background-color: #84bcdd4f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #84bcdd;
}

.workflow-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A1929, #346886);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.workflow-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
    color: #84bcdd;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Platform Cards */
.platform-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.platform-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00D4AA, #2E5096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.platform-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E5096;
    font-size: 0.9rem;
}

.platform-features i {
    color: #00D4AA;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2980;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #2E5096;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 0 1.8rem 1.8rem;
    max-height: 500px;
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(110deg, #2c7bac96 20%, #84bcdd 100%);
    color: white;
}

/* Buttons */
.workflow-primary-btn {
    background: linear-gradient(135deg, #1a2980 0%, #84bcdd 100%) !important;
    color: #ffffff !important;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.workflow-primary-btn i {
    color: #ffffff !important;
}

.workflow-primary-btn:hover {
    background: linear-gradient(135deg, #2E5096 0%, #00D4AA 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
    color: white;
}

.workflow-secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.workflow-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    color: white;
}

/* Responsive Design */


/* CTA Section */
.workflow-cta {
    padding: var(--section-padding-large);
    background: var(--gradient-cta);
    text-align: center;
}

.workflow-cta h2 {
    color: var(--text-white);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.workflow-cta p {
    color: #ffffff;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #84bcdd;
    font-size: 16px;
    margin: 0 10px;
}

.cta-btn.primary {
    background: #84bcdd;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: #84bcdd;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

.cta-btn.secondary:hover {
    background: #84bcdd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

@media (max-width: 768px) {
    .workflow-hero {
        background: url('/static/assets/office-workspace.jpg') no-repeat center 40%;
        background-size: cover;
        min-height: 95vh;
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
    }

    .workflow-hero-title {
        font-size: 2.5rem;
    }

    .workflow-hero-subtitle {
        font-size: 1.1rem;
    }

    .flow-visual {
        height: 400px;
        margin-top: 2rem;
    }

    .flow-container {
        width: 300px;
        height: 300px;
    }

    .flow-element {
        width: 70px;
        padding: 0.6rem 0.8rem;
    }

    .flow-element i {
        font-size: 1.3rem;
    }

    .flow-element span {
        font-size: 0.65rem;
    }

    .hub-core {
        width: 100px;
        height: 100px;
    }

    .hub-core i {
        font-size: 2.5rem;
    }

    .workflow-primary-btn,
    .workflow-secondary-btn {
        width: 100%;
        text-align: center;
    }

    .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}

@media (max-width: 576px) {
    .workflow-hero-title {
        font-size: 2rem;
    }

    .workflow-hero-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .comparison-visual {
        padding: 1.5rem;
    }

    .common-workflow-card {
        padding: 1.25rem;
    }

    .workflow-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animation for cards when they appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workflow-service-card,
.benefit-card,
.common-workflow-card,
.platform-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Staggered animation delays */
.row.g-4>.col-md-6.col-lg-4:nth-child(1) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(1) .benefit-card {
    animation-delay: 0.1s;
}

.row.g-4>.col-md-6.col-lg-4:nth-child(2) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(2) .benefit-card {
    animation-delay: 0.2s;
}

.row.g-4>.col-md-6.col-lg-4:nth-child(3) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(3) .benefit-card {
    animation-delay: 0.3s;
}

.row.g-4>.col-md-6.col-lg-4:nth-child(4) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(4) .benefit-card {
    animation-delay: 0.4s;
}

.row.g-4>.col-md-6.col-lg-4:nth-child(5) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(5) .benefit-card {
    animation-delay: 0.5s;
}

.row.g-4>.col-md-6.col-lg-4:nth-child(6) .workflow-service-card,
.row.g-4>.col-md-6.col-lg-4:nth-child(6) .benefit-card {
    animation-delay: 0.6s;
}

/* Services Section Styling */
.services-section {
    padding: var(--section-padding-medium);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2980;
    font-weight: 700;
}

.services-section .lead {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Text Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}