/*
Theme Name: Veritas Custom Theme
Author: Your Name
Version: 1.1
Last Updated: July 19, 2025
*/


/* CSS CACHE BUSTER - v1.1 */
body::after {
    content: "CSS Loaded v1.1";
    position: fixed;
    bottom: 0;
    right: 0;
    background: red;
    color: white;
    padding: 5px;
    font-size: 10px;
    z-index: 99999;
    display: none; /* Hidden by default, can show for debugging */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure no white bars on sides */
html {
    width: 100%;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-blue: #0a1628;
    --accent-blue: #2563eb;
    --slate: #334155;
    --orange: #f97316;
    --orange-light: #fb923c;
    --white: #ffffff;
    
    /* Additional hero colors */
    --secondary-blue: #1e2d3d;
    --light-blue: #f0f9ff;
    --navy: #0f172a;
    --black: #000000;
    --dark-gray: #0f172a;
    --medium-gray: #475569;
    --light-gray: #f8fafc;
    --gold: #d4af37;
    
    /* Complex gradient for premium dark background */
    --premium-gradient: linear-gradient(135deg, #000814 0%, #0a1628 25%, #001d3d 50%, #0a1628 75%, #000814 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header with glassmorphism */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    max-width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 80px;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-height: 70px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== FULL WIDTH SECTIONS FIX ===== */
.business-process-section,
.faq-help-section,
.hero,
.footer,
.contact-section,
.automation-processes,
.tech-showcase {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Enhanced logo with pulse animation */
.logo {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    object-fit: contain;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.3));
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Enhanced navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    position: relative;
    letter-spacing: -0.01em;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.1));
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--orange);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Enhanced CTA button */
.nav-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white) !important;
    padding: 16px 32px !important;
    border-radius: 25px !important;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem !important;
    min-height: 52px !important;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta::after {
    width: 0 !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--orange-light), #d97706) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.4);
}

/* Enhanced mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    min-height: 52px;
    min-width: 52px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    background: rgba(249, 115, 22, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--orange);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--orange);
}

/* Enhanced mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e2d3d 50%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
}

.mobile-menu.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.mobile-menu-content {
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    max-width: 90%;
    width: 100%;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-link {
    display: block;
    color: var(--white);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    margin: 2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-30px);
    opacity: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.mobile-menu.active .mobile-menu-link {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu-link:hover {
    color: var(--orange);
    transform: translateX(10px) scale(1.05);
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

.mobile-menu-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    padding: 1.5rem 3rem !important;
    border-radius: 50px !important;
    margin-top: 3rem !important;
    display: inline-block;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.mobile-menu-cta:hover {
    background: linear-gradient(135deg, var(--orange-light), #d97706) !important;
    transform: translateX(0) scale(1.1) !important;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.4);
}

/* ===== MOBILE NAVIGATION RESPONSIVE STYLES ===== */

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
    display: none;
}

/* Enhanced mobile menu functionality */
.mobile-menu-toggle:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Keyboard navigation support */
.mobile-menu-toggle[tabindex="0"]:focus {
    background: rgba(249, 115, 22, 0.1);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Tablet and Mobile Navigation */
@media (max-width: 1200px) {
    /* Show mobile menu toggle, hide desktop nav */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Adjust header for tablet */
    header {
        padding: 0.8rem 0;
    }
    
    nav.container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 35px;
        transition: height 0.3s ease;
    }
    
    /* Improve touch targets */
    .mobile-menu-toggle {
        position: relative;
        overflow: visible;
    }
    
    .mobile-menu-toggle::after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    /* Mobile header optimization */
    header {
        padding: 0.6rem 0;
        min-height: 60px;
    }
    
    nav.container {
        padding: 0 1rem;
        min-height: 48px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .mobile-menu-toggle {
        min-height: 48px;
        min-width: 48px;
        padding: 12px;
    }
    
    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        margin: 3px 0;
    }
    
    /* Mobile menu adjustments */
    .mobile-menu-link {
        font-size: 1.5rem;
        margin: 1.5rem 0;
        padding: 0.8rem 1.5rem;
    }
    
    .mobile-menu-cta {
        padding: 1rem 2rem !important;
        margin-top: 2rem !important;
    }
    
    /* Hide header particles on mobile for performance */
    .header-particles {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimization */
    header {
        padding: 0.5rem 0;
        min-height: 55px;
    }
    
    nav.container {
        padding: 0 0.8rem;
        min-height: 44px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    /* Compact mobile menu for small screens */
    .mobile-menu-link {
        font-size: 1.2rem;
        margin: 0.8rem 0;
        padding: 0.7rem 0.8rem;
        max-width: 90%;
    }
    
    .mobile-menu-cta {
        padding: 0.8rem 1.5rem !important;
        margin-top: 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 360px) {
    /* Ultra compact for very small devices */
    nav.container {
        padding: 0 0.6rem;
    }
    
    .logo img {
        height: 26px;
    }
    
    .mobile-menu-link {
        font-size: 1rem;
        margin: 0.8rem 0;
        padding: 0.6rem 0.8rem;
    }
    
    .mobile-menu-cta {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        max-height: 80vh;
        overflow-y: auto;
        padding: 1rem;
    }
    
    .mobile-menu-link {
        font-size: 1rem;
        margin: 0.5rem;
        padding: 0.5rem 1rem;
        flex: 0 0 auto;
    }
    
    .mobile-menu-cta {
        margin-top: 0 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .mobile-menu-toggle span {
        background: var(--primary-blue);
    }
    
    .mobile-menu-toggle.active span {
        background: var(--orange);
    }
    
    .mobile-menu {
        background: var(--primary-blue);
        border: 2px solid var(--white);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-toggle span,
    .mobile-menu,
    .mobile-menu-content,
    .mobile-menu-link {
        transition: none;
    }
    
    .mobile-menu-toggle:hover {
        transform: none;
    }
    
    .mobile-menu-link:hover {
        transform: none;
    }
}

/* Ensure mobile menu doesn't interfere with desktop */
@media (min-width: 1201px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* ===== HERO SECTION STYLES ===== */

/* Make all headings bold with tight spacing for impact */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

/* ===== MAIN HERO SECTION ===== */
.hero {
    background: var(--premium-gradient);
    color: var(--white);
    padding: clamp(1rem, 3vw, 2rem) 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-top: 80px; /* Account for fixed header */
    padding-top: 80px; /* Added padding-top to avoid content being hidden under navbar */
    display: flex;
    align-items: center;
    min-height: clamp(340px, 60vw, 520px); /* Altura reservada, ajusta según tu diseño */
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
    height: auto;
}

.hero-text {
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    z-index: 2;
    background: transparent;
}

.hero-visual {
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    .hero-text, .hero-visual {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .hero-text {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    .hero-text, .hero-visual {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 0;
    }
    .hero-text {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 0 1vw;
    }
    .hero-text, .hero-visual {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 0;
    }
    .hero-text {
        text-align: center;
        align-items: center;
    }
}

.hero-text h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.4;
}

/* ===== ANIMATED BACKGROUND GRID LAYER 1 ===== */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 110%;
    background: 
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(249,115,22,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.15) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.1) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 
        120px 120px, 120px 120px,
        60px 60px, 60px 60px,
        180px 180px, 180px 180px,
        30px 30px, 30px 30px;
    background-position: 
        0 0, 0 0,
        30px 30px, 30px 30px,
        90px 90px, 90px 90px,
        15px 15px, 15px 15px;
    animation: primaryGridSlide 50s linear infinite;
    z-index: -1;
}

@keyframes primaryGridSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-180px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ANIMATED BACKGROUND GRID LAYER 2 ===== */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(rgba(249,115,22,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.12) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.08) 1px, transparent 1px);
    background-size: 
        100px 100px, 100px 100px,
        50px 50px, 50px 50px,
        25px 25px, 25px 25px,
        200px 200px, 200px 200px;
    background-position: 
        0 0, 0 0,
        25px 25px, 25px 25px,
        0 0, 0 0,
        50px 50px, 50px 50px;
    animation: gridSlideLeft 40s linear infinite;
    z-index: -1;
}

@keyframes gridSlideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

/* ===== ENHANCED GRID OVERLAY LAYER 3 ===== */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(249,115,22,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(37,99,235,0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.02) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 
        120px 120px, 60px 60px, 40px 40px,
        200px 200px, 150px 150px, 80px 80px, 80px 80px;
    background-position:
        0 0, 30px 30px, 60px 60px,
        0 0, 75px 75px, 40px 40px, 40px 40px;
    animation: gridSlowSlide 60s linear infinite;
    z-index: 1;
}

@keyframes gridSlowSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

/* ===== FLOATING PARTICLES ANIMATION ===== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 1; 
    }
}

/* Navigation particles */
.nav-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: navFloat 8s ease-in-out infinite;
  opacity: 0.6;
  z-index: 0;
}

@keyframes navFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}

/* Header particles container */
.header-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* ===== MAIN CONTENT CONTAINER ===== */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
    height: auto;
}

/* ===== LEFT SIDE - TEXT CONTENT ===== */
.hero-text {
    flex: 1;
    text-align: left;
    max-width: 50%;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== RIGHT SIDE - VISUAL CONTENT ===== */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
}

/* ===== HERO IMAGE STYLING ===== */
.hero-gif {
    width: 100%;
    max-width: clamp(1080px, 100%, 1560px);
    height: auto;
    border-radius: clamp(12px, 2.5%, 24px);
    box-shadow: 
        0 clamp(15px, 3%, 35px) clamp(40px, 8%, 80px) rgba(0,0,0,0.4),
        0 0 0 2px rgba(255,255,255,0.15),
        0 0 clamp(30px, 5%, 60px) rgba(249,115,22,0.2);
    transition: all 0.4s ease;
    object-fit: contain;
    aspect-ratio: auto;
    animation: heroImageFloat 4s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        box-shadow: 
            0 clamp(10px, 2%, 25px) clamp(20px, 5%, 60px) rgba(0,0,0,0.25), 
            0 0 0 1px rgba(255,255,255,0.1);
    }
    25% { 
        transform: translateY(-0.5%) translateX(0.2%) scale(1.01);
        box-shadow: 
            0 clamp(12px, 2.5%, 30px) clamp(25px, 6%, 70px) rgba(0,0,0,0.3), 
            0 0 0 1px rgba(255,255,255,0.15);
    }
    50% { 
        transform: translateY(-1%) translateX(0px) scale(1.02);
        box-shadow: 
            0 clamp(15px, 3%, 35px) clamp(30px, 7%, 80px) rgba(0,0,0,0.35), 
            0 0 0 1px rgba(255,255,255,0.2);
    }
    75% { 
        transform: translateY(-0.5%) translateX(-0.2%) scale(1.01);
        box-shadow: 
            0 clamp(12px, 2.5%, 30px) clamp(25px, 6%, 70px) rgba(0,0,0,0.3), 
            0 0 0 1px rgba(255,255,255,0.15);
    }
}

/* ===== MAIN HEADLINE STYLING ===== */
.hero h1 {
    font-size: clamp(2.0rem, 6.5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: clamp(0.1rem, 3vw, 1rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-align: left;
    word-wrap: break-word;
    hyphens: none;
}

/* ===== TAGLINE STYLING ===== */
.hero-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    margin-bottom: clamp(0.5rem, 2vw, 0.8rem);
    opacity: 0.85;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    letter-spacing: 0.02em;
    text-transform: none;
    font-style: normal;
}

/* ===== SUBTITLE STYLING ===== */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: clamp(1rem, 4vw, 1rem);
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    min-height: auto;
    text-align: left;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 90%;
}

