/* Modern Design System for Softmax Data */
:root {
    --primary-color: #3498db;
    --secondary-color: #1abc9c;
    --accent-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.15);
    --shadow-heavy: rgba(0,0,0,0.2);
}

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

:root {
    font-size: 125%;
}

@media (max-width: 1024px) {
    :root {
        font-size: 118%;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 112%;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 108%;
    }
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* Override conflicting styles from head.hjs */
section.header-section {
    height: auto !important;
    min-height: 600px !important;
}

/* Hero Section - Override conflicting styles from head.hjs */
.header-section {
    background: linear-gradient(135deg, #1b1f23 0%, #2c3e50 100%) !important;
    color: white !important;
    padding: 80px 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 50 !important;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(52,152,219,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

/* Ensure the hero content is properly positioned */
.hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 40px !important;
}

.hero-text {
    text-align: left;
    max-width: 100%;
    padding: 10px;
}

.hero-text h1 {
    font-size: 3.5rem !important;
    font-weight: 300 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    margin-bottom: 30px !important;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.5s forwards;
    line-height: 1.2 !important;
    position: relative;
    z-index: 5;
    color: white !important;
    /* Fix height jumping issue */
    min-height: 4.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.hero-text h1 #typing-text {
    display: inline-block !important;
    min-height: 1.2em !important;
    height: 1.2em !important;
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background: none !important;
    position: relative;
    z-index: 10;
    border: 1px solid transparent;
    opacity: 1 !important;
    visibility: visible !important;
    /* Prevent height changes */
    overflow: visible !important;
    white-space: nowrap !important;
}

/* Ensure the typing text is visible */
#typing-text {
    display: inline-block !important;
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    background: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 100 !important;
    /* Force positioning */
    position: static !important;
    float: none !important;
    clear: none !important;
    transform: none !important;
}

/* Additional debugging for the hero section */
.header-section {
    /* Force override any conflicting styles */
    height: auto !important;
    min-height: 600px !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
}

.hero-content {
    /* Ensure proper grid layout */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.hero-text {
    /* Ensure proper text positioning */
    text-align: left !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px !important;
    position: relative !important;
    z-index: 10 !important;
}

.hero-visual {
    /* Ensure proper visual positioning */
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    position: relative !important;
    z-index: 10 !important;
}

.hero-text p {
    font-size: 1.3rem !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    margin-bottom: 30px !important;
    color: #bdc3c7 !important;
    line-height: 1.8 !important;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.7s forwards;
}

.hero-text p:nth-child(3) {
    animation-delay: 0.9s;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 1.1s forwards;
}


.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.hero-visual {
    text-align: center;
    opacity: 0;
    transform: translateX(30px);
    animation: slideLeft 1s ease-out 1.3s forwards;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* Remove 3D shadow since it's unnecessary */
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.3); */
}

/* Remove hover effects since this is not a clickable link */
/* .hero-visual img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
} */

/* Partner Logos Section */
.partners-section {
    padding: 60px 0;
    background: white;
}

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

.logo-carousel {
    position: relative;
    overflow: hidden;
    margin: 40px 0 56px;
    padding: 24px 0;
}

#logo-track {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 56px;
    width: 100%;
    perspective: 1200px;
    animation: none;
}

.logo-flip-container {
    position: relative;
    width: 140px;
    height: 68px;
    overflow: hidden;
    perspective: 1000px;
}

.logo-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.65s cubic-bezier(0.66, 0, 0.13, 1), opacity 0.3s ease;
    opacity: 0;
}

.logo-face.current {
    transform-origin: center bottom;
    transform: rotateX(0deg);
    opacity: 1;
}

.logo-face.next {
    transform-origin: center top;
    transform: rotateX(90deg);
}

.logo-face img {
    max-width: 76%;
    max-height: 76%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
}

@media (max-width: 768px) {
    #logo-track {
        gap: 32px;
    }

    .logo-flip-container {
        width: 120px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #logo-track {
        perspective: none;
    }

    .logo-face {
        transition: none;
    }
}


/* Why Softmax Section */
.why-softmax-section {
    position: relative;
    padding: 110px 0;
    background: radial-gradient(120% 120% at 10% 0%, rgba(59, 130, 246, 0.18), transparent 55%), radial-gradient(140% 140% at 90% 0%, rgba(14, 165, 233, 0.16), transparent 55%), #0b1120;
    overflow: hidden;
}

