/* Global Reset & Variables */
:root {
    --primary-color: #3b82f6;
    /* Brand Navy from Logo */
    --primary-dark: #3b82f6;
    --primary-light: #e8effa;
    --accent-color: #3B82F6;
    /* Vibrant Blue */
    --secondary-color: #0F172A;
    /* Deep Navy for rich contrast */
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #7c3aed 100%);
    --bg-white: rgba(255, 255, 255, 0.7);
    --bg-off-white: rgba(248, 250, 252, 0.4);
    --border-light: #e2e8f0;
    --text-main: #1e293b;
    --text-light: #0b0c0c;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --font-main: 'Work Sans', sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-fast: 0.2s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Stagger Effects */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

body {
    font-family: var(--font-main);
    background-color: #f0f7ff;
    /* Very soft light blue tint */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Modern Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
}

.loader-logo {
    margin-bottom: 30px;
    position: relative;
}

.loader-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(59, 130, 246, 0.2));
}

.loader-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    animation: loadBar 2s ease-in-out forwards;
}

.loader-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulseText 1.5s infinite;
}

@keyframes loadBar {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Page Background System */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background-color: #f8fafc;
    /* Base shade */
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
    filter: blur(40px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: -1;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -200px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -200px;
    animation-delay: -7s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    top: 30%;
    left: 40%;
    animation-delay: -12s;
}

.blob-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.12) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: -18s;
}

.abstract-shape {
    position: absolute;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
    animation: rotate 60s infinite linear;
}

.shape-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
    bottom: 20%;
    left: 15%;
    width: 400px;
    height: 400px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    animation-direction: reverse;
    animation-duration: 80s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, 80px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 40px) scale(0.9);
    }

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Hero Background Slider with Smooth Cross-fade */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(#ffffff, #2563eb66), url('2151910965.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.background-grid::before,
.background-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: none;
}

.background-grid::before {
    background-image: linear-gradient(#ffffff, #2563eb66), url('DB50108D-2723-4367-869D-5295843BCA57.PNG');
    animation: fadeBefore 12s infinite;
}

.background-grid::after {
    background-image: linear-gradient(#ffffff, #2563eb66), url('odoo_hero_illustration.png');
    animation: fadeAfter 12s infinite;
}

@keyframes fadeBefore {

    0%,
    33.33% {
        opacity: 0;
    }

    41.66%,
    66.66% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

@keyframes fadeAfter {

    0%,
    66.66% {
        opacity: 0;
    }

    75%,
    91.66% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Case Study Hero Specifics */
.case-study-hero .background-grid {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)),
        url('case-study-hero-bg.png') center/cover no-repeat;
}

.case-study-hero h1,
.case-study-hero .hero-subtext {
    color: white !important;
}

.case-study-hero .text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
}

.navbar-pill {
    background: rgba(255, 255, 255, 0.599);
    backdrop-filter: blur(12px);
    /* border: 1px solid rgba(226, 232, 240, 0.8); */
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.logo a img {
    display: block;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.dropdown-trigger:hover {
    color: var(--primary-color);
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Prevent interaction when hidden */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    margin-top: 15px;
    display: flex;
    /* Mega Menu by default */
    gap: 30px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Enable interaction when visible */
    transform: translateX(-50%) translateY(0);
}

/* Stability bridges - only active during hover to prevent ghost triggers */
.nav-dropdown::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 40px;
    background: transparent;
    display: none;
    z-index: 1;
}

.nav-dropdown:hover::after {
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

/* removed old simplified hover to use the one above with transform */

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-off-white);
    color: var(--primary-color);
}

/* Sub-dropdown to Mega Column Conversion (Desktop) */
@media (min-width: 1025px) {
    .dropdown-menu {
        flex-direction: row;
        /* Horizontal columns */
        min-width: 950px;
        padding: 40px;
        gap: 50px;
    }

    .sub-dropdown {
        min-width: 240px;
        flex: 1;
        position: relative;
    }

    /* Change trigger to a header */
    .sub-dropdown-trigger {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        padding: 0 0 15px 0 !important;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: block !important;
        pointer-events: none;
        white-space: normal;
        line-height: 1.4;
    }

    .sub-arrow {
        display: none;
    }

    .sub-dropdown-menu {
        display: flex !important;
        flex-direction: column;
        gap: 2px;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-height: none !important;
    }

    .sub-dropdown-menu a {
        padding: 8px 10px !important;
        font-size: 0.9rem !important;
        color: #64748b !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
        white-space: normal !important;
        line-height: 1.4;
    }

    .sub-dropdown-menu a:hover {
        background: rgba(37, 99, 235, 0.08) !important;
        color: var(--primary-color) !important;
        transform: translateX(5px);
    }

    /* Standard style for simple dropdowns */
    .nav-dropdown:not(:has(.sub-dropdown)) .dropdown-menu {
        flex-direction: column;
        min-width: 200px;
        padding: 10px;
        min-height: auto;
        gap: 2px;
        /* Small gap between vertical items */
    }

    .nav-dropdown:not(:has(.sub-dropdown)) .dropdown-menu a {
        padding: 10px 15px;
        border-radius: 8px;
    }
}

/* Accordion for Mobile/Small Screens */
@media (max-width: 1024px) {
    .dropdown-menu {
        flex-direction: column;
        padding: 15px;
    }

    .sub-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.02);
        transition: max-height 0.3s ease;
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }

    .sub-dropdown:hover .sub-dropdown-menu {
        max-height: 1000px;
    }

    .sub-dropdown-menu a {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
}