/* ===== STATISTICS CONTAINER ===== */
.hero-stats {
    display: flex;
    gap: clamp(1rem, 3vw, 1rem);
    margin: clamp(1rem, 5vw, 1rem) 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* ===== INDIVIDUAL STATISTIC STYLING ===== */
.stat {
    text-align: center;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: clamp(0.5rem, 1vw, 1rem);
    position: relative;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ===== STATISTIC NUMBER STYLING ===== */
.stat-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--orange);
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 0.3rem;
    text-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    animation: numberPulse 2s ease-in-out infinite;
}

/* ===== STATISTIC SUFFIX STYLING ===== */
.stat-suffix {
    font-size: 0.6em;
    font-weight: 700;
    color: var(--orange-light);
    margin-left: 0.2rem;
}

/* ===== STATISTIC LABEL STYLING ===== */
.stat-label {
    font-size: clamp(0.55rem, 1.3vw, 0.75rem);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.2;
    text-align: center;
}

@keyframes numberPulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 6px 30px rgba(249, 115, 22, 0.6);
    }
}

/* ===== CALL-TO-ACTION BUTTON CONTAINER ===== */
.cta-container {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    text-align: left;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: clamp(1rem, 3vw, 2rem);
}

/* ===== PRIMARY BUTTON STYLING ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: clamp(12px, 3vw, 16px) clamp(24px, 5vw, 32px);
    text-decoration: none;
    border-radius: clamp(8px, 2vw, 12px);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: fit-content;
    max-width: 100%;
}

/* ===== SECONDARY BUTTON VARIANT ===== */
.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    margin-left: 0;
    flex-shrink: 0;
}

/* ===== PREMIUM BUTTON VARIANT ===== */
.cta-premium {
    background: linear-gradient(135deg, var(--gold), #fbbf24);
    border: 2px solid var(--gold);
    color: var(--black);
    font-weight: 700;
    text-shadow: none;
    position: relative;
    overflow: hidden;
    animation: premiumGlow 3s ease-in-out infinite;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-premium:hover::before {
    left: 100%;
}

.cta-premium:hover {
    background: linear-gradient(135deg, #fbbf24, var(--gold));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

@keyframes premiumGlow {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    }
    50% { 
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
    }
}

/* ===== BUTTON HOVER EFFECTS ===== */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--gold));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.4);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    animation: heroFadeIn 1s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

@keyframes heroFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.glow {
    animation: heroGlow 2s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from { box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3); }
    to { box-shadow: 0 15px 50px rgba(249, 115, 22, 0.5); }
}

.float {
    animation: heroFloat 3s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* ===== RESPONSIVE DESIGN - TABLETS ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: clamp(2rem, 5vw, 3rem);
        padding: 0 clamp(1.5rem, 4vw, 2.5rem);
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        order: 1;
        width: 100%;
    }

    .hero h1 {
        text-align: center;
        font-size: clamp(1.5rem, 4.5vw, 2.8rem);
    }
}

/* ===== RESPONSIVE DESIGN - MOBILE LANDSCAPE ===== */
@media (max-width: 768px) {
    .hero {
        padding: clamp(1rem, 2.5vw, 1.5rem) 0;
        margin-top: 60px; /* Adjust for mobile header */
    }

    .cta-container {
        flex-direction: column;
        gap: clamp(0.5rem, 2vw, 0.8rem);
        align-items: center;
        width: 100%;
    }
}

/* --- Methodology Page: Enhanced Mobile Responsiveness --- */
@media (max-width: 480px) {
  .methodology-hero {
    padding: 60px 0 20px;
    min-height: unset;
    flex-direction: column;
  }
  .methodology-content {
    padding: 0 8px;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    display: block;
  }
  .methodology-text h1 {
    font-size: 1.3rem;
    word-break: break-word;
  }
  .methodology-tagline {
    font-size: 1rem;
  }
  .methodology-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .methodology-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .stat {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .methodology-visual {
    margin-top: 1.5rem;
  }
  .methodology-image-container {
    width: 100%;
    min-width: 0;
    max-width: 260px;
    height: 160px;
    margin: 0 auto;
  }
  .overview-container,
  .steps-container,
  .benefits-container,
  .cta-content {
    padding: 0 8px;
  }
  .overview-content {
    gap: 1.5rem;
    display: block;
  }
  .overview-text h2,
  .steps-title,
  .benefits-title,
  .methodology-cta h2 {
    font-size: 1.2rem;
  }
  .highlight-item {
    flex-direction: column;
    padding: 1rem;
    font-size: 0.95rem;
  }
  .highlight-icon {
    font-size: 1.3rem;
    min-width: 2rem;
  }
  .methodology-steps {
    padding: 40px 0;
  }
  .steps-timeline {
    gap: 1.2rem;
  }
  .step-item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    text-align: left;
    padding: 0.5rem 0;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .step-content {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  .step-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.7rem;
  }
  .step-icon svg {
    width: 16px;
    height: 16px;
  }
  .step-content h3 {
    font-size: 1.1rem;
  }
  .step-content p,
  .step-details li {
    font-size: 0.95rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .benefit-card {
    padding: 1rem;
    font-size: 0.95rem;
  }
  .benefit-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.7rem;
  }
  .benefit-icon svg {
    width: 20px;
    height: 20px;
  }
  .benefit-card h3 {
    font-size: 1rem;
  }
  .benefit-card p {
    font-size: 0.95rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
}
@media (max-width: 360px) {
  .methodology-text h1,
  .overview-text h2,
  .steps-title,
  .benefits-title,
  .methodology-cta h2 {
    font-size: 1rem;
  }
  .methodology-image-container {
    max-width: 180px;
    height: 100px;
  }
  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .step-content h3 {
    font-size: 0.9rem;
  }
}

/* ===== FULL WIDTH SECTIONS FIX ===== */
.business-process-section,
.faq-help-section,
.hero,
.footer,
.contact-section,
.automation-processes,
.tech-showcase {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== MOBILE NAVIGATION RESPONSIVE STYLES ===== */
/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
    display: none;
}

/* Tablet and Mobile Navigation */
@media (max-width: 1200px) {
    /* Show mobile menu toggle, hide desktop nav */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* ===== RESPONSIVE IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TECH SHOWCASE SECTION STYLES ===== */

/* Simplified background grid for tech showcase */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 110%;
    background: 
        linear-gradient(rgba(128,128,128,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128,128,128,0.1) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px;
    background-position: 0 0, 0 0;
    animation: techGridSlide 30s linear infinite;
    z-index: -1;
}

@keyframes techGridSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-80px); }
}

.tech-showcase {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    background: var(--white);
}

/* Two-Column Layout */
.showcase-container {
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

/* Header Section */
.text-content {
    text-align: left;
    z-index: 2;
    position: relative;
}

.text-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
    color: var(--primary-blue);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-content p {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
    margin: 0;
}

/* Icon Animation Section */
.icon-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: clamp(180px, 18vw, 270px);
    background: transparent;
    border: none;
    backdrop-filter: none;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
}

.carousel-track {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
    padding: 0;
}

.icon-row {
    display: flex;
    align-items: center;
    height: clamp(30px, 3vw, 45px);
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.icon-row:nth-child(1) .icon-track {
    animation: scrollRight 45s linear infinite;
    will-change: transform;
}

.icon-row:nth-child(2) .icon-track {
    animation: scrollLeft 50s linear infinite;
    animation-delay: -15s;
    will-change: transform;
}

.icon-row:nth-child(3) .icon-track {
    animation: scrollRight 55s linear infinite;
    animation-delay: -30s;
    will-change: transform;
}

.icon-track {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: max-content;
    height: 100%;
    align-items: center;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

@keyframes scrollRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes scrollLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Premium Icon Styling - Compact for Double Stripe */
.tech-icon {
    width: clamp(35px, 3.5vw, 50px);
    height: clamp(35px, 3.5vw, 50px);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transform: translateZ(0);
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.tech-icon:hover::before {
    opacity: 1;
}

.tech-icon:hover {
    transform: translateY(-2px) scale(1.08);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 
        0 8px 25px rgba(249, 115, 22, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.tech-icon svg,
.tech-icon img {
    width: clamp(18px, 2vw, 26px);
    height: clamp(18px, 2vw, 26px);
    filter: brightness(0.8);
    z-index: 2;
    position: relative;
    color: rgba(0, 0, 0, 0.8);
}

/* Performance optimizations */
.tech-showcase {
    contain: layout style paint;
}

.icon-carousel {
    contain: layout style paint;
}

.icon-track {
    contain: layout;
}

/* Mobile Responsive for Tech Showcase */
@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
        text-align: center;
    }
    
    .text-content {
        order: 1;
    }
    
    .icon-carousel {
        order: 2;
        width: 100%;
        height: clamp(180px, 18vw, 250px);
    }
}

@media (max-width: 768px) {
    .showcase-container {
        padding: clamp(1.5rem, 3vw, 2rem);
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .icon-carousel {
        height: clamp(150px, 15vw, 200px);
    }
    
    .carousel-track {
        padding: clamp(0.8rem, 1.5vw, 1.5rem);
    }
    
    .icon-row {
        gap: clamp(0.8rem, 1.5vw, 1.5rem);
    }
    
    .icon-track {
        gap: clamp(0.8rem, 1.5vw, 1.5rem);
    }
}

/* Reduced motion preferences for tech showcase */
@media (prefers-reduced-motion: reduce) {
    .icon-track {
        animation: none;
    }
    
    body::before {
        animation: none;
    }
}

/* ===== FAQ/HELP SECTION STYLES ===== */

/* FAQ Section Container with Dark Blue Background */
.faq-help-section {
  background: var(--premium-gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 5rem 0;
}

.faq-help-section .grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(249,115,22,0.08) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(37,99,235,0.06) 1.5px, transparent 1.5px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.02) 1px, transparent 1px),
    linear-gradient(rgba(37,99,235,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 
    120px 120px, 60px 60px, 40px 40px,
    200px 200px, 150px 150px, 80px 80px, 80px 80px;
  background-position:
    0 0, 30px 30px, 60px 60px,
    0 0, 75px 75px, 40px 40px, 40px 40px;
  animation: gridSlowSlide 60s linear infinite;
  z-index: 1;
}

.faq-help-section .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.faq-help-section .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.faq-help-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 110%;
  background: 
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(249,115,22,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.08) 1px, transparent 1px);
  background-size: 
    100px 100px, 100px 100px,
    200px 200px, 200px 200px;
  background-position: 
    0 0, 0 0,
    50px 50px, 50px 50px;
  animation: primaryGridSlide 60s linear infinite;
  z-index: -2;
}

.faq-help-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 
    50px 50px, 50px 50px;
  background-position: 
    25px 25px, 25px 25px;
  animation: gridSlideLeft 80s linear infinite;
  z-index: -1;
}

/* ===== FAQ/HELP SECTION CONTENT STYLES ===== */

.help-section {
    position: relative;
    z-index: 20;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.help-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: visible;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15);
    transform: translateY(-2px);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    color: var(--white);
    position: relative;
    min-height: 80px;
}

.faq-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.quote-icon {
    font-size: 2rem;
    color: var(--orange);
    font-weight: bold;
    opacity: 0.8;
    flex-shrink: 0;
}

.faq-text {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.faq-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-button:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    transform: scale(1.1);
}

.faq-item.active .faq-button {
    transform: rotate(180deg);
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
}