.why-softmax-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 20%, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.why-softmax-section .section-header {
    position: relative;
    z-index: 1;
}

.why-softmax-section .section-header h2 {
    color: #f8fafc;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.why-softmax-section .section-header p {
    color: #cbd5f5;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.why-softmax-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 980px;
    margin: 48px auto 0;
}

.why-softmax-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 245, 255, 0.9) 100%);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.26);
    padding: 32px 28px;
    text-align: left;
    backdrop-filter: blur(6px);
}

.why-softmax-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.why-softmax-card:nth-child(even) {
    background: linear-gradient(180deg, rgba(236, 254, 255, 0.94) 0%, rgba(219, 234, 254, 0.9) 100%);
}

.why-softmax-card:nth-child(even)::before {
    background: linear-gradient(135deg, #f97316, #f43f5e);
}

.why-softmax-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.3));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.25);
}

.why-softmax-icon img {
    width: 34px;
    height: auto;
}

.why-softmax-card:nth-child(even) .why-softmax-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(244, 63, 94, 0.3));
    box-shadow: 0 18px 32px rgba(244, 63, 94, 0.28);
}

.why-softmax-card h3 {
    font-size: 1.3rem;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
    margin-bottom: 12px;
}

.why-softmax-card p {
    font-size: 1rem;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #40506c;
    line-height: 1.7;
    margin: 0;
}

.why-softmax-card:nth-child(even) h3 {
    color: #0f172a;
}

.why-softmax-card:nth-child(even) p {
    color: #3b4257;
}

/* Footer styling */
footer h6 {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    margin-bottom: 15px !important;
}

.footer-6 nav {
    padding: 60px 0 60px;
}

.footer-6 {
    background: #f8fafc;
}

footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

footer ul li a {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #718096 !important;
    line-height: 1.6 !important;
}

footer ul li a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

footer address .footnote-text {
    font-size: 0.8em;
    display: inline-block;
}

/* Simple LinkedIn styling */
.linkedin-simple {
    margin-bottom: 20px;
}

.linkedin-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    text-align: left;
}

.linkedin-link:hover {
    text-decoration: none;
}

.linkedin-link .fui-linkedin {
    margin-right: 6px;
    font-size: 14px;
    color: #718096;
}

.linkedin-text {
    color: #718096;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.linkedin-link:hover .linkedin-text {
    color: #3b82f6;
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid #e2e8f0;
    margin-top: 32px;
    padding: 24px 0;
    background: #eef2f7;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    font-size: 12px;
    color: #718096;
}

.footer-legal a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #3b82f6;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}


/* New Services Section */
.services-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 1;
    transform: translateY(0);
}

.section-header.animate {
    animation: slideUp 1s ease-out forwards;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Bits In Glass layout - expandable cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 40px auto 0;
    max-width: 1200px;
    padding: 0 20px;
}