.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-text {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-primary-sm {
    background: var(--accent-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Navigation Elements - Hidden on Desktop */
.mobile-nav,
.mobile-nav-overlay,
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle {
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Badge */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Typography */
h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

.typing-container {
    display: inline-flex;
    align-items: center;
    min-width: 320px;
    padding: 2px 20px;
    background: rgba(255, 255, 255, 0.85);
    /* Whiter background for contrast */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--primary-color);
    /* Highlight with brand color */
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
    margin: 0 12px;
    height: 1.4em;
    vertical-align: middle;
    transition: all 0.3s ease;
}

#typing-text {
    font-weight: 800;
    /* Extra bold for readability */
    letter-spacing: -0.01em;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background-color: var(--primary-color);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-primary-lg {
    background: var(--accent-gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: var(--transition-fast);
}

.btn-primary-lg:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.5);
}

.btn-secondary-lg {
    background: white;
    color: var(--secondary-color);
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-secondary-lg:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Widgets */
.floating-widget {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 5;
}

@keyframes floatWidgetLeft {

    0%,
    100% {
        transform: translateY(-50%) rotate(-3deg);
    }

    50% {
        transform: translateY(-60%) rotate(-3deg);
    }
}

@keyframes floatWidgetRight {

    0%,
    100% {
        transform: translateY(-50%) rotate(3deg);
    }

    50% {
        transform: translateY(-60%) rotate(3deg);
    }
}

.widget-left {
    top: 45%;
    left: 0;
    --base-rotate: -3deg;
    transform: translateY(-50%) rotate(var(--base-rotate));
    width: 260px;
    padding: 16px;
    animation: floatWidgetLeft 6s ease-in-out infinite;
}

.widget-right {
    top: 40%;
    right: 0;
    --base-rotate: 3deg;
    transform: translateY(-50%) rotate(var(--base-rotate));
    width: 240px;
    padding: 20px;
    animation: floatWidgetRight 6s ease-in-out infinite;
    animation-delay: 1s;
}

/* CRM Widget styles */
.crm-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-off-white);
}

.window-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 8px;
}

.dot-red,
.dot-yellow,
.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.dot-yellow {
    background: #fef9c3;
    border: 1px solid #fde047;
}

.dot-green {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.kanban-column {
    background: var(--bg-off-white);
    padding: 12px;
    border-radius: var(--radius-md);
}

.column-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kanban-card {
    background: white;
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.kanban-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.card-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 600;
}

.tag-blue {
    background: #eff6ff;
    color: #2563eb;
}

.tag-purple {
    background: #faf5ff;
    color: #9333ea;
}

.card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.card-price {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Analytics Widget Styles */
.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.stats-title {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.stats-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #16a34a;
}

.graph-container {
    height: 100px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 4px;
    transition: height 1s ease;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 60%;
}

.bar-3 {
    height: 45%;
}

.bar-4 {
    height: 85%;
    background: var(--primary-color);
}

.bar-5 {
    height: 70%;
}

.sales-pill {
    background: #3b83f62e;
    color: #3b82f6;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Connected Elements (Bottom) */
.hero-connections-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
}

.connection-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 250px;
    box-shadow: var(--shadow-md);
}

.card-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: var(--bg-off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.app-icon:hover {
    background: var(--primary-light);
}

.app-icon .icon {
    font-size: 1.2rem;
}

.icon-3d {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
    margin-bottom: 8px;
}

.app-icon:hover .icon-3d {
    transform: scale(1.3) translateY(-8px) rotate(12deg);
    filter: drop-shadow(0 20px 30px rgba(59, 130, 246, 0.3));
}

.app-name {
    font-size: 0.7rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Connection Hub */
.connection-hub {
    position: relative;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connector-line {
    position: absolute;
    top: 50%;
    height: 2px;
    background: var(--border-light);
    z-index: -1;
}

.line-left-animated {
    right: 50%;
    width: 180px;
    overflow: hidden;
}

.line-left-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    animation: flowRight 2s infinite linear;
}

.line-right-animated {
    left: 50%;
    width: 180px;
    overflow: hidden;
}

.line-right-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    animation: flowRight 2s infinite linear 1s;
}

.odoo-hub {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1), var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
}

.odoo-logo {
    font-weight: 800;
    color: #714B67;
    /* Odoo purple-ish default, or use primary */
    font-size: 1.2rem;
}

.hub-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    animation: pulse 2s infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    justify-content: flex-end;
    /* Align to right for drawer */
    align-items: stretch;
}

.modal-content {
    background-color: white;
    padding: 0;
    width: 100%;
    max-width: 550px;
    /* Drawer width */
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.modal.active {
    display: flex;
}

.modal.active .modal-content {
    transform: translateX(0);
}

.modal-header-premium {
    background: var(--secondary-color);
    padding: 60px 40px 40px;
    color: white;
    position: relative;
}

.modal-header-premium h2 {
    font-size: 2.2rem !important;
    margin-bottom: 10px !important;
    text-align: left !important;
    color: white !important;
}

.modal-header-premium p {
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: left !important;
    margin: 0 !important;
}

.modal-body-premium {
    padding: 40px;
    flex: 1;
}

.modal-content.modal-wide {
    max-width: 550px;
    /* Keep drawer consistent */
}

/* Close button for drawer */
.close-btn-drawer {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn-drawer:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
    }

    .modal-header-premium {
        padding: 50px 30px 30px;
    }

    .modal-body-premium {
        padding: 30px;
    }
}



.close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: var(--secondary-color);
}

.modal-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-align: center;
}

.modal-content p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--bg-off-white);
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: var(--secondary-color);
    color: white;
    padding: 16px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    background: var(--primary-color);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) rotate(-3deg);
    }

    50% {
        transform: translateY(calc(-50% - 15px)) rotate(-2deg);
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: white;
    /* margin-bottom: 60px; */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}