.faq-answer {
    padding: 0 2rem 2rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer.show {
    max-height: 500px;
    opacity: 1;
    padding: 0 2rem 2rem 2rem;
    overflow: visible;
}

.faq-answer p {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.workflow-button {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.workflow-button:hover {
    background: linear-gradient(135deg, var(--orange-light), #d97706);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Responsive styles for FAQ section */
@media (max-width: 768px) {
    .help-section {
        padding: 0 1rem;
    }
    
    .faq-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .faq-content {
        width: 100%;
    }
    
    .faq-button {
        align-self: flex-end;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-answer.show {
        max-height: 600px;
        padding: 0 1.5rem 1.5rem 1.5rem;
        overflow: visible;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
}

/* Animation for fade-in elements - removed duplicate definition */

/* Utility classes for the FAQ section */
.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* ===== END FAQ/HELP SECTION STYLES ===== */

/* ===== AUTOMATION PROCESSES SECTION ===== */
.automation-processes {
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 50%, #f8fafc 100%);
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.automation-processes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(37,99,235,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: subtleGrid 30s linear infinite;
    z-index: 0;
}

@keyframes subtleGrid {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50px); }
}

.automation-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.automation-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.automation-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.automation-header p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--medium-gray);
    line-height: 1.5;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* Professional Corporate Carousel */
.processes-carousel {
    position: relative;
    overflow: visible;
    width: 100%;
    margin: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 
        0 8px 25px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.processes-track {
    display: flex;
    width: calc(320px * 18);
    animation: carouselEndless 45s linear infinite;
    gap: 0;
    padding-left: clamp(1rem, 3vw, 2rem);
    overflow: visible;
}

@keyframes carouselEndless {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 6)); }
}

.process-card {
    flex: 0 0 clamp(280px, 25vw, 300px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(1.75rem, 4.5vw, 2.75rem) clamp(1.25rem, 3vw, 1.75rem);
    margin-right: clamp(16px, 2vw, 20px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 1px 3px rgba(15, 23, 42, 0.02);
    overflow: visible;
    min-height: clamp(280px, 32vh, 300px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.12);
    z-index: 2;
}

/* Process Icons */
.process-icon {
    width: clamp(40px, 8vw, 48px);
    height: clamp(40px, 8vw, 48px);
    margin: 0 auto clamp(1rem, 3vw, 1.5rem);
    border-radius: clamp(6px, 1.5vw, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none;
    flex-shrink: 0;
    font-size: clamp(20px, 4vw, 24px);
}

/* Icon Colors and Styles */
.billing-icon {
    background: #475569;
    color: white;
}

.billing-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 19V5h14v14H5zm6-10h2c.55 0 1-.45 1-1s-.45-1-1-1h-1V6c0-.55-.45-1-1-1s-1 .45-1 1v1H9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h2v2H9c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h2c1.1 0 2-.9 2-2v-2c0-1.1-.9-2-2-2h-2V9h2z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 19V5h14v14H5zm6-10h2c.55 0 1-.45 1-1s-.45-1-1-1h-1V6c0-.55-.45-1-1-1s-1 .45-1 1v1H9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h2v2H9c-.55 0-1 .45-1 1s.45 1 1 1h1v1c0 .55.45 1 1 1s1-.45 1-1v-1h2c1.1 0 2-.9 2-2v-2c0-1.1-.9-2-2-2h-2V9h2z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.expenses-icon {
    background: #64748b;
    color: white;
}

.expenses-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 17h20v2H2v-2zm1.15-4.05L4 11.47l.85 1.48L6 12l1.15.95L8 11.47l.85 1.48L10 12l1.15.95L12 11.47l.85 1.48L14 12l1.15.95L16 11.47l.85 1.48L18 12V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v6l.85.47L3.15 12.95zM12 8.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 17h20v2H2v-2zm1.15-4.05L4 11.47l.85 1.48L6 12l1.15.95L8 11.47l.85 1.48L10 12l1.15.95L12 11.47l.85 1.48L14 12l1.15.95L16 11.47l.85 1.48L18 12V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v6l.85.47L3.15 12.95zM12 8.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.purchasing-icon {
    background: #1e293b;
    color: white;
}

.purchasing-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.55 13c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12L8.1 13h7.45zM7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-8.37-4L10 10h4v3H8.63z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.55 13c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12L8.1 13h7.45zM7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-8.37-4L10 10h4v3H8.63z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.sales-icon {
    background: #334155;
    color: white;
}

.sales-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.hiring-icon {
    background: #0f172a;
    color: white;
}

.hiring-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A2.01 2.01 0 0 0 17.98 7H14c-.54 0-1.05.26-1.37.7l-1.72 2.39L9 7.9V6c0-1.1-.9-2-2-2S5 4.9 5 6v1.9l-1.91 2.19c-.32.44-.09 1.01.52 1.01h2.39v6c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-6h2v6c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-6h2zM9 21H6v-6H4.5L7.5 8.5v-2c0-.55.45-1 1-1s1 .45 1 1v2l3 6.5H11v6H9z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A2.01 2.01 0 0 0 17.98 7H14c-.54 0-1.05.26-1.37.7l-1.72 2.39L9 7.9V6c0-1.1-.9-2-2-2S5 4.9 5 6v1.9l-1.91 2.19c-.32.44-.09 1.01.52 1.01h2.39v6c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-6h2v6c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-6h2zM9 21H6v-6H4.5L7.5 8.5v-2c0-.55.45-1 1-1s1 .45 1 1v2l3 6.5H11v6H9z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.analytics-icon {
    background: #374151;
    color: white;
}

.analytics-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2v-4h2v4zm4 0h-2V7h2v10z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2v-4h2v4zm4 0h-2V7h2v10z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.process-card:hover .process-icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* Process Card Content */
.process-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    line-height: 1.2;
}

.process-steps {
    display: flex;
    flex-direction: row;
    gap: clamp(0.8rem, 2.5vw, 1.2rem);
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-wrap: nowrap;
    overflow: visible;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.25rem, 1vw, 0.5rem);
}

.process-step {
    background: none;
    color: var(--navy);
    padding: 0;
    border-radius: 0;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    font-weight: 600;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: auto;
    max-width: none;
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.process-arrow {
    color: var(--orange);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 700;
    margin: 0 clamp(0.3rem, 1.2vw, 0.5rem);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hover Effects */
.process-card:hover .process-step {
    background: none;
    color: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: none;
    border: none;
    padding: 0;
}

.process-card:hover .process-arrow {
    color: var(--orange);
    transform: scale(1.15);
    text-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

/* Pause animation on hover */
.processes-track:hover {
    animation-play-state: paused;
    transition: all 0.3s ease;
}

/* Performance optimizations */
.process-card {
    will-change: transform;
}

.processes-track {
    will-change: transform;
}

/* Enhanced carousel controls */
.carousel-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--orange);
    transform: scale(1.2);
}

/* ===== BUSINESS PROCESS SELECTION SECTION ===== */
.business-process-section {
    background: var(--premium-gradient);
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 6rem) 0;
    min-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    box-sizing: border-box;
}

.business-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 120%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(249,115,22,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 
        120px 120px, 60px 60px, 40px 40px,
        200px 200px, 150px 150px, 80px 80px, 80px 80px;
    background-position:
        0 0, 30px 30px, 60px 60px,
        0 0, 75px 75px, 40px 40px, 40px 40px;
    animation: gridSlowSlide 60s linear infinite;
    z-index: -2;
}

.business-process-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 
        50px 50px, 50px 50px;
    background-position: 
        25px 25px, 25px 25px;
    animation: gridSlideLeft 80s linear infinite;
    z-index: -1;
}

/* Main container utility classes */
.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Business process specific styles */
.process-section {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Ensure visibility of content */
.business-process-section .fade-in,
.business-process-section .scale-in,
.business-process-section .slide-in-left,
.business-process-section .slide-in-right {
    opacity: 1 !important;
    transform: none !important;
}

.process-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    display: block;
    opacity: 1;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    display: block;
    opacity: 1;
}

/* Button styling */
.buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.process-button {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 45, 61, 0.7));
    border: 1.5px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    letter-spacing: 0.01em;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    font-family: 'Inter', sans-serif;
}

.process-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.process-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.process-button:hover::before {
    opacity: 1;
}

.process-button:hover::after {
    opacity: 0.3;
}

.process-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(249, 115, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(249, 115, 22, 0.5);
}

.process-button.active {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-color: var(--orange);
    box-shadow: 
        0 12px 36px rgba(249, 115, 22, 0.4),
        0 0 0 1px rgba(249, 115, 22, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.process-button.active::before {
    opacity: 0;
}

.process-button.active::after {
    opacity: 0;
}

/* Color variants for buttons */
.process-button[data-target="sales-pipeline"] { --button-color: var(--red); }
.process-button[data-target="data-management"] { --button-color: var(--yellow); }
.process-button[data-target="project-management"] { --button-color: var(--orange); }
.process-button[data-target="lead-generation"] { --button-color: var(--green); }
.process-button[data-target="onboarding"] { --button-color: var(--purple); }
.process-button[data-target="customer-support"] { --button-color: var(--blue); }

/* Content panel styling */
.content-panel {
    display: none;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 45, 61, 0.7));
    border: 1.5px solid rgba(249, 115, 22, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 64px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 2rem;
}

.content-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(37, 99, 235, 0.04) 100%);
    border-radius: 24px;
    z-index: 1;
}

.content-panel.active {
    display: flex;
    animation: contentSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes contentSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.98);
        filter: blur(2px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.content-panel .left,
.content-panel .right {
    padding: 3rem 2.5rem;
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content-panel .right {
    background: linear-gradient(145deg, rgba(30, 45, 61, 0.4), rgba(15, 23, 42, 0.5));
    border-left: 1.5px solid rgba(249, 115, 22, 0.25);
    backdrop-filter: blur(15px);
    position: relative;
}

.content-panel .right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.03) 0%, rgba(37, 99, 235, 0.02) 100%);
    z-index: 1;
}

.content-panel .left h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: left;
}

.content-panel .left p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.content-panel .right h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    text-align: left;
    line-height: 1.3;
}

.examples-container {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.examples {
    display: flex;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.examples ul {
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.examples ul li {
    padding: 1.125rem 0;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
    position: relative;
    padding-left: 1.75rem;
    transition: all 0.3s ease;
    font-weight: 400;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
}

.examples ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 1.125rem;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    line-height: 1;
}

.examples ul li:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 2.25rem;
}

.examples ul li:hover::before {
    color: var(--orange-light);
    transform: translateX(4px);
}

.examples ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    flex-grow: 0;
}