.service-card {
    background: #f8fafc;
    border: none;
    border-radius: 0;
    padding: 32px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.service-card:nth-child(odd) {
    background: #f1f5f9;
}

.service-card:first-child {
    border-radius: 12px 0 0 12px;
}

.service-card:last-child {
    border-radius: 0 12px 12px 0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.service-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.service-card.expanded .service-details {
    opacity: 1;
    transform: translateY(0);
}

.service-details p {
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 0.8rem;
    flex-grow: 1;
}

.learn-more-btn {
    background: #3b82f6;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.learn-more-btn:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.expand-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expand-btn:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.service-card.expanded .expand-btn {
    transform: rotate(45deg);
}

.service-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.tag {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.learn-more:hover::after {
    width: 100%;
}

.learn-more:hover {
    color: #2980b9;
    transform: translateX(5px);
}

/* Existing Services Grid */
.featured-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-services .row {
    margin-bottom: 40px;
}

.featured-services h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.featured-service-item {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.featured-service-item.animate {
    animation: slideUp 0.8s ease-out forwards;
}

.featured-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.section-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.featured-service-item:hover .section-icon {
    transform: scale(1.1);
}

.featured-service-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.featured-service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: white;
}

.testimonial-section.spotlight {
    padding: 70px 0 80px;
    background: #f5f7fb;
}

.testimonial-section .section-title h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.testimonial-section .section-title .header-sub {
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.testimonial-section.spotlight .testimonial-card {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.testimonial-section.spotlight .testimonial-card p,
.testimonial-section.spotlight .testimonial-card .quotation {
    color: #1f2937;
    opacity: 0.95;
}


.testimonial-card .header-sub {
    color: white !important;
}

.testimonial-card .header-sub i {
    color: white !important;
}

.testimonial-card a {
    color: #4A90E2 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.testimonial-card a:hover {
    color: #6BA3F0 !important;
}

.client-logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.client-logo img {
    height: 40px;
    width: auto;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.quotation {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.testimonial-card .quote-icon {
    height: 48px;
    width: 48px;
    z-index: 2;
}

.testimonial-company img {
    height: 48px;
    width: auto;
    filter: none;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.testimonial-author img {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-meta a {
    color: inherit !important;
    font-weight: 600;
}

.testimonial-section.spotlight .author-meta a,
.testimonial-section.spotlight .author-meta span {
    color: #1f2937 !important;
}

.testimonial-section.spotlight .author-meta a:hover {
    color: #2563eb !important;
}

.testimonial-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.testimonial-link::after {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 3H21V10' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 21H3V14' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M21 3L13 11' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 21L11 13' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.85;
}

.testimonial-link:hover::after {
    opacity: 1;
    transform: translateY(-1px);
}

.author-meta span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.trust-badges {
    margin-top: 60px;
    text-align: center;
}

.badge-heading {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 12px 30px rgba(35, 47, 62, 0.2));
}

.partner-certification {
    max-width: 720px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.partner-certification img {
    height: 72px;
    width: auto;
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-grid {
        gap: 20px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }
}

.quoteauthor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.quoteauthor img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.quoteauthor a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Content Section - Better color flow */
.content-section.lightgrey {
    background: #f1f5f9 !important;
}

.content-section.animated-gradient .header-sub {
    color: #ffffff !important;
    opacity: 1;
}

/* Newsletter + Consult Section */
.consult-offer {
    position: relative;
    padding: 96px 0;
    background: radial-gradient(120% 120% at 10% 20%, rgba(59, 130, 246, 0.22), transparent 55%),
                radial-gradient(140% 140% at 90% 10%, rgba(14, 165, 233, 0.26), transparent 60%),
                #0b1120;
    overflow: hidden;
    color: #e2e8f0;
}

.consult-offer::before {
    content: "";
    position: absolute;
    inset: -40% 0 0 0;
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.35), rgba(59, 130, 246, 0.55), rgba(124, 58, 237, 0.4));
    filter: blur(120px);
    opacity: 0.6;
    z-index: 0;
}

.consult-offer__grid {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.consult-offer__copy,
.consult-offer__form-card {
    flex: 1 1 0;
}

.consult-offer__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.consult-offer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #38bdf8;
    font-weight: 600;
}

.consult-offer__copy h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #f8fafc;
    margin: 0;
}

.consult-offer__copy p {
    font-size: 1.05rem;
    color: #cbd5f5;
    line-height: 1.7;
}

.consult-offer__list {
    margin: 4px 0 12px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.consult-offer__list li {
    position: relative;
    padding-left: 26px;
    color: #e2e8f0;
}

.consult-offer__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.consult-offer__assurance {
    font-size: 0.93rem;
    color: rgba(226, 232, 240, 0.75);
}

.consult-offer__form-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
    padding: 30px 28px;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: center;
}

.consult-offer__form-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

@media (max-width: 960px) {
    .consult-offer__grid {
        flex-direction: column;
    }

    .consult-offer__form-card {
        width: 100%;
        align-self: auto;
    }
}

.consult-offer__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.consult-offer__field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.9);
}

.consult-offer__field input,
.consult-offer__field textarea {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    color: #f8fafc;
    font-size: 0.95rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.consult-offer__field input:focus,
.consult-offer__field textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.consult-offer__field textarea {
    resize: vertical;
    min-height: 100px;
}

.consult-offer__hp {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
}

.consult-offer__submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.35);
    margin-top: 6px;
}

.consult-offer__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.45);
}

.consult-offer__footnote {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.65);
}