/* Mobile Responsive */
@media (max-width: 1024px) {

    .navbar-wrapper {
        top: 10px;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        padding: 0 10px;
    }

    .navbar-pill {
        border-radius: 20px;
        padding: 10px 20px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        justify-content: space-between;
    }

    .floating-widget,
    .hero-connections-wrapper {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        margin-left: auto;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Nav Drawer */
    /* Modern Mobile Nav Drawer */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255, 255, 255, 0.5);
        z-index: 1000;
        padding: 30px 24px 40px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-logo {
        height: 35px;
        width: auto;
    }

    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 28px;
        color: var(--text-main);
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        transition: color 0.3s ease;
    }

    .mobile-nav-close:hover {
        color: var(--primary-color);
        transform: scale(1.1);
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--secondary-color);
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: color 0.3s;
    }

    .mobile-nav .nav-link:hover {
        color: var(--primary-color);
    }

    .mobile-nav .nav-link span {
        font-size: 0.7rem;
        transition: transform 0.3s;
    }

    .mobile-nav .nav-link.active span {
        transform: rotate(180deg);
    }

    .mobile-nav .mobile-dropdown-content {
        max-height: 0;
        overflow: hidden;
        background: rgba(245, 246, 248, 0.361);
        border-radius: 12px;
        margin-top: 4px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }

    .mobile-nav .mobile-dropdown-content.active {
        max-height: 1000px;
        /* Allow space for nested items */
        padding: 8px 0;
    }

    .mobile-nav .mobile-dropdown-content a {
        font-size: 1rem;
        color: var(--text-main);
        padding: 10px 20px;
        font-weight: 500;
        border-left: 3px solid transparent;
        transition: all 0.3s;
    }

    .mobile-nav .mobile-dropdown-content a:hover {
        background: rgba(59, 130, 246, 0.05);
        border-left-color: var(--primary-color);
        padding-left: 25px;
    }

    /* Multi-level Mobile Styles */
    .mobile-sub-dropdown {
        margin: 4px 0;
    }

    .mobile-sub-trigger {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--primary-color) !important;
        background: rgba(59, 130, 246, 0.03);
        padding: 12px 20px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 8px;
    }

    .mobile-sub-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        display: flex;
        flex-direction: column;
        padding-left: 15px;
    }

    .mobile-sub-content.active {
        max-height: 500px;
        padding: 8px 0 8px 15px;
    }

    .mobile-sub-content a {
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
        color: var(--text-light) !important;
    }

    .mobile-nav .mobile-cta {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    /* Modern Hamburger Animation */
    .mobile-menu-toggle {
        display: flex;
        width: 32px;
        height: 24px;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--secondary-color);
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 10px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        top: 20px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-45deg);
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-buttons a {
        width: 100%;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }
}

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

    h1 {
        font-size: 2.3rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .problem-content {
        padding: 30px 20px;
    }

    .problem-content h3 {
        font-size: 1.5rem;
        word-break: break-word;
        hyphens: auto;
    }

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

/* Featured Partners Section */
.featured-section {
    padding: 60px 0;
    background: transparent;
}

.featured-container {
    /* background: #fdf2ff; */
    /* Very light purple/pink background from wireframe */
    border-radius: 40px;
    /* padding: 60px 40px; */
    max-width: 1200px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-card {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.featured-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.featured-card .stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.featured-card .stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
}

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

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

    .featured-container {
        padding: 40px 20px;
        border-radius: 20px;
    }
}

/* Modernized Why Choose Us Section */
.why-choose-section {
    padding: 120px 0;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.choose-card {
    position: relative;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.choose-card:hover {
    transform: translateY(-15px);
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
}

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

.card-num-bg {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.02);
    line-height: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.choose-card:hover .card-num-bg {
    color: rgba(37, 99, 235, 0.05);
    transform: scale(1.1) translateX(-10px);
}

.choose-card .card-icon-big {
    font-size: 2.5rem;
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    z-index: 1;
    transition: transform 0.5s ease;
}

.choose-card:hover .card-icon-big {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
}

.choose-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
    z-index: 1;
}

.choose-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

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

    .choose-card {
        padding: 40px 30px;
    }

    .card-num-bg {
        font-size: 6rem;
    }
}

/* Problem Section */
.problem-section {
    padding: 80px 20px;
    background: var(--bg-off-white);
}

.section-header-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

.problem-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.problem-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.problem-badge {
    background: #FFEBEE;
    color: #FF5252;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 32px;
    border: 1.5px solid #FFCDD2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.problem-content h3 {
    font-size: 2.8rem;
    margin-bottom: 32px;
    color: #1A1F2B;
    line-height: 1.2;
    font-weight: 800;
}

/* Reversed Layout */
.card-reversed {
    flex-direction: row-reverse;
}

/* Badge Themes */
.badge-blue {
    background: #E3F2FD;
    border-color: #BBDEFB;
    color: #2196F3;
}

.badge-purple {
    background: #F3E5F5;
    border-color: #E1BEEF;
    color: #9C27B0;
}

.badge-dark {
    background: #ECEFF1;
    border-color: #CFD8DC;
    color: #455A64;
}

/* Text Highlights */
.text-highlight {
    color: #FF5252;
    position: relative;
    display: inline-block;
}

.text-highlight-blue {
    color: #3b82f6;
    position: relative;
    display: inline-block;
}

.text-highlight-purple {
    color: #9333ea;
    position: relative;
    display: inline-block;
}

.text-highlight-dark {
    color: #334155;
    position: relative;
    display: inline-block;
}

/* Specialized Page Heroes */
.hero-odoo {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-odoo .hero-title {
    font-size: 3.5rem;
    max-width: 1000px;
    margin: 0 auto 24px;
    font-weight: 800;
}

.hero-odoo .hero-desc {
    max-width: 800px;
    margin: 0 auto 32px;
}

.features-checklist {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.checklist-item svg {
    color: #16a34a;
    /* Success Green */
    width: 20px;
    height: 20px;
}

.hero-odoo .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-odoo .hero-title {
        font-size: 2.5rem;
    }

    .features-checklist {
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 15px;
    }
}

/* Odoo Illustration Specifics */
.odoo-illustration-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.odoo-hero-img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-purple {
    background: #faf5ff;
    color: #9333ea;
}

.icon-dark {
    background: #f1f5f9;
    color: #334155;
}


.problem-content p {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #1A1F2B;
    font-weight: 700;
    font-size: 1.15rem;
}

.cross-icon {
    width: 28px;
    height: 28px;
    background: #FFEBEE;
    color: #FF5252;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}

.problem-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, white 0%, transparent 20%);
    pointer-events: none;
}

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


/* Concluding Note */
.problem-note {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 24px 32px;
    background: white;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-note strong {
    color: var(--primary-color);
    margin-right: 6px;
}

.note-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    vertical-align: middle;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    transition: all 0.3s ease;
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-icon-wrapper {
    height: 80px;
    width: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-img-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.service-svg-icon {
    width: 60px;
    height: 60px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: white;
    min-height: 54px;
    /* Align text across cards */
}

.service-card p {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    /* Limit initial view to 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card.expanded {
    background: #0052cc;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.service-card.expanded p {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    opacity: 1;
}

.service-more-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.service-more-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-action {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments for Services Section */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

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

    .service-card {
        padding: 30px;
    }
}

/* Industry Section */
.industry-section {
    padding: 80px 20px;
    background: var(--bg-off-white);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.industry-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.2);
    /* Darken slightly */
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.565) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.3;
    z-index: -2;
    /* Move behind overlay */
    transition: all 0.5s ease;
}

/* Black Overlay */
.industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.565) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.industry-card:hover::after {
    opacity: 1;
}