.examples ul li:first-child {
    padding-top: 0;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--orange);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.12);
    border: 1.5px solid rgba(249, 115, 22, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(251, 146, 60, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.learn-more:hover::before {
    opacity: 1;
}

.learn-more:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateX(6px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
    color: var(--orange-light);
}

/* Animation classes for business process section */
.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1);
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.8) rotate(-2deg);
    }
    to { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .buttons {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.25rem;
        max-width: 700px;
        margin-bottom: 2.5rem;
    }

    .content-panel.active {
        flex-direction: column;
        border-radius: 20px;
        margin-top: 2rem;
    }

    .content-panel .left,
    .content-panel .right {
        padding: 2.5rem 2rem;
    }

    .content-panel .right {
        border-left: none;
        border-top: 1.5px solid rgba(249, 115, 22, 0.25);
        background: linear-gradient(145deg, rgba(20, 35, 52, 0.6), rgba(15, 23, 42, 0.7));
    }

    .examples {
        flex-direction: column;
        gap: 2rem;
    }

    .examples ul {
        margin: 0;
    }

    .examples ul li {
        min-height: auto;
        padding: 1rem 0 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Section header mobile optimization */
    .process-section h1 {
        margin-bottom: 2rem !important;
        font-size: clamp(2rem, 6vw, 2.8rem) !important;
    }

    .subtitle {
        margin-bottom: 3rem !important;
        font-size: clamp(1rem, 3vw, 1.1rem) !important;
        padding: 0 1rem !important;
    }

    /* Button grid mobile optimization */
    .buttons {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2.5rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    .process-button {
        padding: 1.2rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-height: 60px !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Content panel mobile optimization */
    .content-panel {
        border-radius: 18px !important;
        margin-top: 1.5rem !important;
        overflow: visible !important;
        flex-direction: column !important;
    }

    .content-panel.active {
        flex-direction: column !important;
    }

    .content-panel .left,
    .content-panel .right {
        padding: 2rem 1.5rem !important;
    }

    .content-panel .right {
        border-left: none !important;
        border-top: 1.5px solid rgba(249, 115, 22, 0.25) !important;
        background: linear-gradient(145deg, rgba(20, 35, 52, 0.6), rgba(15, 23, 42, 0.7)) !important;
    }

    .content-panel .left h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
        margin-bottom: 1.2rem !important;
        text-align: center !important;
    }

    .content-panel .left p {
        font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .content-panel .right h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem) !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }

    /* Examples mobile optimization */
    .examples {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .examples ul {
        margin: 0 !important;
    }

    .examples ul li {
        padding: 0.8rem 0 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        min-height: auto !important;
        border-bottom: 1px solid rgba(249, 115, 22, 0.12) !important;
    }

    .examples ul li::before {
        top: 0.8rem !important;
        font-size: 1rem !important;
    }

    .examples ul li:hover {
        padding-left: 2rem !important;
    }

    .learn-more {
        margin-top: 1.5rem !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
        align-self: center !important;
        display: inline-flex !important;
    }
}

.typewriter-animate {
  border-right: 0.08em solid #fff; /* Cursor de máquina de escribir */
  overflow: hidden;
  white-space: pre-line;
  display: inline-block;
}
@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #fff; }
}
.typewriter-animate {
  animation: blink 0.7s steps(1) infinite;
}

@media (max-width: 480px) {
    /* Extra small mobile optimization */
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .process-section h1 {
        font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
        line-height: 1.1 !important;
    }

    .subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
        margin-bottom: 2.5rem !important;
    }

    .buttons {
        gap: 0.8rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }

    .process-button {
        padding: 1rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-height: 56px !important;
        border-radius: 12px !important;
    }

    /* Compact content panels for small screens */
    .content-panel {
        border-radius: 16px !important;
        margin-top: 1.2rem !important;
    }

    .content-panel .left,
    .content-panel .right {
        padding: 1.5rem 1.2rem !important;
    }

    .content-panel .left h2 {
        font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
        margin-bottom: 1rem !important;
    }

    .content-panel .left p {
        font-size: clamp(0.9rem, 3vw, 1rem) !important;
        line-height: 1.5 !important;
        margin-bottom: 1.2rem !important;
    }

    .content-panel .right h3 {
        font-size: clamp(1rem, 4vw, 1.2rem) !important;
        margin-bottom: 1.2rem !important;
    }

    .examples {
        gap: 1.2rem !important;
    }

    .examples ul li {
        padding: 0.7rem 0 0.7rem 1.5rem !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .examples ul li::before {
        top: 0.7rem !important;
        font-size: 0.9rem !important;
    }

    .learn-more {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.85rem !important;
        margin-top: 1.2rem !important;
    }
}

@media (max-width: 360px) {
    /* Ultra compact for very small devices */
    .process-section h1 {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .buttons {
        padding: 0 0.5rem;
    }

    .process-button {
        padding: 0.9rem 1rem;
        font-size: 0.8rem;
        min-height: 52px;
    }

    .content-panel .left,
    .content-panel .right {
        padding: 1.2rem 1rem !important;
    }

    .content-panel .left h2 {
        font-size: clamp(1.1rem, 6vw, 1.3rem) !important;
    }

    .content-panel .left p {
        font-size: 0.9rem !important;
    }

    .content-panel .right h3 {
        font-size: 1rem !important;
    }

    .examples ul li {
        padding: 0.6rem 0 0.6rem 1.3rem !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .learn-more {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

/* ===== MOBILE OVERRIDE SECTION - HIGHEST PRIORITY ===== */
@media screen and (max-width: 768px) {
    /* Remove white bars on mobile */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Ensure all sections take full width */
    .business-process-section,
    .faq-help-section,
    .hero,
    .footer,
    .contact-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Force mobile layout for business process cards */
    .business-process-section .content-panel.active {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: calc(100% - 2rem) !important;
        margin: 1.5rem 1rem !important;
    }
    
    .business-process-section .content-panel .left,
    .business-process-section .content-panel .right {
        width: 100% !important;
        flex: none !important;
    }
    
    .business-process-section .content-panel .left h2,
    .business-process-section .content-panel .right h3 {
        text-align: center !important;
    }
    
    .business-process-section .content-panel .left p {
        text-align: center !important;
    }
    
    .business-process-section .examples {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .business-process-section .examples ul {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Container adjustments for mobile */
    .process-section {
        max-width: calc(100% - 2rem) !important;
        margin: 0 1rem !important;
        padding: 0 !important;
    }
    
    .buttons {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
}

/* ===== CONTACT FORM SECTION STYLES ===== */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: clamp(80px, 12vw, 120px) 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(4rem, 8vw, 6rem);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.contact-item p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin: 0;
}

/* Contact Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: clamp(20px, 4vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(10, 22, 40, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--medium-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--orange);
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10, 22, 40, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkmark {
    background: var(--orange);
    border-color: var(--orange);
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-label .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, var(--orange-light), var(--gold));
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
    background: var(--premium-gradient);
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: subtleGrid 30s linear infinite;
    z-index: -1;
}

.testimonial-section .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.testimonial-section .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 1;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-small {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title-large {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: var(--white);
}

/* Container layout */
.testimonial-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    position: relative;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* Testimonial content */
.testimonial-content {
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1200px) {
    .testimonial-content {
        min-height: auto;
        order: 2;
    }
}

.testimonial-item {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.testimonial-quote {
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.5;
    margin-bottom: 30px;
    position: relative;
    font-weight: 400;
    color: var(--white);
}

.testimonial-quote::before {
    content: '"';
    font-size: 80px;
    color: var(--primary-color);
    position: absolute;
    left: -20px;
    top: -25px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

@media (max-width: 1200px) {
    .testimonial-quote::before {
        left: 50%;
        transform: translateX(-50%);
        top: -35px;
    }
}

/* Author info */
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .testimonial-author {
        justify-content: center;
    }
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
    color: var(--white);
}

.author-info p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Card showcase */
.card-showcase {
    position: relative;
    width: 500px;
    height: 400px;
    perspective: 1000px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1200px) {
    .card-showcase {
        order: 1;
        margin: 0 auto;
        width: 450px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .card-showcase {
        width: 380px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .card-showcase {
        width: 320px;
        height: 250px;
    }
}

.card {
    position: absolute;
    width: 280px;
    height: 100%;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed) ease;
    will-change: transform;
}

@media (max-width: 768px) {
    .card {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .card {
        width: 200px;
    }
}

.card-back {
    background-color: #34466b;
    left: 0px;
    transform: translateX(15px) translateY(8px) rotate(-8deg);
    z-index: 1;
    opacity: 0.7;
}

.card-middle {
    background-color: #2d3e64;
    left: 30px;
    transform: translateX(15px) translateY(4px) rotate(-4deg);
    z-index: 2;
    opacity: 0.9;
}

.card-front {
    background-image: linear-gradient(135deg, #293b61, #1d2d4d);
    color: white;
    left: 60px;
    transform: translateX(15px) rotate(0deg);
    z-index: 3;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

@media (max-width: 768px) {
    .card-front {
        left: 50px;
        padding: 20px;
    }
    
    .card-middle {
        left: 25px;
    }
    
    .card-back {
        left: 0px;
    }
}

@media (max-width: 480px) {
    .card-front {
        left: 40px;
        padding: 15px;
    }
    
    .card-middle {
        left: 20px;
    }
    
    .card-back {
        left: 0px;
    }
}

.card-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card-container.active {
    opacity: 1;
    pointer-events: auto;
}

/* Card floating animation */
@keyframes float-back {
    0% {
        transform: translateX(15px) translateY(8px) rotate(-8deg);
    }
    50% {
        transform: translateX(15px) translateY(2px) rotate(-8deg);
    }
    100% {
        transform: translateX(15px) translateY(8px) rotate(-8deg);
    }
}

@keyframes float-middle {
    0% {
        transform: translateX(15px) translateY(4px) rotate(-4deg);
    }
    50% {
        transform: translateX(15px) translateY(-2px) rotate(-4deg);
    }
    100% {
        transform: translateX(15px) translateY(4px) rotate(-4deg);
    }
}

@keyframes float-front {
    0% {
        transform: translateX(15px) rotate(0deg);
    }
    50% {
        transform: translateX(15px) translateY(-6px) rotate(0deg);
    }
    100% {
        transform: translateX(15px) rotate(0deg);
    }
}

.card-container.active .card-back {
    animation: float-back 7s ease-in-out infinite;
}

.card-container.active .card-middle {
    animation: float-middle 8s ease-in-out infinite;
    animation-delay: -1s;
}

.card-container.active .card-front {
    animation: float-front 6s ease-in-out infinite;
    animation-delay: -2s;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: -1;
    mix-blend-mode: multiply;
}

.case-study-text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 500;
    color: #a3b8e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: bold;
    text-align: center;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #7899d4;
}

.card-value {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin: 12px 0 16px;
}

.swift-logo {
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.logo-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Hover effect - only on devices that support hover */
@media (hover: hover) {
    .card-showcase:hover .card-back {
        transform: translateX(15px) translateY(12px) rotate(-8deg);
    }
    
    .card-showcase:hover .card-middle {
        transform: translateX(15px) translateY(6px) rotate(-4deg);
    }
    
    .card-showcase:hover .card-front {
        transform: translateX(15px) translateY(0px) rotate(0deg);
    }
}

/* Navigation styles */
.nav-buttons {
    position: absolute;
    width: calc(100% + 160px);
    left: -80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.prev-button,
.next-button {
    margin: 0;
}

.nav-button:hover {
    background-color: rgba(249, 115, 22, 0.2);
    border-color: var(--orange);
    transform: scale(1.05);
}

.nav-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.nav-button svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Dots navigation */
.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.nav-dot.active {
    width: 36px;
    border-radius: 6px;
    background-color: var(--orange);
}

/* Touch optimizations */
@media (pointer: coarse) {
    .nav-button {
        width: 56px;
        height: 56px;
    }
    
    .nav-button svg {
        width: 28px;
        height: 28px;
    }
    
    .nav-dot {
        width: 14px;
        height: 14px;
    }
    
    .nav-dot.active {
        width: 40px;
    }
}

/* Responsive layout */
@media (max-width: 1200px) {
    .nav-buttons {
        position: static;
        margin: 30px 0;
        width: auto;
        left: auto;
        gap: 30px;
        transform: none;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .testimonial-container {
        gap: 30px;
    }
    
    .testimonial-content {
        padding: 0 10px;
    }
    
    .testimonial-quote {
        font-size: clamp(18px, 4vw, 22px);
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 40px 10px;
    }
    
    .section-title-large {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .testimonial-quote {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .author-image {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== PROCESS SECTION STYLES ===== */
.process {
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--white);
    color: var(--primary-blue);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 120%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(249,115,22,0.06) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(37,99,235,0.04) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 50%, rgba(10,22,40,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.015) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,22,40,0.02) 1px, transparent 1px),
        linear-gradient(rgba(10,22,40,0.02) 1px, transparent 1px);
    background-size: 
        120px 120px, 60px 60px, 40px 40px,
        200px 200px, 150px 150px, 80px 80px, 80px 80px;
    background-position:
        0 0, 30px 30px, 60px 60px,
        0 0, 75px 75px, 40px 40px, 40px 40px;
    animation: gridSlowSlide 60s linear infinite;
    z-index: 1;
}

.process h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent,
        var(--orange),
        var(--orange-light),
        var(--orange),
        transparent
    );
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: clamp(4rem, 10vw, 8rem);
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 200px;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: clamp(4rem, 10vw, 6rem);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: clamp(4rem, 10vw, 6rem);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    width: clamp(70px, 14vw, 90px);
    height: clamp(70px, 14vw, 90px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    box-shadow: 
        0 15px 35px rgba(249, 115, 22, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 0 8px rgba(249, 115, 22, 0.1);
    z-index: 3;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.timeline-number:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 
        0 20px 50px rgba(249, 115, 22, 0.6),
        0 0 0 4px rgba(255, 255, 255, 0.2),
        0 0 0 12px rgba(249, 115, 22, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    padding: clamp(2.5rem, 6vw, 3.5rem);
    border-radius: clamp(20px, 4vw, 24px);
    border: 2px solid rgba(10, 22, 40, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.timeline-content:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 700;
    font-size: clamp(1.3rem, 3.8vw, 1.6rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 2px;
}

.timeline-item:nth-child(odd) .timeline-content h3::after {
    right: 0;
}

.timeline-item:nth-child(even) .timeline-content h3::after {
    left: 0;
}

.timeline-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    margin: 0 0 clamp(1.5rem, 4vw, 2rem) 0;
    font-weight: 400;
}

/* Timeline CTA Buttons */
.timeline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: clamp(10px, 2.5vw, 14px) clamp(20px, 4vw, 24px);
    text-decoration: none;
    border-radius: clamp(8px, 2vw, 10px);
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(249, 115, 22, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-cta:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--gold));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
}

.timeline-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.timeline-cta:hover::before {
    left: 100%;
}

/* Enhanced arrow indicators */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 18px solid transparent;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: 100%;
    border-left-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: 100%;
    border-right-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%);
}

/* Pulse animation for timeline line */
.process-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.7;
    }
}

/* Process Section Responsive Design */
@media (max-width: 1024px) {
    .process {
        padding: clamp(50px, 8vw, 80px) 0;
    }
    
    .process-timeline::before {
        left: 30px;
        transform: none;
    }
    
    .process-timeline::after {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: clamp(4rem, 12vw, 6rem);
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: clamp(4rem, 12vw, 6rem);
        padding-right: 0;
    }
    
    .timeline-number {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .timeline-content {
        max-width: none;
        margin: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        margin: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content h3::after {
        left: 0;
        right: auto;
    }
}

@media (max-width: 768px) {
    .process {
        padding: clamp(40px, 6vw, 60px) 0;
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .process-timeline::after {
        left: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: clamp(3rem, 10vw, 4.5rem);
    }
    
    .timeline-number {
        left: 25px;
        width: clamp(50px, 10vw, 60px);
        height: clamp(50px, 10vw, 60px);
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
    
    .timeline-content {
        padding: clamp(1.5rem, 4vw, 2rem);
    }
}

@media (max-width: 480px) {
    .process {
        padding: clamp(30px, 5vw, 40px) 0;
    }
    
    .process h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .timeline-item {
        margin-bottom: clamp(2rem, 6vw, 3rem);
        min-height: 150px;
    }
    
    .timeline-number {
        width: clamp(40px, 8vw, 50px);
        height: clamp(40px, 8vw, 50px);
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        left: 20px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-timeline::after {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .timeline-content {
        padding: clamp(1rem, 3vw, 1.5rem);
    }
    
    .timeline-content h3 {
        font-size: clamp(1rem, 2.8vw, 1.2rem);
        margin-bottom: clamp(0.8rem, 2vw, 1rem);
    }
    
    .timeline-content p {
        font-size: clamp(0.8rem, 2.2vw, 0.95rem);
        line-height: 1.6;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .timeline-content:hover {
        transform: none;
        box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    }
    
    .timeline-number:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .timeline-content,
    .timeline-number {
        transition: none;
    }
    
    .timeline-number:hover {
        transform: translateY(-50%);
        animation: none;
    }
    
    .process-timeline::after {
        animation: none;
    }
    
    .process::before {
        animation: none;
    }
}

/* ===== FINAL CTA SECTION STYLES ===== */
.final-cta-section {
    background: var(--premium-gradient);
    padding: clamp(30px, 5vw, 50px) 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 120%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(249,115,22,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.06) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 
        120px 120px, 60px 60px, 40px 40px,
        200px 200px, 150px 150px, 80px 80px, 80px 80px;
    background-position:
        0 0, 30px 30px, 60px 60px,
        0 0, 75px 75px, 40px 40px, 40px 40px;
    animation: gridSlowSlide 60s linear infinite;
    z-index: 1;
}

.final-cta-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 20vh;
}

.final-cta-text {
    max-width: 550px;
}

.final-cta-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(0.8rem, 2.5vw, 1.2rem);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.final-cta-title .line-1,
.final-cta-title .line-2 {
    display: block;
    margin-bottom: clamp(0.4rem, 1.5vw, 0.7rem);
}

.final-cta-title .line-1 {
    opacity: 0.9;
}

.final-cta-title .highlight {
    color: var(--white);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.7);
    position: relative;
    display: inline-block;
}

.final-cta-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), #fbbf24);
    border-radius: 2px;
    opacity: 0.6;
}

.final-cta-subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    opacity: 0.9;
    line-height: 1.4;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.final-cta-subtitle p {
    margin-bottom: 0.5rem;
}

.final-cta-subtitle p:first-child {
    font-weight: 500;
}

.final-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: clamp(16px, 3.5vw, 20px) clamp(36px, 6vw, 48px);
    text-decoration: none;
    border-radius: clamp(14px, 2.5vw, 18px);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(249, 115, 22, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.final-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s ease;
}

.final-cta-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.final-cta-button:hover::before {
    left: 100%;
}

.final-cta-visual {
    position: relative;
    width: clamp(220px, 20vw, 300px);
    height: clamp(220px, 20vw, 300px);
    justify-self: center;
}

.flow-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.flow-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25), 
        rgba(255, 255, 255, 0.15), 
        rgba(249, 115, 22, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flow-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation: float1 6s ease-in-out infinite;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3), 
        rgba(249, 115, 22, 0.2));
}

.flow-2 {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 15%;
    animation: float2 4.5s ease-in-out infinite 0.8s;
    background: linear-gradient(135deg, 
        rgba(251, 191, 36, 0.3), 
        rgba(255, 255, 255, 0.2));
}

.flow-3 {
    width: 140px;
    height: 140px;
    bottom: 15%;
    left: 15%;
    animation: float3 7s ease-in-out infinite 1.5s;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25), 
        rgba(249, 115, 22, 0.25));
}

.flow-4 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 5%;
    animation: float4 5s ease-in-out infinite 2.2s;
    background: linear-gradient(135deg, 
        rgba(251, 191, 36, 0.4), 
        rgba(255, 255, 255, 0.15));
}

.flow-5 {
    width: 100px;
    height: 100px;
    bottom: 35%;
    right: 25%;
    animation: float5 5.5s ease-in-out infinite 3s;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2), 
        rgba(249, 115, 22, 0.3));
}

@keyframes float1 {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    33% { 
        transform: translateY(-25px) rotate(60deg) scale(1.05); 
        opacity: 1;
    }
    66% { 
        transform: translateY(-15px) rotate(120deg) scale(0.95); 
        opacity: 0.9;
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) scale(1); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) translateX(15px) rotate(180deg) scale(1.1); 
        opacity: 1;
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.9;
    }
    25% { 
        transform: translateY(-30px) rotate(-45deg) scale(1.08); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) rotate(-90deg) scale(1.12); 
        opacity: 1;
    }
}

@keyframes float4 {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    40% { 
        transform: translateY(-15px) translateX(-20px) rotate(160deg) scale(1.15); 
        opacity: 1;
    }
    80% { 
        transform: translateY(-8px) translateX(-10px) rotate(320deg) scale(0.9); 
        opacity: 0.9;
    }
}

@keyframes float5 {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.85;
    }
    30% { 
        transform: translateY(-22px) rotate(90deg) scale(0.9); 
        opacity: 1;
    }
    70% { 
        transform: translateY(-18px) rotate(180deg) scale(1.05); 
        opacity: 0.9;
    }
}

/* Responsive Design for Final CTA */
@media (max-width: 1024px) {
    .final-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(2.5rem, 6vw, 4rem);
        min-height: auto;
        max-width: 800px;
    }
    
    .final-cta-visual {
        width: clamp(250px, 35vw, 320px);
        height: clamp(250px, 35vw, 320px);
        order: -1;
    }
    
    .final-cta-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: clamp(40px, 8vw, 60px) 0;
    }
    
    .final-cta-visual {
        width: clamp(280px, 50vw, 350px);
        height: clamp(280px, 50vw, 350px);
    }
    
    .final-cta-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .final-cta-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
    }
    
    .flow-1 { width: 90px; height: 90px; }
    .flow-2 { width: 60px; height: 60px; }
    .flow-3 { width: 110px; height: 110px; }
    .flow-4 { width: 45px; height: 45px; }
    .flow-5 { width: 75px; height: 75px; }
}