.consult-offer__message {
    margin-top: 6px;
    font-size: 0.92rem;
    font-weight: 500;
}

.consult-offer__message--error {
    color: #f87171;
}

.consult-offer__message--success {
    color: #34d399;
}

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

    .consult-offer__form-card {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .consult-offer {
        padding: 96px 0 80px;
    }

    .consult-offer__copy h2 {
        font-size: 2.1rem;
    }

    .consult-offer__copy p {
        font-size: 1rem;
    }
}

/* Service & Industry Detail Pages */
.service-hero {
    position: relative;
    background: radial-gradient(140% 140% at 10% 20%, #1a365d 0%, #0f172a 45%, #020617 100%);
    color: #f5f9ff;
    padding: 140px 0 110px;
    text-align: center;
}

.service-hero h1 {
    font-size: 3.25rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #f9fbff;
    text-shadow: 0 20px 45px rgba(8, 47, 73, 0.45);
}

.service-hero p {
    font-size: 1.2rem;
    color: #f1f5ff;
    max-width: 680px;
    margin: 0 auto;
    text-shadow: 0 16px 36px rgba(8, 47, 73, 0.45);
}

.services-hero {
    color: #f8fafc;
}

.services-hero h1 {
    color: #f8fafc;
    text-shadow: 0 18px 36px rgba(15, 23, 42, 0.4);
}

.services-hero p {
    color: #e5edff;
    text-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}

.service-content {
    padding: 2.2em 0 70px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.service-section {
    margin-bottom: 70px;
}

.service-section h2 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.2rem;
}

.service-section p {
    font-size: 1.05rem;
    color: #52607a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-section.alt {
    background: #f1f5f9;
    border-radius: 24px;
    padding: 56px;
    box-shadow: 0 32px 55px rgba(15, 23, 42, 0.12);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 42px;
    align-items: stretch;
}

.intro-card {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 38px 60px rgba(15, 23, 42, 0.35);
}

.intro-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    color: #e0f2fe;
}

.intro-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.intro-card li {
    position: relative;
    padding-left: 26px;
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5f5;
}

.intro-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #38bdf8;
    font-size: 0.95rem;
}

.intro-highlight {
    color: #0ea5e9;
    font-weight: 600;
}

.intro-copy p {
    margin-bottom: 1.2rem;
}

.automation-types,
.industry-capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0 10px;
}

.automation-types.quad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .automation-types.quad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.automation-card,
.industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
}

.icon-pill,
.industry-card .icon-pill {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    padding: 10px;
}

.icon-pill img {
    height: 32px;
    width: auto;
    display: block;
}

.automation-card h4,
.industry-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.automation-card p,
.industry-card p {
    font-size: 0.95rem;
    color: #52607a;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.benefits-grid-wide {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
}

.benefit-item {
    padding: 28px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.09);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    padding: 10px;
}

.benefit-icon img {
    height: 30px;
    width: auto;
    display: block;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #52607a;
    margin: 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-align: center;
}

.metrics-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.metric-card {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 32px 55px rgba(29, 78, 216, 0.28);
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.95rem;
    opacity: 0.92;
    line-height: 1.5;
}

.process-roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-roadmap-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.09);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.tool-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin: 30px 0 10px;
}

.tool-logos img {
    height: 42px;
    width: auto;
    max-width: 140px;
    filter: grayscale(0.2);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.tool-logos img:hover {
    filter: none;
    transform: translateY(-2px);
}

.tool-logo-tag {
    padding: 14px 24px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    font-size: 0.9rem;
}

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

.case-card {
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    padding: 28px;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 0.75rem;
}

.case-card p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 1rem;
}

.case-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.case-logo {
    height: 32px;
    display: flex;
    align-items: center;
}

.case-logo img {
    height: 28px;
    width: auto;
}

.case-card li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
}

.case-card li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 0;
    color: #0ea5e9;
}

.cta-strip {
    background: rgba(11, 18, 32, 0.94);
    color: #dbe4ff;
    padding: 26px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.cta-strip__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.cta-strip__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-strip__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38bdf8;
    font-weight: 600;
}

.cta-strip__copy h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #f8fafc;
}

