/*
Theme Name: RPA Flow Theme V2
Theme URI: http://example.com/rpa-flow
Author: RPA Flow
Author URI: http://example.com
Description: A custom theme for RPA Flow Automation Solutions.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, threaded-comments, translation-ready
Text Domain: rpa-flow
*/

/* Reset & Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --max-width: 1200px;
    --nav-height: 80px;
    --radius-lg: 1rem;
    --radius-md: 0.5rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #2dd4bf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Utilities */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Space between logo image and text */
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    /* Better vertical alignment */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.tagline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 2rem;
    color: #93c5fd;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Hero Visual Animation */
.hero-visual.workflow-ani-container {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.main-card {
    width: 420px;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) translateY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.workflow-step {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.workflow-step.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.workflow-step.done {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: #22c55e;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    position: relative;
}

.connector-line {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.5s linear;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-text);
    transition: width 0.3s ease;
}

.code-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    height: 120px;
    margin-bottom: 1.5rem;
}

.scanner-line {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #60a5fa;
    opacity: 0;
    z-index: 10;
}

.scanner-line.scanning {
    opacity: 1;
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.line-row {
    display: flex;
    gap: 0.5rem;
}

.line-row .line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.line-row .line.processed {
    background: #4ade80;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-80 {
    width: 80%;
}

.status-badge-container {
    display: flex;
    justify-content: flex-end;
}

.status-badge {
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status-badge.highlight-sc {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.status-badge.highlight-dn {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.floating-card-1,
.floating-card-2,
.floating-card-3 {
    position: absolute;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 500;
    z-index: 3;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.floating-card-1.show,
.floating-card-2.show,
.floating-card-3.show {
    opacity: 1;
    transform: translateY(0) !important;
}

.floating-card-1 {
    top: 15%;
    right: -5%;
    animation: float 6s ease-in-out infinite;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.floating-card-2 {
    bottom: 25%;
    left: -10%;
    animation: float 5s ease-in-out infinite 1s;
}

.data-content {
    display: flex;
    flex-direction: column;
}

.data-content .d-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-content .d-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.floating-card-3 {
    bottom: 10%;
    right: -5%;
    animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    /* Increased letter-spacing */
}

/* Specific visibility fix for dark sections */
#pricing .section-subtitle,
#benefits .section-subtitle,
#contact .section-subtitle {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-list i {
    color: var(--primary);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-features li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.service-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.learn-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Process Timeline (Flexbox for centered last row) */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.process-step {
    flex: 0 0 calc(33.333% - 1.34rem);
    /* 3 items per row accounting for 2rem gap */
    max-width: 400px;
    /* Prevent overly stretched items on large screens */
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Animated Connectors for Desktop (3 columns) */
@media (min-width: 993px) {
    .process-step:not(:nth-child(3n)):not(:last-child)::after {
        content: '\f061';
        /* fa-arrow-right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: -1.75rem;
        font-size: 1.5rem;
        color: var(--primary);
        opacity: 0;
        animation: slideRightPulse 2s infinite ease-in-out;
        z-index: 10;
        pointer-events: none;
    }

    /* Stagger the animation timing for consecutive arrows */
    .process-step:nth-child(1)::after {
        animation-delay: 0s;
    }

    .process-step:nth-child(2)::after {
        animation-delay: 0.5s;
    }

    .process-step:nth-child(4)::after {
        animation-delay: 1s;
    }
}

@keyframes slideRightPulse {
    0% {
        transform: translate(-10px, -50%);
        opacity: 0;
    }

    50% {
        transform: translate(0, -50%);
        opacity: 1;
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    100% {
        transform: translate(10px, -50%);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .process-step {
        flex: 0 0 calc(50% - 1rem);
        /* 2 items per row */
    }
}

/* Animated Connectors for Tablet (2 columns) */
@media (max-width: 992px) and (min-width: 769px) {
    .process-step:not(:nth-child(2n)):not(:last-child)::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: -1.5rem;
        font-size: 1.5rem;
        color: var(--primary);
        opacity: 0;
        animation: slideRightPulse 2s infinite ease-in-out;
        z-index: 10;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 100%;
        /* Full width on mobile */
        margin-bottom: 2.5rem;
        /* Space for vertical arrow */
    }

    /* Remove bottom margin on very last item to prevent extra space */
    .process-step:last-child {
        margin-bottom: 0;
    }

    /* Animated Connectors for Mobile (1 column) */
    .process-step:not(:last-child)::after {
        content: '\f063';
        /* fa-arrow-down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: -2.75rem;
        left: 50%;
        font-size: 1.5rem;
        color: var(--primary);
        opacity: 0;
        animation: slideDownPulse 2s infinite ease-in-out;
        z-index: 10;
        pointer-events: none;
    }
}

@keyframes slideDownPulse {
    0% {
        transform: translate(-50%, -10px);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, 0);
        opacity: 1;
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }

    100% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 4px solid var(--white);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--accent);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.step-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Benefits */
.col-half {
    width: 50%;
}

.row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.benefit-item h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.stats-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #cbd5e1;
}

/* Impact Showcase Container */
.impact-showcase-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
}

.impact-tabs {
    display: flex;
    background: var(--light-bg);
    border-bottom: 2px solid #e2e8f0;
}

.impact-tab {
    flex: 1;
    padding: 1.5rem 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.impact-tab:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.02);
}

.impact-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--white);
}

.impact-content-area {
    padding: 3rem;
}

.impact-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.impact-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.before-after-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.metric {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.metric .label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.metric .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.2;
}

.metric.after .value {
    font-size: 2.2rem;
}

.metric .sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.metric-divider {
    color: #cbd5e1;
    font-size: 2rem;
}

.impact-description p {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.7;
}

/* Workflow Diagram */
.workflow-diagram {
    background: var(--dark-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.workflow-diagram::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
}

.diagram-title {
    color: var(--white);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 1px;
}

.diagram-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    width: 30%;
    z-index: 2;
}

.d-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.d-step span {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}

.d-arrow {
    flex: 1;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
    margin-top: -30px;
}

.d-arrow .line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.d-arrow .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--gradient-text);
    animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.d-arrow i {
    margin-left: -5px;
    color: rgba(255, 255, 255, 0.4);
}

.active-pulse .d-icon {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    animation: pulseIcon 2s infinite;
}

.active-pulse span {
    color: #60a5fa;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}


.tech-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.7;
}

.tech-logos span {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.25rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* CTA */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 6rem 1rem;
}

.cta-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
    outline: none;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

/* Contact Section Updates */
.contact-links li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-item-link,
.contact-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-address {
    align-items: flex-start;
    /* For multi-line addresses */
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    /* Ensure icon doesn't shrink */
    font-size: 1.5rem;
    color: var(--secondary);
    /* Teal color */
}

.contact-item-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-item-link:hover .icon-box {
    color: var(--primary);
    /* Optional: Change icon color on hover */
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

.contact-col h4 {
    margin-bottom: 2rem;
    /* Extra space below "Get In Touch" */
    font-size: 1.25rem;
}


.footer ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #0077b5;
    /* LinkedIn Color */
    transform: translateY(-3px);
    color: var(--white);
}



@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 100%;
        text-align: center;
        padding: 0 1.5rem;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
        word-wrap: break-word;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
        display: flex;
        gap: 1rem;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        transform: scale(0.9);
        transform-origin: center top;
        /* Ensure it doesn't overflow horizontally */
        max-width: 100%;
        overflow: visible;
    }

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

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

    .stats-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-links {
        display: none;
        position: fixed;
        /* Fixed to cover screen securely */
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        height: calc(100dvh - var(--nav-height));
        background: rgba(15, 23, 42, 0.98);
        /* Improved opacity */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        overflow-y: auto;
        /* Handle scrolling for small screens/landscape */
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 3rem);
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-visual {
        transform: scale(0.65);
        margin-top: -30px;
        margin-bottom: -50px;
        /* Compensation for scale empty space */
        height: 350px;
        /* Reduce reserved height */
    }

    .main-card {
        width: 320px;
        /* Slightly smaller base for mobile */
        height: 240px;
    }

    .floating-card-1 {
        right: -10px;
        top: 10%;
    }

    .floating-card-2 {
        left: -10px;
        bottom: 10%;
    }

    .row {
        flex-direction: column;
        gap: 2rem;
    }

    .col-half {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

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

    .process-step {
        width: 100%;
        flex: 0 0 100%;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        min-width: 120px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    animation: fadeIn 0.3s ease;
}

/* Enhanced Tech Stack Styles */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.tech-category {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tech-category:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-category h4 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Enhanced Pricing Styles (Overrides) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15), 0 0 15px rgba(59, 130, 246, 0.05);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-header h3 {
    color: var(--dark-bg);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.price-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    list-style: none;
}

.pricing-features li {
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-card.featured {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.ai-pricing-section {
    position: relative;
    overflow: hidden;
}

.ai-glow-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    z-index: 5;
    white-space: nowrap;
}

/* Accordion FAQ Styles - Aesthetically Modern */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 1.05rem;
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
    border-top-color: #f1f5f9;
    padding-top: 1rem;
}

.faq-content p {
    margin: 0;
}

/* Enhanced Getting Started / CTA */
.getting-started-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gs-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.gs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.gs-card h3 {
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gs-card p {
    color: #e2e8f0;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

.gs-card ul {
    margin-bottom: 2.5rem;
    color: #cbd5e1;
}

.gs-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gs-card ul li::before {
    content: "\f00c";
    /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
}

.gs-card button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: auto;
}

/* Success Story List Styles */
.result-list {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.result-list strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.result-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.result-list li {
    margin-bottom: 0.25rem;
}

.case-card {
    display: flex;
    flex-direction: column;
}

.case-header h4 {
    white-space: normal;
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 70%;
}

/* Testimonials Styles */
.testimonials-marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.testimonials-marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.testimonials-marquee:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
    width: 450px;
    flex-shrink: 0;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.client-info h4 {
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.client-info span {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Consultation Page Styles */
.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
}

.contact-info-panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-panel ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    line-height: 1.5;
}

.info-block h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group-vertical label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-bg);
}

.form-group-vertical input,
.form-group-vertical select,
.form-group-vertical textarea {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .about-visual,
    .stats-visual {
        grid-template-columns: 1fr;
        /* Stack cards vertically on mobile */
    }

    .contact-info-panel {
        padding: 1.5rem;
        word-wrap: break-word;
        /* Ensure text wraps */
    }

    .contact-info-panel ul li {
        flex-wrap: nowrap;
        /* Don't wrap the icon to next line, wrap text instead */
        align-items: flex-start;
    }

    .check-list li span {
        flex: 1;
        min-width: 0;
        /* crucial for flex text wrapping */
        word-wrap: break-word;
    }

    .feature-box,
    .stat-card {
        padding: 1.5rem;
        /* Reduce padding on small cards */
    }
}


.form-group-vertical input:focus,
.form-group-vertical select:focus,
.form-group-vertical textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--white);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Responsive Adjustments for Consultation Page */
@media (max-width: 900px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-panel,
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 1rem;
    }

    .consultation-wrapper {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .contact-info-panel,
    .form-container {
        padding: 1.5rem;
    }

    .contact-info-panel h3 {
        font-size: 1.25rem;
    }

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

    .full-width {
        font-size: 1rem;
        padding: 0.85rem;
    }
}

/* Impact Showcase Responsive */
@media (max-width: 900px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .impact-tabs {
        flex-direction: column;
    }

    .impact-tab {
        border-bottom: 1px solid #e2e8f0;
        border-left: 4px solid transparent;
        justify-content: flex-start;
        padding-left: 1.5rem;
    }

    .impact-tab.active {
        border-bottom: 1px solid #e2e8f0;
        border-left-color: var(--primary);
    }

    .impact-content-area {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .before-after-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-divider {
        transform: rotate(90deg);
    }

    .impact-content-area {
        padding: 1.5rem;
    }

    .diagram-flow {
        flex-direction: column;
        gap: 1.5rem;
    }

    .d-step {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .d-arrow {
        display: none;
    }
}

/* AI Services Grid Design */
.ai-services-section {
    position: relative;
    overflow: hidden;
}

.ai-services-section .ai-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.ai-services-grid {
    position: relative;
    z-index: 2;
}

.ai-services-grid .service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.ai-services-grid .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ai-services-grid .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.ai-services-grid .service-card:hover::before {
    opacity: 1;
}

.ai-services-grid .service-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ai-services-grid .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.ai-services-grid .service-card h3 {
    color: var(--white);
    font-weight: 700;
}

.ai-services-grid .service-features li::before {
    color: #60a5fa;
}

.ai-services-grid .service-features strong {
    color: #f8fafc;
}

.ai-services-grid .service-features li {
    color: #94a3b8;
}

.ai-services-section .section-header p {
    color: #94a3b8;
}

/* AI Tech Section */
.ai-tech-section {
    position: relative;
    overflow: hidden;
}

.ai-tech-section .ai-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.ai-tech-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glass-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.glass-panel .tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

.glass-panel h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    width: 100%;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tech-badge i {
    color: #60a5fa;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tech-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    color: var(--white);
    border-color: rgba(59, 130, 246, 0.3);
}

.tech-badge:hover i {
    color: #93c5fd;
    transform: scale(1.1);
}