/* Global Styles */
:root {
    --primary-color: #4A6FFF; /* A modern, trustworthy blue */
    --secondary-color: #9747FF; /* A vibrant accent for CTAs */
    --accent-color: #00D4FF; /* Bright accent for highlights */
    --dark-blue: #0A1931;
    --light-gray: #f5f7ff;
    --text-color: #333;
    --text-light: #555;
    --border-color: #e0e0e0;
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Animation variables */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    cursor: auto; /* Keep default cursor initially */
}

/* Custom Cursor Styles */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-out-quart), 
                border-color 0.15s ease,
                width 0.15s ease,
                height 0.15s ease;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--secondary-color);
    background: rgba(151, 71, 255, 0.1);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1931 0%, #2a2a45 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--dark-blue);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Image Optimization and Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* WebP Support */
.webp-support img {
    content: url(attr(data-webp));
}

/* Header */
header {
    background-color: #fff; /* White background */
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Lighter shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color); /* Primary color */
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color); /* Standard text color */
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--light-gray); /* Light accent background */
    color: var(--primary-color); /* Primary color text */
}

.nav-cta {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none; /* No underline for button-style CTA */
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue); /* Dark blue for hamburger icon lines */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Main Content - General Padding */
main {
    padding-top: var(--header-height); /* Account for fixed header */
}

section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0A1331 0%, #1a1f35 50%, #2a2a45 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Particle Canvas */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Animated Background Gradients */
.hero-bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 2;
    opacity: 0.6;
}

.gradient-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.gradient-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation: float 6s ease-in-out infinite reverse;
}

.gradient-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation: float 7s ease-in-out infinite;
}

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

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 3;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Hero Title Styling */
.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

/* Hero Description */
.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
    transform: translateY(30px);
    opacity: 0;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-data-viz {
    width: 100%;
    max-width: 600px;
    height: 400px;
    position: relative;
    transform: translateX(50px);
    opacity: 0;
}

.data-viz-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(74, 111, 255, 0.3));
}

/* Data visualization animations */
.data-node {
    transform-origin: center;
    animation: pulse 3s ease-in-out infinite;
}

.data-node:nth-child(odd) {
    animation-delay: 0.5s;
}

.data-node:nth-child(even) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.data-connection {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 4s ease-in-out infinite;
}

.data-connection:nth-child(2) { animation-delay: 1s; }
.data-connection:nth-child(3) { animation-delay: 2s; }

@keyframes drawLine {
    0% { stroke-dashoffset: 500; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

.data-block {
    animation: slideData 6s ease-in-out infinite;
}

.data-block:nth-child(2) { animation-delay: 2s; }
.data-block:nth-child(3) { animation-delay: 4s; }

@keyframes slideData {
    0%, 90%, 100% { transform: translateX(0); opacity: 0.6; }
    45% { transform: translateX(20px); opacity: 1; }
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px; /* Ensures space when buttons stack */
    padding: 14px 30px;
    font-size: 1.05rem;
}
/* If only one button, no right margin needed if it's the last of type */
.hero-buttons .btn:last-of-type {
    margin-right: 0;
}
/* When buttons stack, ensure the one on top has bottom margin */
@media (max-width: 480px) { /* Adjust breakpoint as needed for when they stack */
    .hero-buttons .btn {
        display: block; /* Make them full width or block for stacking */
        width: fit-content; /* Or a specific width like 100% or auto */
        margin-left: auto; /* Example: center them if full width */
        margin-right: auto; /* Example: center them if full width */
    }
    .hero-buttons .btn:not(:last-child) {
        margin-bottom: 15px; /* Ensure spacing between stacked buttons */
    }
}

/* Magnetic Buttons */
.magnetic-btn {
    position: relative;
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s var(--ease-out-quart);
    cursor: none;
    border: 2px solid transparent;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.magnetic-btn .btn-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s var(--ease-out-quart);
}

.magnetic-btn .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-out-quart);
    z-index: 1;
}