.industry-card:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.industry-card:hover h3,
.industry-card:hover p {
    color: white;
}

.industry-card:hover .industry-icon {
    background: var(--primary-color);
}

.card-manufacturing::before {
    background-image: url('https://img.freepik.com/free-photo/photo-automobile-production-line-welding-car-body-modern-car-assembly-plant-auto-industry-interior-hightech-factory-modern-production_645730-185.jpg?semt=ais_hybrid&w=740&q=80');
}

.card-retail::before {
    background-image: url('https://img.freepik.com/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg?semt=ais_hybrid&w=740&q=80');
}

.card-healthcare::before {
    background-image: url('https://img.freepik.com/premium-photo/stethoscope-x-ray-picture_51530-2906.jpg?semt=ais_hybrid&w=740&q=80');
}

.card-logistics::before {
    background-image: url('images/logistics.avif');
}

.card-finance::before {
    background-image: url('https://img.freepik.com/premium-photo/graph-rows-coins-finance-banking-digital-stock-market-financial_18497-366.jpg?semt=ais_hybrid&w=740&q=80');
}

.card-education::before {
    background-image: url('https://img.freepik.com/premium-photo/black-graduation-hat-with-diploma-book_488220-77063.jpg');
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.industry-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: background 0.3s;
}

.industry-card:hover .industry-icon {
    background: transparent;
    color: white;
}

.industry-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    /* color: var(--secondary-color); */
    letter-spacing: 0.02em;
    color: #3b82f6;
}

.industry-card:hover h3 {
    color: white;
}

.industry-card p {
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.875);
}

.industry-card:hover p {
    color: white;
}

/* Responsive for Industry */
@media (max-width: 900px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .industry-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 15px;
    }

    .industry-card p {
        text-align: center;
    }

    .industry-icon {
        margin-bottom: 0;
        width: 64px;
        height: 64px;
        padding: 12px;
    }

    .industry-card h3 {
        font-size: 1.2rem;
    }
}




/* Responsive adjustments for Problem Section */
@media (max-width: 1024px) {
    .section-header-center h2 {
        font-size: 2rem;
    }

    .problem-card {
        flex-direction: column !important;
    }

    .problem-image-wrapper {
        min-height: 250px;
        width: 100%;
        order: -1;
        /* Image first on mobile */
    }

    .problem-content {
        padding: 30px 20px;
        width: 100%;
    }
}

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

/* Odoo Consulting Process Section */
.process-section {
    padding: 120px 20px;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    background: white;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
    /* box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); */
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Connecting Arrows (Desktop) */
.process-step::after {
    content: '→';
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: var(--primary-color);
    z-index: 2;
    opacity: 0.3;
    font-weight: 300;
    animation: process-arrow-slide 2s infinite ease-in-out;
}

@keyframes process-arrow-slide {
    0% {
        transform: translate(-5px, -50%);
        opacity: 0.2;
    }

    50% {
        transform: translate(5px, -50%);
        opacity: 0.6;
    }

    100% {
        transform: translate(-5px, -50%);
        opacity: 0.2;
    }
}

.process-grid .process-step:nth-child(3n)::after {
    display: none;
}

/* Special icons for steps */
.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

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

    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-section {
        padding: 80px 20px;
    }

    .process-step {
        padding: 30px;
    }
}

/* Trust Section */
.trust-section {
    padding: 80px 20px;
    background: transparent;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.trust-content {
    flex: 1.5;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-content h3 {
    font-size: 1.25rem;
    color: #3b82f6;
    margin-bottom: 12px;
    line-height: 1.3;
}

.trust-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.trust-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.trust-visual svg {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.visual-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Visual Themes */
.visual-speed {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://osswalinfo.com/wp-content/uploads/2024/06/Top-ERP-Systems-1024x576.jpg') center/cover no-repeat;
}

.visual-fit {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.fup-ag.com/wp-content/webp-express/webp-images/uploads/2024/11/AdobeStock_979148370-1920x1076.jpeg.webp') center/cover no-repeat;
}

.visual-support {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://imageio.forbes.com/specials-images/imageserve/63ecf7e1affdaa0a74171308/0x0.jpg?format=jpg&height=900&width=1600&fit=bounds') center/cover no-repeat;
}

.visual-ai {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://t4.ftcdn.net/jpg/17/71/42/53/360_F_1771425308_82TGgcQeiDcGYN2vQ00MkGT1iyBPK2eL.jpg') center/cover no-repeat;
}


/* Responsive for Trust layout */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        flex-direction: column-reverse;
    }

    .trust-visual {
        min-height: 140px;
    }
}

/* Modern CTA Section */
.modern-cta-section {
    padding: 60px 20px 100px;
    background: transparent;
}

.modern-cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 24px;
    padding: 30px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.25);
    color: white;
    isolation: isolate;
    /* Create stacking context for shapes */
}