.cta-strip__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-strip__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-strip__btn--primary {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: white;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

.cta-strip__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 54px rgba(37, 99, 235, 0.38);
}

.cta-strip__btn--outline {
    color: #cbd5f5;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.45);
}

.cta-strip__btn--outline:hover {
    border-color: rgba(148, 163, 184, 0.6);
    color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.4);
}

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

    .cta-strip__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .cta-strip {
        padding: 24px 0;
    }

    .cta-strip__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-strip__btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .service-section.alt {
        padding: 40px 28px;
    }
    .benefits-grid-wide {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .process-roadmap-wide {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

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

    .service-section {
        margin-bottom: 50px;
    }

    .service-section.alt {
        padding: 32px 20px;
    }

    .intro-card {
        padding: 28px;
    }

    .metric-card {
        padding: 28px 20px;
    }
}

/* Final CTA */

.cta-final {
    background: rgba(9, 15, 30, 0.96);
    backdrop-filter: blur(8px);
    padding: 60px 0;
    color: #dbe4ff;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.cta-final__inner {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cta-final__copy h3 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: #f8fafc;
}

.cta-final__copy p {
    margin: 0;
    font-size: 1rem;
    max-width: 540px;
    line-height: 1.6;
}

.cta-final__button {
    padding: 13px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-final__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 58px rgba(37, 99, 235, 0.45);
}

@media (max-width: 768px) {
    .cta-final {
        padding: 48px 0;
    }

    .cta-final__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cta-final__button {
        align-self: stretch;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-service-item {
        margin-bottom: 30px;
    }
}

/* Utility Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bootstrap Overrides */
.btn-huge {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-huge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.btn-info:hover {
    background: #2980b9;
    border-color: #2980b9;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Typed.js fixes */
#typing-text {
    display: inline-block;
    width: 400px;
    text-align: left;
    vertical-align: top;
}

.typed-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Featured AI Implementations - Always visible cards */
.featured-implementations {
    padding: 80px 0;
    background: white;
}

/* Industry Tiles Grid - Bits in Glass Style */
.industry-tiles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 20px !important;
    margin: 40px 0 !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.industry-tile {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 30px 20px !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 140px !important;
    width: 100% !important;
}

.industry-tile:hover {
    background: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.tile-icon {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    margin-bottom: 15px !important;
}

.tile-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
}

.industry-tile h3 {
    font-size: 16px !important;
    color: #1a202c !important;
    margin: 0 !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

/* Mobile responsive for industry tiles */
@media (max-width: 768px) {
    .industry-tiles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }
    
    .industry-tile {
        min-height: 120px !important;
        padding: 20px 15px !important;
    }
    
    .tile-icon img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .industry-tile h3 {
        font-size: 14px !important;
    }
}

.implementation-card:hover h3,
.implementation-card.expanded h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    font-size: 0.8rem;
}

.implementation-card:hover .service-details,
.implementation-card.expanded .service-details {
    opacity: 1;
    transform: translateX(0);
    overflow: visible;
}

.implementation-card:hover p,
.implementation-card.expanded p {
    overflow: visible;
    text-overflow: initial;
    display: block;
    -webkit-line-clamp: none;
}

.service-details {
    opacity: 0;
    transform: translateX(1.25rem);
    transition: all 0.4s ease;
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.implementation-card:hover .service-details,
.implementation-card.expanded .service-details {
    opacity: 1;
    transform: translateX(0);
    overflow: visible;
}

.implementation-card p {
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 0.75rem;
    flex-grow: 1;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.implementation-card:hover p,
.implementation-card.expanded p {
    overflow: visible;
    text-overflow: initial;
    display: block;
    -webkit-line-clamp: none;
}

.hero-cta {
    display: inline-flex;
    margin-top: 2.2rem;
}

.hero-cta.btn {
    background: linear-gradient(45deg, var(--primary-color), #2980b9);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.35);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 40px 0 10px;
}

.program-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.program-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.program-card p {
    font-size: 0.95rem;
    color: #52607a;
    margin: 0;
}

.program-card a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
    margin-top: auto;
}

.program-card a:hover {
    color: #1e40af;
}


.case-logo {
    height: 32px;
    display: flex;
    align-items: center;
}

.case-logo img {
    height: 28px;
    width: auto;
}