.magnetic-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.magnetic-btn.btn-primary:hover .btn-bg {
    transform: translateY(0);
}

.magnetic-btn.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.magnetic-btn.btn-secondary .btn-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.magnetic-btn.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.magnetic-btn.btn-secondary:hover .btn-bg {
    transform: translateY(0);
}

/* Legacy button styles for non-magnetic buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Services Teaser Section */
.services-teaser-section {
    background-color: #fff;
}

.section-title {
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 50px;
    perspective: 1000px;
}

.service-item {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s var(--ease-out-quart);
    transform-style: preserve-3d;
    border: 1px solid rgba(74, 111, 255, 0.1);
    overflow: hidden;
    cursor: none;
}

.service-card-inner {
    padding: 35px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s var(--ease-out-quart);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.service-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(74, 111, 255, 0.2);
    border-color: rgba(74, 111, 255, 0.3);
}

.service-item:hover .service-card-bg {
    opacity: 0.05;
}

.service-item:hover .service-card-shine {
    transform: translateX(100%) translateY(-100%) rotate(45deg);
}

.service-item:hover .service-card-inner {
    transform: translateZ(20px);
}

.service-item .service-icon { /* Scoped to service-item */
    font-size: 2rem; /* Reduced icon font size */
    color: var(--primary-color);
    margin-bottom: 12px; /* Adjusted margin */
    background-color: var(--light-accent);
    width: 60px; /* Reduced background circle size */
    height: 60px; /* Reduced background circle size */
    border-radius: 50%;
    display: flex; /* Changed to flex to allow alignment if needed, though not strictly necessary for left align */
    justify-content: center; /* This will center the icon if its container is text-align: left */
    align-items: center;
    /* If icon should also be left-aligned, remove justify-content: center and ensure display: block or inline-block */
    /* For now, let's assume icon stays centered above left-aligned text */
    /* To truly left align icon, remove justify-content and ensure it's not inline-flex or inline-block that would be centered by parent's text-align:center */
    /* Let's try making the icon itself not centered by its own properties, and rely on parent text-align:left */
    /* Reconsidering: if service-item is text-align:left, then an inline-flex icon would also be left. */
    /* Let's keep it simple: if service-item is text-align: left, the icon (as inline-flex) will also be left. */
    /* If the user wants the icon centered above left-aligned text, we'd need to wrap icon in a div and center that div. */
    /* For now, the icon will become left-aligned along with the text. */
    display: inline-flex; /* Reverting to inline-flex, it will align left with parent's text-align:left */
    /* No, display: flex and justify-content: flex-start would be better for explicit left alignment of the icon itself */
    /* Let's stick to the user's request: text left-aligned. The icon's position is fine for now. */
    /* The current display: inline-flex will make the icon align left if the parent .service-item is text-align: left */
    /* No change needed to icon display property for this request if the icon should also be left-aligned. */
}

.service-item h3 {
    font-size: 1.25rem; /* Reduced title font size */
    color: var(--dark-blue);
    margin-bottom: 8px; /* Adjusted margin */
}

.service-item p {
    font-size: 0.85rem; /* Reduced paragraph font size */
    color: var(--text-light);
    line-height: 1.4; /* Slightly reduced line-height for compactness */
}

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

/* Enhanced Key Metrics Section */
.key-metrics-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.metric-item {
    position: relative;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: all 0.4s var(--ease-out-quart);
    transform: translateY(20px);
    opacity: 0;
}

.metric-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(74, 111, 255, 0.15);
    border-color: rgba(74, 111, 255, 0.3);
}

.metric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-item:hover .metric-background {
    opacity: 0.05;
}

.metric-value {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.metric-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-left: 5px;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Customer Logos Section */
.customer-logos-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.customer-logos-section h3 {
    margin-bottom: 40px;
    color: var(--dark-blue);
}

.client-logos-card {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px; /* Spacing between logos */
}

.client-logos-card img {
    max-height: 35px; /* Further reduced for better horizontal fit */
    max-width: 110px; /* Further reduced for better horizontal fit */
    filter: grayscale(100%);
    opacity: 0.65; /* Slightly more visible */
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logos-card img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Slightly increased hover scale for more pop */
}

/* Client Logo Text Styling */
.client-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.65;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(74, 111, 255, 0.05);
    border: 1px solid rgba(74, 111, 255, 0.1);
}