/* Background Abstract Shapes */
.cta-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #f472b6;
    /* Pinkish glow */
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #60a5fa;
    /* Blue glow */
    bottom: -80px;
    left: -50px;
}

.modern-cta-content {
    flex: 1;
    z-index: 1;
    max-width: 800px;
}

.modern-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.modern-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.modern-cta-action {
    z-index: 1;
    margin-left: 40px;
}

.btn-glow-white {
    background: white;
    color: #2563eb;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-glow-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-glow-white:hover .btn-arrow {
    transform: translateX(5px);
}


.modern-cta-icon-wrapper {
    /* background: rgba(255, 255, 255, 0.1); */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
    backdrop-filter: blur(8px);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
    flex-shrink: 0;
}

.modern-cta-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

/* Responsive Modern CTA */
@media (max-width: 900px) {
    .modern-cta-card {
        flex-direction: column;
        padding: 60px 30px;
        text-align: center;
        gap: 40px;
    }

    .modern-cta-content {
        margin-right: 0;
    }

    .modern-cta-action {
        margin-left: 0;
    }

    .modern-cta-content h2 {
        font-size: 1.8rem;
    }

    .modern-cta-icon-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Case Study Section */
.case-study-section {
    padding: 80px 20px;
    background: var(--bg-off-white);
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.case-card {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards visible */
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.case-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 20px;
}

.case-category {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

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

.case-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.case-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.case-link:hover {
    gap: 10px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

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

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .case-card {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards */
    }
}

@media (max-width: 768px) {
    .case-card {
        flex: 0 0 calc(100% - 10px);
        /* 1 card */
    }

    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, rely on swipe */
    }
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: transparent;
    overflow: hidden;
    /* Hide scrollbar for the marquee */
}

.logo-slider {
    margin-top: 40px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Gradient fade masks on sides */
.logo-slider::before,
.logo-slider::after {
    /* content: ""; */
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 10);
    /* 5 logos * 2 sets * width */
    animation: scroll 30s linear infinite;
}

.client-logo {
    width: 250px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    /* filter: grayscale(1) opacity(0.6); */
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* Marquee Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }

    /* Scroll half the track width */
}

/* Responsive Clients */
@media (max-width: 768px) {

    .logo-slider::before,
    .logo-slider::after {
        width: 50px;
        /* Smaller fade area on mobile */
    }

    .client-logo {
        width: 180px;
        padding: 0 20px;
    }

    .logo-slide-track {
        width: calc(180px * 10);
        animation: scroll 20s linear infinite;
        /* Faster scroll on mobile */
    }

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

        100% {
            transform: translateX(calc(-180px * 5));
        }
    }
}

/* Consultation Section */
.consultation-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.consult-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.consult-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.consult-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Form Styling */
.consult-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Integrated Phone Input with Country Code */
.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0 !important;
}

.phone-input-group:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.country-code-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    min-width: 65px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.02);
    transition: background 0.2s;
}

.country-code-container:hover {
    background: rgba(0, 0, 0, 0.05);
}

.country-code-container::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 6px;
    opacity: 0.5;
}

.country-code-container select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.selected-code {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.phone-input-group input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 16px !important;
    font-size: 1rem;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}


.full-button {
    width: 100%;
    margin-top: 10px;
}

/* Visual Side */
.consult-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.consult-image-shell {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 1;
}

.consult-girl-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floating-image 6s infinite ease-in-out;
}

