:root {
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;
    --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);
    --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);
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;
    --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;
    --primary-blue: #2E5096;
    --secondary-blue: #84bcdd;
    --accent-teal: #00D4AA;
    --dark-bg: #0A1929;
    --light-bg: #f1f2f4;
    --card-bg: white;
    --border-color: var(--text-white);
}

/* ============================================
   AI CONSULTING SERVICE PAGE STYLES
   ============================================ */

/* Hero Section - Updated colors */
.ai-consulting-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 5rem 0 0 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

/* Dark overlay for better text readability */
.ai-consulting-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.ai-consulting-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 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.ai-consulting-hero .container {
    position: relative;
    z-index: 10;
}

.ai-consulting-hero h1 {
    font-size: 56px;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInDown 0.8s ease-out;
}

.ai-consulting-hero p {
    color: var(--text-white);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Services Grid Section - Updated colors and effects */
.ai-consulting-services {
    padding: 80px 0;

    background: #4d6ba6;
}

.services-grid {
    display: grid;
    border-color: #010D2E;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-color: #010D2E;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

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

.service-card:hover::before {
    background: #84bcdd;
    opacity: 1;
}

.service-card:hover {
    border-color: #84bcdd;
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card-icon {
    font-size: 48px;
    color: #2E5096;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #1a2980;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Features Section - Updated colors */
.ai-consulting-features {
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f2f4 0%, #eef2f7 100%);
}

.features-content {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    align-items: center;
    list-style: none;
    padding: 0;
}

.features-list li {
    align-items: center;
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #84bcdd;
    font-weight: bold;
    font-size: 20px;
}

/* Process Section - Updated colors */
.ai-consulting-process {
    padding: 80px 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #84bcdd, transparent);
    z-index: 0;
}

.process-step {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #84bcdd;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #84bcdd, #2E5096);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-step h4 {
    color: #1a2980;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Benefits Section - Updated colors */
.ai-consulting-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    padding: 30px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #84bcdd;
}

.benefit-icon {
    font-size: 40px;
    color: #2E5096;
    margin-bottom: 15px;
}

.benefit-item h4 {
    color: #1a2980;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Section - Updated to match final-cta section */
.ai-consulting-cta {
    padding: 6rem 0;
    background: linear-gradient(110deg, #2c7bac96 20%, #84bcdd 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    color: black;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #123e58;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #84bcdd;
    font-size: 1.3rem;
}

.cta-button:hover {
    background: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* 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);
    }
}

/* Responsive Design */


/* CTA Section */
.ai-consulting-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    text-align: center;
}

.ai-consulting-cta h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.ai-consulting-cta p {
    color: #bbb;
    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) {

    .ai-consulting-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;
    }

    .ai-consulting-hero h1 {
        font-size: 36px;
    }

    .ai-consulting-hero p {
        font-size: 16px;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    .ai-consulting-services,
    .ai-consulting-features,
    .ai-consulting-process,
    .ai-consulting-benefits,
    .ai-consulting-cta {
        padding: 50px 0;
    }
}

/* Stats Bar - Updated colors */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: fit-content;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #0c83b1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

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

/* Button Styles - Updated to match */
.workflow-primary-btn,
.ai-consulting-primary-btn {
    background: linear-gradient(135deg, #84bcdd 0%, #2E5096 100%);
    color: white;
    border: none;
    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-primary-btn:hover,
.ai-consulting-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,
.ai-consulting-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,
.ai-consulting-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    color: white;
}

/* Additional hover effects for cards */
.service-card:hover,
.process-step:hover,
.benefit-item:hover {
    border-color: var(--text-white);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Updated color scheme for all elements */


/* Hero background is defined above with image */

.ai-consulting-services {
    background: var(--light-bg);
}

.service-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.service-card::before {
    background: linear-gradient(90deg, var(--accent-teal), var(--primary-blue));
}

.service-card-icon {
    color: var(--primary-blue);
}

.service-card h3 {
    color: var(--text-dark);
}

.ai-consulting-features {
    background: linear-gradient(135deg, var(--light-bg) 0%, #eef2f7 100%);
}

.features-list li::before {
    color: var(--secondary-blue);
}

.process-step {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.step-number {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.process-step h4 {
    color: var(--text-dark);
}

.ai-consulting-benefits {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.benefit-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.benefit-icon {
    color: var(--primary-blue);
}

.benefit-item h4 {
    color: var(--text-dark);
}

.ai-consulting-cta {
    background: linear-gradient(135deg, #0A1929 0%, #2E5096 100%);
}