.client-logo-text:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
    background-color: rgba(74, 111, 255, 0.1);
    border-color: rgba(74, 111, 255, 0.2);
}

/* Why Us Section */
.why-us {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background-color: var(--light-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    color: var(--dark-blue);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-slide {
    display: none;
    padding: 40px;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 10px;
}

.testimonial-author strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.testimonial-controls {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Page Title Section (for subpages like Services, Industries, etc.) */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 15%, var(--dark-blue) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-title-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services List Section */
.services-list-section {
    padding: 80px 0;
}

.services-list-section.light-section {
    background-color: #fff;
}

.services-list-section.dark-section {
    background-color: var(--light-gray);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px; /* Add some space between items if they stack */
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item-reverse {
    flex-direction: row-reverse;
}

.service-item-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background-color: var(--light-gray);
    min-width: 100px; /* Fixed width for icon container */
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(74, 111, 255, 0.1);
}

.dark-section .service-item-icon {
    background-color: #fff; /* Ensure icon background is visible on dark sections */
}

.service-item-content {
    flex: 1;
}

.service-item-content h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    text-align: left;
}

.service-item-content p {
    font-size: 1rem;
    color: var(--text-light);
    text-align: left;
}

/* Responsive adjustments for service items */
@media (max-width: 768px) {
    .service-item,
    .service-item-reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-item-icon {
        margin-bottom: 20px;
    }

    .service-item-content h2,
    .service-item-content p {
        text-align: center;
    }
    .page-title-section h1 {
        font-size: 2.5rem;
    }
    .page-title-section p {
        font-size: 1rem;
    }
}

/* Industries Grid Section */
.industries-grid-section {
    padding: 80px 0;
    background-color: #fff; /* Or var(--light-gray) if preferred */
}

.industries-grid-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(74, 111, 255, 0.15);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background-color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.industry-card h3 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.industry-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.industry-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.industry-card ul li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Alternative CTA Section (can be simpler or styled differently) */
.cta-section-alt {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.cta-section-alt h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.cta-section-alt p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Us Page Specific Styles */

.about-image {
    flex-basis: 40%; /* Reduce from default or make it smaller */
    max-width: 450px; /* Max width for the image container */
}



.about-content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1.2; /* Give a bit more space to text */
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image svg {
    max-width: 100%;
    border-radius: 10px;
}

/* Reduce padding for About Us sections */
.about-overview-section,
.core-values-section,
.why-choose-us-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.about-overview-section {
    padding-bottom: 20px; /* Reduced for less space before Core Values */
}

/* Core Values Section */
.core-values-section .section-title {
    color: var(--dark-blue); /* Ensure title color is correct on dark/light background */
}
.dark-section .section-title {
    color: #fff; /* If section title is on a dark background */
}

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

.value-card {
    background-color: #fff; /* Or var(--light-gray) if on a very light section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-section .value-card {
    background-color: var(--dark-blue); /* Example: if cards are on dark background */
    border: 1px solid #4b5a77;
}

.dark-section .value-card h3 {
    color: #fff;
}
.dark-section .value-card p {
    color: #ccc;
}
.dark-section .value-icon {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(74, 111, 255, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background-color: var(--light-gray);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex; /* Use inline-flex for centering */
    justify-content: center;
    align-items: center;
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Global Footprint Section */
.global-footprint-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: -10px auto 30px auto; /* Adjust spacing */
}

.map-placeholder svg {
    width: 100%;
    max-width: 800px; /* Control max size of map */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .about-content-flex {
        flex-direction: column;
    }
    .about-text,
    .about-image {
        flex: 1;
        max-width: 100%;
    }
    .about-text h2 {
        text-align: center;
    }
    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .value-card h3 {
        font-size: 1.3rem;
    }
}

/* Custom Multiselect Checkboxes */
.custom-multiselect-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: #fff;
}

.custom-checkbox-item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px; /* Pill shape */
    background-color: #f0f2f5;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.custom-checkbox-item input[type="checkbox"] {
    display: none; /* Hide the actual checkbox */
}

.custom-checkbox-item span {
    line-height: 1;
}

.custom-checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-checkbox-item:hover {
    background-color: #e4e6e9;
}

.custom-checkbox-item:has(input[type="checkbox"]:checked):hover {
    background-color: var(--primary-color-dark);
}

/* Ensure the label for the group is not confused with item labels */
.form-group > label:first-child {
    display: block;
    margin-bottom: 8px; /* Or your standard form label margin */
}


/* Contact Us Page Specific Styles */
.contact-main-content {
    flex: 2; /* Allow main content to take more space if needed */
}

.contact-form-section {
    padding: 80px 0;
}

.contact-layout {
    display: flex;
    gap: 50px;
}

.contact-form-container {
    flex: 1.5; /* Give more space to the form */
}

.contact-info-container {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    text-align: left;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.2);
    outline: none;
}

.contact-form select[multiple] {
    height: auto; /* Or a fixed height like 150px */
    min-height: 120px;
}

.contact-form small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-form button[type="submit"] {
    width: auto;
    padding: 12px 30px;
    font-size: 1.05rem;
}

.form-status {
    margin-top: 15px;
    font-weight: 500;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 25px; /* Align icons */
    text-align: center;
}

.contact-details strong {
    display: block;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 3px;
}

.contact-details a,
.contact-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-hours h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.calendly-mockup {
    margin-top: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.calendly-mockup h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.calendly-placeholder-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed var(--border-color);
    border-radius: 5px;
    text-align: center;
    color: var(--text-light);
}

.calendly-placeholder-widget i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.calendly-placeholder-widget span {
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
    }
    .contact-info-container {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-container h2,
    .contact-info-container h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: #f0f0f0;
    padding: 60px 0 20px;
}

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

.footer-col .footer-logo .logo-text {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-col p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links a {
    color: #bbb;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #bbb;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155; /* A slightly lighter border within the dark footer */
}

.footer-bottom p {
    color: #999;
    font-size: 0.85rem;
}

/* Animations (using data-aos or custom) */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in.delay-1 { animation-delay: 0.2s; }
.animate-in.delay-2 { animation-delay: 0.4s; }
.animate-in.delay-3 { animation-delay: 0.6s; }

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

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero .container {
        gap: 40px;
    }
    
    .hero-data-viz {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    /* Disable custom cursor on touch devices */
    body {
        cursor: auto;
    }
    
    .cursor {
        display: none;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-description {
        font-size: clamp(1rem, 3vw, 1.2rem);
        max-width: 100%;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-data-viz {
        max-width: 400px;
        height: 300px;
        transform: none;
        opacity: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        perspective: none;
    }
    
    .service-item:hover {
        transform: translateY(-10px);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .metric-item {
        padding: 30px 10px;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .metric-label {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* Disable 3D transforms on mobile */
    .service-item:hover .service-card-inner {
        transform: none;
    }
}

/* Industry Expertise Section */
.industry-expertise {
    background-color: var(--light-gray);
}

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

.expertise-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 111, 255, 0.1);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: rgba(74, 111, 255, 0.2);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

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

.expertise-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.expertise-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--dark-blue); /* Dark background for mobile menu */
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        padding: 20px 0;
    }

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

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-cta {
        display: block;
        margin: 10px 20px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }

    .logo-strip {
        justify-content: center;
    }
    .logo-item {
        flex-basis: calc(33.33% - 20px); /* 3 logos per row on smaller screens */
        min-width: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific optimizations */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .magnetic-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .particles-canvas {
        display: none; /* Disable particles on mobile for performance */
    }
    
    .hero-bg-gradient {
        display: none; /* Disable background gradients on mobile */
    }
    
    .metric-item {
        padding: 30px 15px;
    }
    
    .metric-value {
        font-size: 2.8rem;
    }
    
    .service-card-inner {
        padding: 25px;
    }
    
    .loading-logo {
        font-size: 2.5rem;
    }
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #0A1331 0%, #1a1f35 50%, #2a2a45 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.services-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.services-hero-title span {
    display: block;
}

.services-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Tabs */
.services-nav-section {
    background: #f8f9ff;
    padding: 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid rgba(74, 111, 255, 0.1);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.services-tabs::-webkit-scrollbar {
    display: none;
}

.service-tab {
    background: transparent;
    border: none;
    padding: 25px 35px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.service-tab i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.service-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-tab.active::after {
    transform: scaleX(1);
}

.service-tab:hover {
    background: rgba(74, 111, 255, 0.05);
}

.service-tab.active {
    color: var(--primary-color);
}

.service-tab.active i {
    transform: scale(1.2);
}

/* Service Content */
.services-content-section {
    padding: 80px 0;
}

.service-content {
    display: none;
}

.service-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.service-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(74, 111, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 111, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 111, 255, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #fff;
    font-size: 1.3rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Service Stats */
.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 111, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-top: 10px;
    font-weight: 600;
}

/* Service Visual */
.service-content-visual {
    position: sticky;
    top: 200px;
}

.service-animation-container {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 111, 255, 0.1);
}

.service-svg {
    width: 100%;
    height: auto;
}

/* Comparison Table */
.comparison-section {
    background: #f8f9ff;
    padding: 80px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
}

.comparison-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.comparison-table th {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th.highlight {
    background: rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table td.highlight {
    background: rgba(74, 111, 255, 0.05);
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: rgba(74, 111, 255, 0.02);
}

.comparison-table i.fa-check-circle {
    color: #4CAF50;
    margin-right: 5px;
}

.comparison-table i.fa-times-circle {
    color: #999;
    margin-right: 5px;
}

/* Services CTA */
.services-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
}

.services-cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .btn, .magnetic-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .metric-value {
        font-size: 2.4rem;
    }
    
    .metric-plus {
        font-size: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .service-item {
        margin-bottom: 20px;
    }
    
    .hero-data-viz {
        max-width: 300px;
        height: 200px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Services Page Responsive */
@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-content-visual {
        position: relative;
        top: 0;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-tabs {
        justify-content: flex-start;
        padding: 0 20px;
    }
    
    .service-tab {
        padding: 20px 25px;
        font-size: 0.9rem;
    }
    
    .service-tab i {
        font-size: 1rem;
    }
    
    .service-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 576px) {
    .services-hero-title {
        font-size: 2rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-lead {
        font-size: 1rem;
    }
}

/* Industries Page Styles */
.industries-hero {
    background: linear-gradient(135deg, #0A1331 0%, #1a1f35 50%, #2a2a45 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.industries-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.industries-hero-title span {
    display: block;
}

.industries-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 50px;
}

.industries-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.industry-stat {
    text-align: center;
}

.industry-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
}

.industry-stat .stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.industry-stat .stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 500;
}

.industries-grid-section {
    padding: 100px 0;
    background: #f8f9ff;
}

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

.industry-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: all 0.4s var(--ease-out-quart);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(74, 111, 255, 0.15);
    border-color: rgba(74, 111, 255, 0.3);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.industry-card:hover::before {
    opacity: 0.03;
}

.industry-card > * {
    position: relative;
    z-index: 2;
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) translateZ(10px);
}

.industry-icon i {
    font-size: 2rem;
    color: #fff;
}

.industry-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.industry-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.industry-card ul {
    list-style: none;
    padding: 0;
}

.industry-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.industry-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

/* Industries CTA */
.industries-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
}

.industries-cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.industries-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Industries Responsive */
@media (max-width: 768px) {
    .industries-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .industry-card {
        padding: 30px;
    }
    
    .industry-card:hover {
        transform: translateY(-10px);
    }
}