.visual-accent-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    z-index: 10;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-support {
    bottom: 40px;
    right: -20px;
    animation: bounce-slow 4s infinite ease-in-out;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes floating-image {

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

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

@keyframes bounce-slow {

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

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

/* Responsive Consultation */
@media (max-width: 1024px) {
    .consult-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consult-visual {
        min-height: 400px;
        order: -1;
        /* Headshot remains at top on tablet/mobile */
    }

    .consult-image-shell {
        max-width: 380px;
    }

    .badge-support {
        bottom: 20px;
        right: 0;
    }
}

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

    .consult-form {
        padding: 25px;
    }

    .consult-content h2 {
        font-size: 2rem;
    }
}

/* Blogs Section */
.blog-section {
    padding: 100px 20px;
    background: transparent;
}

.blog-slider {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
}

.blog-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.blog-track::-webkit-scrollbar {
    display: none;
}

.blog-card {
    flex: 0 0 calc(33.333% - 20px);
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.blog-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.blog-image.has-image {
    background-image: none;
    /* Will be overriden by inline style */
}

.gradient-blue {
    background: url('https://i.ytimg.com/vi/nbso3NVz3p8/maxresdefault.jpg');
}

.gradient-purple {
    background: url('https://sbs-me.b-cdn.net/wp-content/uploads/2024/05/AIERP.jpg');
}

.gradient-teal {
    background: url('https://acropolium.com/img/articles/embracing-iot-in-transportation-and-logistics-to-boost-supply-chain-visibility/img01.jpg');
}

.gradient-orange {
    background: url('https://media.licdn.com/dms/image/v2/D4D12AQEGspjvf1jfmw/article-cover_image-shrink_600_2000/article-cover_image-shrink_600_2000/0/1736413290427?e=2147483647&v=beta&t=Pqa1oKexE_qFwFHBdo2_g-0g5C-mnRmWwmyN_O8Khgg');
}

.gradient-dark {
    background: url('https://img.freepik.com/premium-photo/b2b-business-company-commerce-technology-marketing-concept_29488-8245.jpg');
}

.blog-date {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.blog-tag {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-body h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6rem;
}

.blog-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.read-more:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* Dots Styling */
.blog-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 650px) {
    .blog-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Footer Section */
.footer {
    background: rgb(3 5 20);
    color: #94a3b8;
    padding: 80px 20px 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto 60px;
}

.footer-company-links {
    margin: 15px 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-company-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.footer-company-links a:hover {
    color: white;
    background: var(--accent-gradient);
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact p {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-review {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-outer {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
}

.stars-outer::before {
    content: "★★★★★";
    color: #334155;
    /* Muted gray for empty stars */
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    transition: width 0.3s;
}

.stars-inner::before {
    content: "★★★★★";
    color: #fbbf24;
    /* Gold color for filled stars */
}

.review-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
    }

    .footer {
        padding: 60px 20px 30px;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
        text-align: left;
        /* Keep text left-aligned relative to icon but center the whole block */
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links ul li {
        margin-bottom: 15px;
    }

    .social-links,
    .footer-company-links,
    .rating-display {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 40px;
    }

    .footer-legal {
        justify-content: center;
        width: 100%;
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-desc {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }
}

/* --- ERP Consulting Hero Styles --- */
.hero-erp {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-main);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 90vh;
}

/* Floating Visual Elements */
.hero-erp::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(55, 99, 233, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-erp::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 2%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}


.hero-erp .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-erp .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
}

.hero-erp .hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 100%;
}

.cta-box-wrapper {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.cta-box {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-box.left {
    border-right: 1px solid var(--border-light);
    background: #f8fafc;
}

.cta-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.cta-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 5px;
}

.cta-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.hero-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
}

.erp-form .form-group {
    margin-bottom: 20px;
}

.erp-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.erp-form input,
.erp-form select,
.erp-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s;
}

.erp-form input:focus,
.erp-form select:focus,
.erp-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.erp-form textarea {
    resize: none;
}

@media (max-width: 1100px) {
    .hero-erp .hero-title {
        font-size: 3rem;
    }

    .hero-erp .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-erp {
        padding: 140px 0 80px;
    }

    .hero-erp .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-erp .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-box-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-erp .hero-title {
        font-size: 2.2rem;
    }

    .cta-box-wrapper {
        flex-direction: column;
    }

    .cta-box.left {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

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

    .hero-form-card {
        padding: 30px 20px;
    }
}

/* Why Choose Section Styles */
.why-choose-section {
    position: relative;
    background-color: var(--bg-off-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-actions .btn-primary-lg {
    min-width: 200px;
}

/* Growth Section Styles (Interactive Tabs) */
.growth-section {
    padding: 100px 0;
    background: white;
}

.growth-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.growth-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.growth-tab-item {
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.growth-tab-item:last-child {
    border-bottom: none;
}

.growth-tab-item h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.growth-tab-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    transition: color 0.3s;
}

.growth-tab-item.active {
    background: #f8fafc;
    border-left: 5px solid var(--primary-color);
}

.growth-tab-item.active h3 {
    color: var(--primary-color);
}

.growth-tab-item:hover:not(.active) {
    background: rgba(0, 102, 255, 0.02);
}

.growth-visual-side {
    position: sticky;
    top: 120px;
}

.growth-image-container {
    width: 100%;
    aspect-ratio: 7/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    background: #f1f5f9;
    position: relative;
}

.growth-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
    transform: scale(1.05);
}

.growth-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

@media (max-width: 1024px) {
    .growth-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .growth-visual-side {
        position: static;
        order: -1;
    }
}

@media (max-width: 600px) {
    .growth-tab-item {
        padding: 20px;
    }

    .growth-tab-item h3 {
        font-size: 1.15rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    background: var(--bg-off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 50px;
}

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

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

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    width: 100%;
    border: none;
    text-align: left;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-answer-content {
    padding: 0 30px 30px;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Large enough for content */
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }
}

/* About Us Page Specific Styles */
.section-padding {
    padding: 100px 0;
}



.rounded-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Futuristic Mission & Vision Redesign */
.mission-vision-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.mission-card,
.vision-card {
    position: relative;
    padding: 60px 40px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
}

.mission-card::before {
    background: #2563eb;
}

.vision-card::before {
    background: #9333ea;
}

/* Large Watermark Text */
.card-label {
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    pointer-events: none;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.mission-card:hover {
    border-bottom: 4px solid #2563eb;
}

.vision-card:hover {
    border-bottom: 4px solid #9333ea;
}

.card-icon-modern {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
}

.mission-card .card-icon-modern {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.vision-card .card-icon-modern {
    background: linear-gradient(135deg, #9333ea, #a855f7);
    color: white;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.mission-vision-section h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.mission-vision-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 90%;
}

@media (max-width: 1024px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .vision-card {
        padding: 40px;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-item h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: white;
    text-align: center;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

.check-icon-blue {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

/* Modern Results Section for Case Studies */
.results-modern-section {
    margin-top: 80px;
}

.results-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.result-card {
    background: white;
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 130, 246, 0.2);
}

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

.result-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.result-card:hover .result-icon-wrapper {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1);
}

.result-num {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.result-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.result-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

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

/* Responsive adjustments for About Us */
@media (max-width: 991px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* WordPress Integration & Blog Styles */
.blog-action {
    text-align: center;
    margin-top: 40px;
}

.blog-track.loading {
    min-height: 480px;
}

/* Skeleton Loader */
.blog-card.skeleton {
    pointer-events: none;
}

.blog-card.skeleton .blog-image {
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.blog-card.skeleton .blog-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}

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

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

.blog-card.skeleton .blog-body h3,
.blog-card.skeleton .blog-body p,
.blog-card.skeleton .blog-tag {
    background: #e2e8f0;
    border-radius: 4px;
    color: transparent !important;
}

.blog-card.skeleton .blog-body h3 {
    width: 90%;
}

.blog-card.skeleton .blog-body p {
    width: 70%;
}

.blog-card.skeleton .blog-tag {
    width: 40%;
    height: 1rem;
}

.blog-card.skeleton .read-more {
    opacity: 0.3;
}

/* Single Blog Post Page Styles */
.post-header {
    padding: 160px 20px 60px;
    text-align: center;
}

.post-meta {
    margin-top: 20px;
    color: var(--text-light);
    font-weight: 500;
}

.post-featured-image {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto 60px;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-content-area {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
    line-height: 1.8;
    font-size: 1.15rem;
    color: #334155;
}

.post-content-area h2,
.post-content-area h3 {
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.post-content-area p {
    margin-bottom: 25px;
}

.post-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
}

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

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }


}

/* Modern Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #52c41a;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: #52c41a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toast-content h4 {
    margin: 0;
    font-size: 15px;
    color: #1d1d1f;
}

.toast-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Futuristic/* Modern Aurora CTA Redesign */
.cta-about-redesign {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    display: flex;
    justify-content: center;
}

.cta-glass-card {
    position: relative;
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 50px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

/* Animated Aurora Background Mesh */
.cta-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(147, 51, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(45, 212, 191, 0.08) 0%, transparent 40%);
    animation: aurora-flow 25s linear infinite;
    z-index: 0;
}

@keyframes aurora-flow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-glass-card .content-wrap {
    position: relative;
    z-index: 1;
}

.cta-glass-card h2 {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 850;
    color: var(--secondary-color);
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.cta-glass-card h2 span {
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-glass-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.btn-modern-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 24px 60px;
    background: var(--secondary-color);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
}

.btn-modern-cta:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    background: #000;
}

.btn-modern-cta .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-modern-cta:hover .icon-circle {
    transform: translateX(5px);
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .cta-glass-card {
        padding: 50px 20px;
        border-radius: 35px;
    }

    .cta-glass-card h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .cta-glass-card p {
        font-size: 1.1rem;
    }

    .btn-modern-cta {
        width: 100%;
        justify-content: center;
        padding: 18px 25px;
        font-size: 1.2rem;
    }
}

/* Modern Testimonials Slider Styles */
.testimonials-section {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    margin-top: 60px;
    width: 100%;
    overflow: hidden;
    padding: 20px 10px 60px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: max-content;
}

.testimonial-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 450px;
    /* Fixed width for slider cards */
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: var(--primary-color);
}

.testi-quotes {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testi-rating {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testi-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.author-info strong {
    display: block;
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-bullets {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bullet.active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 40px 25px;
    }
}


/* Prefer Section */
.prefer-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.prefer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.prefer-content .badge-pill {
    margin-bottom: 20px;
}

.prefer-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.prefer-content .section-subtitle {
    text-align: left;
    margin: 0 0 40px 0 !important;
    max-width: 100% !important;
}

.prefer-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
}

.prefer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.prefer-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-md);
}

.prefer-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prefer-icon svg {
    width: 18px;
    height: 18px;
}

.prefer-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.prefer-visual {
    position: relative;
}

.prefer-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.prefer-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.prefer-image-container:hover .prefer-img {
    transform: scale(1.05);
}

.prefer-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent-gradient);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prefer-action {
    text-align: center;
}

@media (max-width: 1024px) {
    .prefer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prefer-content h2 {
        font-size: 2.2rem;
    }

    .prefer-image-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

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

    .prefer-section {
        padding: 60px 0;
    }
}

/* Technology Logos Styles */
.tech-icons-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: flex-start;
}

.tech-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 70px;
    transition: all 0.3s ease;
}

.tech-icon-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-icon-item:hover {
    transform: translateY(-5px);
}

.tech-icon-item:hover img {
    transform: scale(1.15);
}

.tech-icon-item span {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* Responsive adjustments for tech icons */
@media (max-width: 768px) {
    .tech-icons-flex {
        justify-content: center;
        gap: 15px;
    }

    .tech-icon-item {
        width: 60px;
    }

    .tech-icon-item img {
        width: 30px;
        height: 30px;
    }
}

/* Tech Grid 2x2 Layout */
.tech-grid-2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 1000px;
    margin: 60px auto 0 !important;
}

.tech-grid-2x2 .process-step::after {
    display: none !important;
}

.tech-grid-2x2 .process-step:nth-child(2n)::after {
    display: none !important;
}

@media (max-width: 991px) {
    .tech-grid-2x2 {
        grid-template-columns: 1fr !important;
    }

    .tech-grid-2x2 .process-step::after {
        display: none !important;
    }
}

/* Success Toast Message */
.success-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 30px 50px;
    border-radius: 20px;
    z-index: 3000;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-toast.active {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-toast .check-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.success-toast h4 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.success-toast p {
    margin: 0;
    opacity: 0.8;
    color: white;
}

/* Case Studies Page Styles */
.case-studies-header {
    text-align: center;
    padding: 180px 20px 60px;
    background: transparent;
}

.case-studies-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 20px;
    color: var(--secondary-color);
}

.badge-pill-blue {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cs-masonry-grid {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 100px;
}

.cs-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.cs-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.cs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cs-card.tall-card {
    aspect-ratio: 4 / 5;
    /* Adjust as needed for tall cards */
}

.cs-card.wide-card {
    aspect-ratio: 16 / 10;
    /* Adjust for landscape/wide cards */
}

.cs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.cs-card:hover .cs-bg {
    transform: scale(1.05);
}

/* Dark Gradient Overlay */
.cs-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
}

.cs-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: white;
}

.cs-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cs-logo h3 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0;
}

.cs-logo .logo-sub {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cs-logo.logo-large h3 {
    font-size: 3.5rem;
}

.serif-font {
    font-family: 'Times New Roman', serif;
    /* Or a Google Font like Playfair Display */
    letter-spacing: 2px;
}

.cs-details {
    width: 100%;
}

.cs-details h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.cs-link span {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cs-card:hover .cs-link {
    color: #93c5fd;
    gap: 12px;
}

.cs-card:hover .cs-link span {
    transform: translateX(3px);
}

/* Responsive Grid */
@media (max-width: 768px) {
    .cs-masonry-grid {
        flex-direction: column;
        gap: 30px;
    }

    .cs-card.tall-card,
    .cs-card.wide-card {
        aspect-ratio: auto;
        height: 400px;
    }

    .cs-logo h3 {
        font-size: 2.2rem;
    }

    .case-studies-header {
        padding-top: 120px;
    }
}

input:invalid:not(:placeholder-shown):not(:focus)::placeholder {
    color: #ef4444;
}

/* HRMS Includes Section - Bento Grid */
.hrms-includes-wrapper {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
}

.hrms-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    max-width: 1100px;
    margin: 60px auto 0;
}

/* Card General Style */
.bento-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
    /* background: #ffffff; */
    border-color: rgba(59, 130, 246, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.bento-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Icon Blobs */
.icon-blob {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.bento-card:hover .icon-blob {
    transform: scale(1.1) rotate(5deg);
}

.icon-blob.color-2 {
    background: #fce7f3;
    color: #db2777;
}

.icon-blob.color-3 {
    background: #dcfce7;
    color: #16a34a;
}

.icon-blob.color-4 {
    background: #f3e8ff;
    color: #9333ea;
}

/* Specific Card Layouts */
.large-card {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.medium-card {
    grid-column: span 1;
    min-height: 280px;
}

.wide-card {
    grid-column: span 2;
    background: var(--accent-gradient);
}

/* Wide Card - Dark Variant Styling */
.wide-card h3 {
    color: white;
}

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

.wide-card .icon-blob.color-4 {
    background: rgba(255, 255, 255, 0.1);
    color: #ece9f0;
}

.content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 30px;
}

.text-side {
    flex: 1;
}

.visual-side {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorations */
.card-decoration-wavelines {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(#3b82f6 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.1;
    border-radius: 50%;
}

.payroll-visual-mockup {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-row {
    height: 10px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
}

.mock-line {
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.mock-val {
    width: 20%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.mock-row.highlight .mock-val {
    background: #34d399;
}

/* Responsive Bento */
@media (max-width: 900px) {
    .hrms-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large-card,
    .medium-card,
    .wide-card {
        grid-column: span 1;
        grid-row: auto;
    }

    .wide-card .content-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .visual-side {
        width: 100%;
        margin-top: 20px;
    }

    .payroll-visual-mockup {
        max-width: 100%;
    }
}

/* HR Problems - Sticky & Scroll Layout */
.hr-problems-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: visible;
}

.sticky-layout-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.sticky-side {
    position: sticky;
    top: 120px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-side h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-subtitle-left {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 20px 0 40px;
    max-width: 90%;
}

.sticky-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
}

.sticky-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.sticky-image-box:hover .sticky-img {
    transform: scale(1.02);
}

.blob-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.2;
    z-index: -1;
    filter: blur(20px);
}

.scroll-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 20px;
}

.problem-item-card {
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.problem-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.problem-item-card:hover::before {
    opacity: 1;
}

.problem-item-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.problem-item-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .sticky-layout-container {
        flex-direction: column;
        gap: 40px;
    }

    .sticky-side {
        position: static;
        margin-bottom: 20px;
    }

    .sticky-side h2 {
        font-size: 2.5rem;
    }

    .sticky-image-box {
        display: none;
    }

    .scroll-side {
        width: 100%;
    }

    .problem-item-card:hover {
        transform: translateY(-5px);
    }
}

/* Modern SCM Connect Section */
.scm-connect-section {
    padding: 120px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.scm-connect-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03), transparent 70%);
}

.connect-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.modern-feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modern-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.icon-3d {
    width: 80%;
    height: 80%;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

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

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

.modern-feature-card:nth-child(even) .icon-3d {
    animation-delay: -2s;
}

.feature-icon-box.color-1 {
    background: rgba(218, 219, 219, 0.1);
    color: #3b82f6;
}

.feature-icon-box.color-2 {
    background: rgba(218, 219, 219, 0.1);
    color: #10b981;
}

.feature-icon-box.color-3 {
    background: rgba(218, 219, 219, 0.1);
    color: #f59e0b;
}

.feature-icon-box.color-4 {
    background: rgba(218, 219, 219, 0.1);
    color: #8b5cf6;
}

.modern-feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.modern-feature-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.modern-feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.modern-feature-card:hover .card-glow {
    transform: translate(-50%, -50%) scale(1);
}

/* SCM Core Grid */
.scm-core-system {
    padding: 80px 0;
    background: rgba(248, 250, 252, 0.5);
}

.scm-core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.scm-core-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.scm-core-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.scm-core-card .card-image {
    height: 200px;
    overflow: hidden;
}

.scm-core-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scm-core-card .card-body {
    padding: 24px;
}

.scm-core-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.scm-core-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.choose-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-num-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.03);
    pointer-events: none;
}

.choose-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.choose-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1100px) {

    .connect-feature-grid,
    .scm-core-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .connect-feature-grid,
    .scm-core-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-section {
        padding: 60px 0;
    }
}