@media (max-width: 480px) {
    .final-cta-title {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
    }
    
    .final-cta-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        margin-bottom: clamp(2rem, 5vw, 2.5rem);
    }
    
    .final-cta-button {
        width: 100%;
        max-width: 320px;
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .final-cta-visual {
        width: clamp(220px, 60vw, 280px);
        height: clamp(220px, 60vw, 280px);
    }
    
    .flow-1 { width: 70px; height: 70px; }
    .flow-2 { width: 45px; height: 45px; }
    .flow-3 { width: 85px; height: 85px; }
    .flow-4 { width: 35px; height: 35px; }
    .flow-5 { width: 55px; height: 55px; }
}

/* ===== WORDPRESS FORM FIELD FIXES ===== */
/* WordPress hidden fields styling - ensure no spacing issues */
.contact-form input[type="hidden"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    width: 0 !important;
    border: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* WordPress nonce field styling */
.contact-form input[name="_wpnonce"] {
    display: none !important;
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS ===== */

/* Extra Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .hero-content {
        gap: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .contact-content {
        gap: clamp(3rem, 6vw, 4rem);
    }
    
    .testimonial-container {
        padding: 0 1rem;
    }
}

/* Large Tablets */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .business-process-section .content-panel {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .processes-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        text-align: center;
    }
    
    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }
    
    .card-showcase {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .card-container {
        transform: none;
        margin: 0;
    }
}

/* Tablets and Small Tablets */
@media (max-width: 768px) {
    /* General Layout */
    .hero {
        padding: clamp(60px, 10vw, 80px) 0 clamp(40px, 8vw, 60px);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Tech Showcase */
    .tech-showcase {
        padding: clamp(40px, 8vw, 60px) 0;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .icon-carousel {
        height: 200px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
    
    /* FAQ Section */
    .faq-help-section {
        padding: clamp(60px, 10vw, 80px) 0;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-text {
        font-size: 0.9rem;
    }
    
    /* Business Process Section */
    .business-process-section .buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .process-button {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }
    
    .examples {
        grid-template-columns: 1fr;
    }
    
    /* Automation Processes */
    .process-card {
        min-width: 200px;
        padding: 1rem;
    }
    
    .process-steps {
        font-size: 0.8rem;
    }
    
    /* Testimonials */
    .testimonial-quote {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }
    
    .card-showcase {
        display: none; /* Hide cards on mobile for better performance */
    }
    
    .navigation {
        margin-top: 1rem;
    }
    
    /* Contact Form */
    .contact-section {
        padding: clamp(60px, 10vw, 80px) 0;
    }
    
    .contact-form {
        padding: clamp(1.5rem, 4vw, 2rem);
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    /* Final CTA */
    .final-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .final-cta-visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .flow-element {
        width: clamp(40px, 8vw, 60px);
        height: clamp(40px, 8vw, 60px);
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Typography */
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }
    
    /* Stats */
    .stat-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .stat-label {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
    }
    
    /* FAQ */
    .faq-header {
        padding: 0.8rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    .faq-text {
        font-size: 0.85rem;
    }
    
    /* Process Buttons */
    .process-button {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Process Cards */
    .process-card {
        min-width: 180px;
    }
    
    .process-title {
        font-size: 0.9rem;
    }
    
    /* Timeline */
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    /* Contact Form */
    .form-header h3 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
    
    .form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Particles - Reduce on mobile for performance */
    .particles .particle:nth-child(n+6) {
        display: none;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .process-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 20px;
    }
    
    .hero-visual img {
        max-height: 200px;
        width: auto;
    }
    
    .particles {
        display: none; /* Hide particles in landscape for better performance */
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover,
    .process-button:hover,
    .form-submit:hover {
        transform: none;
    }
    
    .cta-button:active,
    .process-button:active,
    .form-submit:active {
        transform: scale(0.95);
    }
    
    .nav-button {
        padding: 12px;
        min-height: 44px;
        min-width: 44px;
    }
    
    .faq-button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print Styles */
@media print {
    .particles,
    .grid-overlay,
    .nav-buttons,
    .final-cta-button,
    .cta-button,
    .form-submit {
        display: none !important;
    }
    
    .hero,
    .contact-section,
    .testimonial-section {
        break-inside: avoid;
    }
}

/* --- Universal Responsive Improvements --- */
@media (max-width: 1400px) {
  .hero-content,
  .showcase-container,
  .automation-content {
    max-width: 100vw;
    padding: 0 2vw;
  }
}
@media (max-width: 1024px) {
  .hero-content,
  .showcase-container,
  .automation-content {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 0 2vw;
  }
  .hero-text, .hero-visual,
  .text-content, .icon-carousel {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .hero-content,
  .showcase-container,
  .automation-content {
    gap: 1.5rem;
    padding: 0 1vw;
  }
  .hero-visual img,
  .hero-gif {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  .cta-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-content,
  .showcase-container,
  .automation-content {
    gap: 1rem;
    padding: 0 0.5vw;
  }
  .hero-text, .hero-visual,
  .text-content, .icon-carousel {
    padding: 0;
    width: 100%;
  }
  .hero-visual img,
  .hero-gif {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  .cta-container {
    gap: 0.5rem;
  }
}

/* ===== ABOUT US PAGE STYLES ===== */

/* About Hero Section - Same styling as main hero */
.about-hero {
    background: var(--premium-gradient);
    color: var(--white);
    padding: clamp(1rem, 3vw, 2rem) 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    margin-top: 80px; /* Account for fixed header */
}

/* Reuse hero background animations for about page */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 110%;
    background: 
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(249,115,22,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.15) 1px, transparent 1px),
        linear-gradient(rgba(37,99,235,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.1) 1px, transparent 1px);
    background-size: 
        120px 120px, 120px 120px,
        60px 60px, 60px 60px,
        180px 180px, 180px 180px;
    background-position: 
        0 0, 0 0,
        30px 30px, 30px 30px,
        90px 90px, 90px 90px;
    animation: primaryGridSlide 50s linear infinite;
    z-index: -1;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(rgba(249,115,22,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.12) 1px, transparent 1px);
    background-size: 
        100px 100px, 100px 100px,
        50px 50px, 50px 50px;
    background-position: 
        0 0, 0 0,
        25px 25px, 25px 25px;
    animation: gridSlideLeft 40s linear infinite;
    z-index: -1;
}

/* About Content Layout */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
    text-align: left;
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

/* About Hero Typography */
.about-hero h1 {
    font-size: clamp(2.0rem, 6.5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: clamp(0.1rem, 3vw, 1rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-align: left;
    color: var(--white);
}

.about-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    margin-bottom: clamp(0.5rem, 2vw, 0.8rem);
    opacity: 0.85;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    letter-spacing: 0.02em;
}

.about-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: clamp(1rem, 4vw, 1rem);
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    max-width: 90%;
}

/* About Stats - Same as hero stats */
.about-stats {
    display: flex;
    gap: clamp(1rem, 3vw, 1rem);
    margin: clamp(1rem, 5vw, 1rem) 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* About Image Styling */
.about-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: clamp(12px, 2.5%, 24px);
    box-shadow: 
        0 clamp(15px, 3%, 35px) clamp(40px, 8%, 80px) rgba(0,0,0,0.4),
        0 0 0 2px rgba(255,255,255,0.15),
        0 0 clamp(30px, 5%, 60px) rgba(249,115,22,0.2);
    transition: all 0.4s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: clamp(12px, 2.5%, 24px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image-container:hover .image-overlay {
    opacity: 1;
}

.about-image-container:hover .about-main-image {
    transform: scale(1.02);
}

/* Our Story Section */
.our-story {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    width: 100vw;
    max-width: 100vw;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.story-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* Our Values Section */
.our-values {
    background: var(--premium-gradient);
    color: var(--white);
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
}

.our-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridSlowSlide 60s linear infinite;
    z-index: -1;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.values-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
    padding: clamp(4rem, 8vw, 6rem) 0;
    position: relative;
    width: 100vw;
    max-width: 100vw;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.team-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.team-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: clamp(3rem, 6vw, 4rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
}

.member-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--medium-gray);
    margin: 0;
}

/* About Page Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-visual {
        order: -1;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-hero {
        margin-top: 60px;
        padding: 2rem 0;
    }
    
    .about-content {
        padding: 0 1.5rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat {
        flex: 1 1 45%;
        min-width: 120px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* ===== BLOG STYLES ===== */

/* Blog Hero Section */
.blog-hero {
    background: var(--premium-gradient);
    color: var(--white);
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-top: 80px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridSlowSlide 40s linear infinite;
    z-index: -1;
}

.blog-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.blog-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.blog-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Archive Container */
.blog-archive-container {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
    padding: clamp(4rem, 8vw, 6rem) 0;
    width: 100vw;
    max-width: 100vw;
}

.blog-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Post Card */
.post-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.1);
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card:hover .post-overlay {
    opacity: 1;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-category {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-title {
    margin: 0 0 1rem 0;
}

.post-title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--orange);
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(249, 115, 22, 0.1);
}

.read-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.read-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
    transform: translateX(3px);
}

.read-time {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 4rem 0;
}

.no-posts-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-posts-content p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.back-home-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-numbers a,
.page-numbers .current {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers a {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.page-numbers a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.page-numbers .current {
    background: var(--orange);
    color: var(--white);
}

/* ===== SINGLE POST STYLES ===== */

.single-post-container {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f9ff 100%);
    padding: clamp(2rem, 4vw, 3rem) 0;
    width: 100vw;
    max-width: 100vw;
    margin-top: 80px;
    min-height: 100vh;
}

.single-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Post Header */
.single-post-header {
    margin-bottom: 3rem;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-breadcrumb a {
    color: var(--orange);
    text-decoration: none;
}

.post-breadcrumb a:hover {
    color: var(--primary-blue);
}

.post-breadcrumb span {
    color: var(--medium-gray);
}

.post-categories {
    margin-bottom: 1rem;
}

.post-category-tag {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.single-post-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(249, 115, 22, 0.1);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

/* Single Post Thumbnail */
.single-post-thumbnail {
    margin: 3rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Single Post Content */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--primary-blue);
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
}

.single-post-content h2 {
    font-size: 2rem;
}

.single-post-content h3 {
    font-size: 1.6rem;
}

.single-post-content h4 {
    font-size: 1.3rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 8px;
    font-style: italic;
    color: var(--primary-blue);
}

/* Post Tags */
.post-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(249, 115, 22, 0.1);
}

.post-tags h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.tags-list a {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-1px);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.post-navigation a {
    display: block;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.post-navigation a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}

.nav-next a {
    text-align: right;
}

/* Back to Blog */
.back-to-blog {
    text-align: center;
    margin: 3rem 0;
}

.back-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--orange));
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.back-blog-btn svg {
    width: 18px;
    height: 18px;
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        margin-top: 60px;
        padding: 2rem 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-card {
        margin: 0 1rem;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-archive-container,
    .single-post-container {
        padding: 2rem 0;
    }
    
    .blog-main,
    .single-post {
        padding: 0 1rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .single-post-content {
        font-size: 1rem;
    }
}

/* ===== DESKTOP NAVIGATION CTA BUTTON ENHANCEMENT ===== */

/* Make Book Consultation button wider on desktop */
@media (min-width: 1024px) {
    .nav-cta {
        padding: 0.8rem 2.5rem !important;
        min-width: 180px !important;
        white-space: nowrap !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
    }
    
    /* Ensure proper spacing in navigation */
    .nav-links {
        gap: clamp(1.5rem, 2.5vw, 2rem) !important;
    }
    
    /* Better hover state for wider button */
    .nav-cta:hover {
        padding: 0.8rem 2.8rem !important;
        transform: translateY(-2px) scale(1.02) !important;
    }
}

/* Enhanced styling for the CTA button */
.nav-cta {
    position: relative !important;
    overflow: hidden !important;
}

.nav-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.6s ease !important;
}

.nav-cta:hover::before {
    left: 100% !important;
}

/* ===== ENHANCED TECH SHOWCASE INFINITE ANIMATIONS ===== */

/* Smooth infinite carousel animation - no icons leave the screen */
@keyframes infiniteCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Override existing tech showcase animations */
.icon-carousel {
    animation: infiniteCarousel 40s linear infinite !important;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smoother individual icon animations */
.tech-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.tech-icon:hover {
    transform: translateY(-8px) scale(1.1) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Enhanced floating animations for individual icons */
@keyframes floatSmooth1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes floatSmooth2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-4px) rotate(-1deg);
    }
    66% {
        transform: translateY(-2px) rotate(1deg);
    }
}

@keyframes floatSmooth3 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    20% {
        transform: translateY(-2px) rotate(0.5deg);
    }
    40% {
        transform: translateY(-5px) rotate(0deg);
    }
    60% {
        transform: translateY(-3px) rotate(-0.5deg);
    }
    80% {
        transform: translateY(-1px) rotate(0deg);
    }
}

/* Apply different floating animations to create variety */
.tech-icon:nth-child(3n+1) {
    animation: floatSmooth1 6s ease-in-out infinite !important;
    animation-delay: 0s;
}

.tech-icon:nth-child(3n+2) {
    animation: floatSmooth2 7s ease-in-out infinite !important;
    animation-delay: 1s;
}

.tech-icon:nth-child(3n+3) {
    animation: floatSmooth3 8s ease-in-out infinite !important;
    animation-delay: 2s;
}

/* Pause carousel on hover for better UX */
.tech-showcase:hover .icon-carousel {
    animation-play-state: paused !important;
}

/* Smooth carousel container */
.tech-showcase {
    overflow: hidden !important;
}

.icon-carousel {
    display: flex !important;
    width: calc(200% + 40px) !important; /* Ensure seamless loop */
    gap: 3rem !important;
}

/* Ensure icons maintain their size and don't get cut off */
.tech-icon {
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
}

/* Performance optimizations */
.tech-showcase * {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* ===== TECH SHOWCASE ELEGANT INFINITE ANIMATION WITH FADE EDGES ===== */

/* Reset previous animations and create proper container */
.tech-showcase {
    position: relative !important;
    overflow: hidden !important;
    padding: 3rem 0 !important;
    -webkit-mask: linear-gradient(to right, 
        transparent 0%, 
        rgba(0,0,0,0.1) 5%, 
        rgba(0,0,0,1) 15%, 
        rgba(0,0,0,1) 85%, 
        rgba(0,0,0,0.1) 95%, 
        transparent 100%) !important;
    mask: linear-gradient(to right, 
        transparent 0%, 
        rgba(0,0,0,0.1) 5%, 
        rgba(0,0,0,1) 15%, 
        rgba(0,0,0,1) 85%, 
        rgba(0,0,0,0.1) 95%, 
        transparent 100%) !important;
}

/* Create fade-out zones at both ends */
.tech-showcase::before,
.tech-showcase::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 120px !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.tech-showcase::before {
    left: 0 !important;
    background: linear-gradient(to right, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(248, 250, 252, 0.9) 30%, 
        rgba(248, 250, 252, 0.3) 70%, 
        transparent 100%) !important;
}

.tech-showcase::after {
    right: 0 !important;
    background: linear-gradient(to left, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(248, 250, 252, 0.9) 30%, 
        rgba(248, 250, 252, 0.3) 70%, 
        transparent 100%) !important;
}

/* Infinite smooth carousel - proper infinite loop */
.icon-carousel {
    display: flex !important;
    width: fit-content !important;
    gap: 4rem !important;
    animation: smoothInfiniteScroll 60s linear infinite !important;
    will-change: transform !important;
}

/* Smooth infinite scroll animation */
@keyframes smoothInfiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ensure icons are properly sized and spaced */
.tech-icon {
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

/* Subtle floating animations for individual icons */
.tech-icon:nth-child(even) {
    animation: gentleFloat1 8s ease-in-out infinite !important;
}

.tech-icon:nth-child(odd) {
    animation: gentleFloat2 10s ease-in-out infinite !important;
}

@keyframes gentleFloat1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes gentleFloat2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Hover effects */
.tech-icon:hover {
    transform: translateY(-10px) scale(1.1) !important;
    z-index: 3 !important;
}

/* Pause carousel on showcase hover */
.tech-showcase:hover .icon-carousel {
    animation-play-state: paused !important;
}

/* Remove any conflicting animations */
.tech-showcase .tech-icon {
    animation-delay: 0s !important;
}

/* Performance optimizations */
.tech-showcase,
.icon-carousel,
.tech-icon {
    backface-visibility: hidden !important;
    transform-style: preserve-3d !important;
}

/* ===== TECH SHOWCASE PERFECTED - NO TEXT OVERLAP, SMOOTH FADE EDGES ===== */

/* Reset and clean up previous animations */
.tech-showcase * {
    animation: none !important;
}

.tech-showcase {
    position: relative !important;
    background: #f8fafc !important;
    padding: 4rem 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    gap: 3rem !important;
}

/* Container layout - text stays left, icons flow right */
.showcase-container {
    display: flex !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    gap: 4rem !important;
    position: relative !important;
}

/* Text content - fixed width, stays left */
.text-content {
    flex: 0 0 350px !important;
    z-index: 10 !important;
    background: linear-gradient(to right, #f8fafc 0%, #f8fafc 90%, transparent 100%) !important;
    padding-right: 2rem !important;
}

/* Icon carousel container - takes remaining space */
.icon-carousel {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    height: 300px !important;
    -webkit-mask: linear-gradient(to right, 
        transparent 0%, 
        rgba(0,0,0,0.3) 10%, 
        rgba(0,0,0,1) 20%, 
        rgba(0,0,0,1) 80%, 
        rgba(0,0,0,0.3) 90%, 
        transparent 100%) !important;
    mask: linear-gradient(to right, 
        transparent 0%, 
        rgba(0,0,0,0.3) 10%, 
        rgba(0,0,0,1) 20%, 
        rgba(0,0,0,1) 80%, 
        rgba(0,0,0,0.3) 90%, 
        transparent 100%) !important;
}

/* Carousel track - contains all icon rows */
.carousel-track {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around !important;
}

/* Icon rows */
.icon-row {
    height: 80px !important;
    position: relative !important;
    overflow: visible !important;
}

/* Icon tracks - the moving elements */
.icon-track {
    display: flex !important;
    gap: 3rem !important;
    width: fit-content !important;
    height: 100% !important;
    align-items: center !important;
}

/* Row-specific animations */
.icon-row:nth-child(1) .icon-track {
    animation: smoothScrollRight 45s linear infinite !important;
}

.icon-row:nth-child(2) .icon-track {
    animation: smoothScrollLeft 40s linear infinite !important;
}

.icon-row:nth-child(3) .icon-track {
    animation: smoothScrollRight 50s linear infinite !important;
}

/* Smooth infinite scroll animations */
@keyframes smoothScrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes smoothScrollLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tech icons */
.tech-icon {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #6366f1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1) !important;
}

.tech-icon svg {
    width: 32px !important;
    height: 32px !important;
}

/* Gentle floating animation for icons */
.tech-icon:nth-child(even) {
    animation: gentleFloat 6s ease-in-out infinite !important;
}

.tech-icon:nth-child(odd) {
    animation: gentleFloat2 8s ease-in-out infinite !important;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes gentleFloat2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Hover effects */
.tech-icon:hover {
    transform: translateY(-15px) scale(1.15) !important;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3) !important;
    z-index: 5 !important;
}

/* Pause animation on hover */
.tech-showcase:hover .icon-track {
    animation-play-state: paused !important;
}

/* Performance optimizations */
.tech-showcase,
.icon-carousel,
.carousel-track,
.icon-track,
.tech-icon {
    will-change: transform !important;
    backface-visibility: hidden !important;
    transform-style: preserve-3d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .showcase-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .text-content {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
        background: #f8fafc !important;
        padding-right: 0 !important;
    }
    
    .icon-carousel {
        height: 200px !important;
    }
    
    .tech-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .tech-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ===== WORKFLOW BUTTONS FIX - MAKE THEM FUNCTIONAL ===== */

/* Workflow buttons styling and functionality */
.workflow-button {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

.workflow-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: white !important;
    text-decoration: none !important;
}

.workflow-button:active {
    transform: translateY(0) !important;
}

/* Ensure buttons work on click */
.workflow-button:focus {
    outline: 2px solid #f97316 !important;
    outline-offset: 2px !important;
}

/* ===== TIMELINE CTA BUTTONS ENHANCEMENT ===== */

.timeline-cta {
    display: inline-block !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
    margin-top: 1rem !important;
    text-align: center !important;
    min-width: 180px !important;
}

.timeline-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4) !important;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: white !important;
    text-decoration: none !important;
}

.timeline-cta:active {
    transform: translateY(-1px) scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

.timeline-cta:focus {
    outline: 3px solid rgba(249, 115, 22, 0.5) !important;
    outline-offset: 2px !important;
}

/* Ensure timeline content has proper spacing */
.timeline-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.timeline-content h3 {
    margin-bottom: 0.5rem !important;
}

.timeline-content p {
    margin-bottom: 1rem !important;
    flex-grow: 1 !important;
}

/* Make timeline items more interactive */
.timeline-item {
    transition: all 0.3s ease !important;
}

.timeline-item:hover {
    transform: translateY(-2px) !important;
}

.timeline-item:hover .timeline-cta {
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important;
}

/* ===== SINGLE POST STYLES ===== */

/* This class is on your <article> tag in single.php */
.single-post-full-width-article {
    max-width: 800px; /* Adjust for desired reading width */
    margin: 0 auto;
    padding: 2rem 1.5rem; /* Add some spacing */
}

/* Style the post title */
.single-post-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Style the post meta information (author, date) */
.single-post-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--medium-gray);
}

.author-meta img {
    border-radius: 50%;
}

/* Style the main content of the post */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--primary-blue);
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
    line-height: 1.3;
}

.single-post-content h2 {
    font-size: 2.2rem;
}

.single-post-content h3 {
    font-size: 1.8rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.75rem;
}

.single-post-content a {
    color: var(--orange);
    text-decoration: underline;
    font-weight: 500;
}

.single-post-content a:hover {
    color: var(--orange-light);
}

.single-post-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: #f8fafc;
    font-style: italic;
    color: var(--slate);
}

/* =============================================================================
   BLOG TEMPLATE STYLES
   ============================================================================= */

/* Blog Page Template Styles */
.blog-wrapper {
    margin-top: 80px;
}

.blog-hero {
    position: relative;
    background: var(--premium-gradient);
    padding: 8rem 0 6rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.blog-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.blog-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--orange);
    border-radius: 50%;
    animation: blogParticleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

@keyframes blogParticleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

.blog-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.blog-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 22, 40, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.blog-card-separator {
    color: var(--orange);
}

.blog-card-title {
    margin-bottom: 1rem;
}

.blog-card-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--orange);
}

.blog-card-excerpt {
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    color: var(--orange-light);
    gap: 0.75rem;
}

.blog-card-link svg {
    transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.blog-no-posts {
    text-align: center;
    padding: 4rem 0;
}

.blog-no-posts-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.blog-no-posts-content p {
    color: var(--slate);
    font-size: 1.1rem;
}

/* Single Post Template Styles */
.single-post-wrapper {
    margin-top: 80px;
}

.single-post-hero {
    position: relative;
    background: var(--premium-gradient);
    padding: 6rem 0;
    overflow: hidden;
}

.single-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.single-post-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.post-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    animation: postParticleFloat 10s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}

@keyframes postParticleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 1;
    }
}

.single-post-header {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.single-post-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.single-post-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-post-breadcrumb a:hover {
    color: var(--orange);
}

.single-post-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.post-separator {
    color: var(--orange);
}

.single-post-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.single-post-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
}

.single-post-featured-image {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.featured-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    padding: 4rem 0;
    background: var(--white);
}

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.post-content {
    margin-bottom: 3rem;
}

.post-tags {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.post-tags h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.tag-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.nav-previous .nav-link {
    text-align: left;
}

.nav-next .nav-link {
    text-align: right;
}

.nav-direction {
    font-size: 0.85rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-title {
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.4;
}

.related-posts {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.related-posts-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.related-post-title {
    margin-bottom: 0.75rem;
}

.related-post-title a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--orange);
}

.related-post-excerpt {
    color: var(--slate);
    line-height: 1.6;
    font-size: 0.95rem;
}

.post-cta {
    padding: 6rem 0;
    background: var(--premium-gradient);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Archive Template Styles */
.archive-wrapper {
    margin-top: 80px;
}

.archive-hero {
    position: relative;
    background: var(--premium-gradient);
    padding: 6rem 0;
    overflow: hidden;
}

.archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(249, 115, 22, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.archive-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.archive-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--orange);
    border-radius: 50%;
    animation: archiveParticleFloat 12s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

@keyframes archiveParticleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.1);
        opacity: 1;
    }
}

.archive-header {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.archive-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.archive-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-breadcrumb a:hover {
    color: var(--orange);
}

.archive-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.archive-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.archive-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
}

.archive-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.archive-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.archive-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}

.archive-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 22, 40, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.archive-card-content {
    padding: 2rem;
}

.archive-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.archive-card-separator {
    color: var(--orange);
}

.archive-card-title {
    margin-bottom: 1rem;
}

.archive-card-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.archive-card-title a:hover {
    color: var(--orange);
}

.archive-card-excerpt {
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.archive-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.archive-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-card-link:hover {
    color: var(--orange-light);
    gap: 0.75rem;
}

.archive-card-link svg {
    transition: transform 0.3s ease;
}

.archive-card-link:hover svg {
    transform: translateX(4px);
}

.archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.archive-no-posts {
    text-align: center;
    padding: 4rem 0;
}

.archive-no-posts-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.archive-no-posts-content p {
    color: var(--slate);
    font-size: 1.1rem;
}

.archive-no-posts-content a:hover {
    color: var(--orange-light);
    text-decoration: underline;
}

/* Mobile Responsiveness for Blog Templates */
@media (max-width: 768px) {
    .blog-hero-title,
    .single-post-title,
    .archive-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle,
    .single-post-excerpt,
    .archive-description {
        font-size: 1.1rem;
    }
    
    .blog-grid,
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .single-post-breadcrumb,
    .archive-breadcrumb {
        flex-wrap: wrap;
        font-size: 0.9rem;
    }
    
    .single-post-meta {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .related-posts-title {
        font-size: 2rem;
    }
    
    .blog-card-content,
    .archive-card-content {
        padding: 1.5rem;
    }
}

/* ======================================
   METHODOLOGY PAGE STYLES
   ====================================== */

/* Methodology Hero Section */
.methodology-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--premium-gradient);
    overflow: hidden;
    padding: 120px 0 60px;
}

.methodology-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.methodology-text {
    color: var(--white);
}

.methodology-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ddd6fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.methodology-tagline {
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.methodology-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.methodology-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.methodology-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.methodology-image-container {
    width: 500px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Methodology Overview Section */
.methodology-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 2rem;
}

.overview-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.highlight-icon {
    font-size: 2rem;
    min-width: 3rem;
    text-align: center;
}

.highlight-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--slate);
    margin: 0;
    font-size: 1rem;
}

.overview-visual {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Methodology Steps Section */
.methodology-steps {
    padding: 100px 0;
    background: var(--premium-gradient);
    position: relative;
    overflow: hidden;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.steps-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ddd6fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--orange) 0%, rgba(249, 115, 22, 0.3) 100%);
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    position: relative;
    z-index: 2;
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.step-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.step-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.step-details li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Methodology Benefits Section */
.methodology-benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefits-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--slate);
    line-height: 1.6;
    font-size: 1rem;
}

/* Methodology CTA Section */
.methodology-cta {
    padding: 100px 0;
    background: var(--premium-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.methodology-cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ddd6fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.methodology-cta p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .methodology-content,
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .methodology-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .step-item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .methodology-text h1 {
        font-size: 2.5rem;
    }
    
    .methodology-tagline {
        font-size: 1.25rem;
    }
    
    .methodology-subtitle {
        font-size: 1.1rem;
    }
    
    .methodology-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overview-text h2,
    .steps-title,
    .benefits-title,
    .methodology-cta h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .methodology-content,
    .overview-container,
    .steps-container,
    .benefits-container,
    .cta-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .methodology-hero {
        padding: 100px 0 40px;
    }
    
    .methodology-text h1 {
        font-size: 2rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== LEFT SIDE - TEXT CONTENT ===== */
.hero-text {
    flex: 1;
    text-align: left;
    max-width: 50%;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* AÑADE ESTA REGLA: Evita que el contenedor de texto se expanda más allá de su límite */
    min-width: 0; 
}

/* ===== SUBTITLE STYLING ===== */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: clamp(1rem, 4vw, 1rem);
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    min-height: auto;
    text-align: left;
    max-width: 90%;
    /* AÑADE ESTAS REGLAS: Asegura que el texto se ajuste correctamente */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ===== HERO SUBTITLE WRAPPING FIX ===== */
.hero-subtitle, .hero-subtitle span {
    word-wrap: break-word;       /* Legacy browsers */
    overflow-wrap: break-word;   /* Modern browsers */
    white-space: pre-line;       /* Respects line breaks in the text */
}

/* Ensure the flex container can shrink */
.hero-text {
    min-width: 0;
}

/* === Methodology page & footer hot-fixes ====================== */

/* 1 ▸ Limit the animated grid to the tech-showcase section only */
body::before {                  /* neutralise the global rule */
    display: none !important;
}
.tech-showcase::before {        /* re-apply grid where it’s wanted */
    content: '';
    position: fixed;            /* or `absolute` if you prefer */
    inset: 0;
    width: 110%;
    background:
        linear-gradient(rgba(128,128,128,.1) 1px,transparent 1px),
        linear-gradient(90deg,rgba(128,128,128,.1) 1px,transparent 1px);
    background-size: 80px 80px;
    animation: techGridSlide 30s linear infinite;
    z-index: -1;
}

/* 2 ▸ Tame footer social-media icons */
.footer-social a{
    display: inline-flex;
    width: 32px;                /* desired tap-target size */
    height: 32px;
    align-items: center;
    justify-content: center;
}

.footer-social svg{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==== VERITAS — CONSOLIDATED FOOTER LAYOUT & COLORS ============== */
.footer{
    background: linear-gradient(135deg,#001d3d 0%,#0a1628 100%);
    color:#f8fafc;
    padding:4rem 1rem;
    font-size:0.95rem;
}

.footer-container{                  /* centres everything */
    max-width:1400px;
    margin-inline:auto;
    padding-inline:40px;
}

.footer-content{                    /* 4-column desktop / 2-col tablet */
    display:grid;
    grid-template-columns:1.25fr repeat(3,minmax(160px,1fr));
    gap:3rem;
    align-items:start;
}

.footer-brand{min-width:220px;}     /* brand column */
.footer-logo{margin-bottom:1rem;}
.footer-logo img{max-width:160px;height:auto;display:block;}

.footer-social{display:flex;gap:.75rem;margin-top:.75rem;}

/* headings & lists */
.footer-section h4{
    font-size:1.1rem;
    margin:0 0 1rem;
    font-weight:600;
    color:var(--orange,#f97316);
}
.footer-section ul{list-style:none;margin:0;padding:0;}
.footer-section li+li{margin-top:.5rem;}

/* links – force all states to inherit white, hover orange */
.footer a,
.footer a:visited,
.footer a:active{
    color:inherit;
    text-decoration:none;
}
.footer a:hover,
.footer a:focus{
    color:var(--orange,#f97316);
}

/* bottom bar */
.footer-bottom{
    margin-top:3rem;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:1.5rem;
}
.footer-bottom-content{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:space-between;
    align-items:center;
    font-size:.875rem;
}
.footer-links{display:flex;gap:1rem;}

/* responsive tweaks */
@media (max-width:992px){
    .footer-content{grid-template-columns:repeat(2,minmax(160px,1fr));}
    .footer-brand{grid-column:1 / -1;}            /* logo spans full width */
}
@media (max-width:768px){
    .footer-container{padding-inline:20px;}
}
/* === FIX: evitar saltos por el typing effect ========== */
.hero{                       /* desactiva scroll-anchoring */
    overflow-anchor:none;
}

/* reserva altura para el subtítulo animado               */
.hero-subtitle{
    display:block;
    min-height:6rem;         /* ≈2 líneas desktop           */
}

@media(max-width:768px){     /* un poco más en móvil        */
    .hero-subtitle{min-height:7.5rem;}
}

/* === Hero spacing tweak (desktop & tablet) =================== */
.hero{
    /* Entre 96 px y 140 px de padding según ancho de viewport */
    padding-top: clamp(6rem, 8vw, 8.75rem);
}

/* Opcional: algo menos en móviles – mantiene consistencia con el header */
@media (max-width: 768px){
    .hero{
        padding-top: clamp(4.5rem, 12vw, 6rem);
    }
}
/* ───────── Privacy Policy Page ───────── */
.privacy-hero{
    /* Pull brand gradient or fall back to navy → secondary-blue */
    background: var(--premium-gradient, linear-gradient(135deg,var(--navy) 0%,var(--secondary-blue) 100%));
    color: var(--white);
    padding: 6rem 1.25rem 4rem;
    text-align:center;
    position:relative;
    overflow:hidden;
}
@media(min-width:1024px){
    .privacy-hero{padding:7rem 1.5rem 5rem;}
}
.privacy-hero::before{ /* soft overlay for readability */
    content:\"\";inset:0;position:absolute;
    background:rgba(0,0,0,.35);
    mix-blend-mode:multiply;
}
.hero-subtitle{
    font-size:1.125rem;
    font-weight:400;
    opacity:.9;
    margin-top:1rem;
}
@media(min-width:640px){.hero-subtitle{font-size:1.25rem;}}

/* Main article */
.privacy-policy-article{
    color:var(--slate);
    font-size:1rem;
    line-height:1.75;
    max-width:72ch;
    margin:0 auto;
}
@media(min-width:1024px){.privacy-policy-article{font-size:1.0625rem;}}
.privacy-policy-article h2{
    margin:2.5rem 0 1rem;
    font-size:1.75rem;
    font-weight:600;
    color:var(--navy);
}
.privacy-policy-article ul,
.privacy-policy-article ol{
    margin:1rem 0 1.5rem 1.25rem;
    padding:0;
}
.privacy-policy-article li{margin-bottom:.5rem;}
.privacy-policy-article a{color:var(--accent-blue);text-decoration:underline;}
.privacy-policy-article strong{font-weight:600;}
/* ─────────────────────────────────────── */
/* ───────── Terms of Service Page ───────── */
.terms-hero{background:var(--premium-gradient,linear-gradient(135deg,var(--navy) 0%,var(--secondary-blue) 100%));
color:var(--white);padding:6rem 1.25rem 4rem;text-align:center;position:relative;overflow:hidden;}
@media(min-width:1024px){.terms-hero{padding:7rem 1.5rem 5rem;}}
.terms-hero::before{content:\"\";inset:0;position:absolute;background:rgba(0,0,0,.35);mix-blend-mode:multiply;}
.terms-article{color:var(--slate);font-size:1rem;line-height:1.75;max-width:72ch;margin:0 auto;}
@media(min-width:1024px){.terms-article{font-size:1.0625rem;}}
.terms-article h2{margin:2.5rem 0 1rem;font-size:1.75rem;font-weight:600;color:var(--navy);}
.terms-article ul,.terms-article ol{margin:1rem 0 1.5rem 1.25rem;padding:0;}
.terms-article li{margin-bottom:.5rem;}
/* ─────────────────────────────────────── */

