:root {
    /* Colors */
    --primary: #0047FF;
    --primary-hover: #0037CC;
    --secondary: #60A5FA;
    --accent: #EFF6FF;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-footer: #1F2937;
    --gradient-text: linear-gradient(135deg, #0047FF 0%, #60A5FA 100%);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    /* Or primary depending on design preference, design looks like dark border */
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-primary-sm {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-block+.btn-block {
    margin-top: var(--spacing-sm);
}

/* Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

.navbar {
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-full {
    height: 48px;
    /* Increased height for full logo */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    color: var(--text-gray);
}

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

.nav-links a.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-btn {
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .nav-right {
        gap: var(--spacing-sm);
    }
}


/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
    background: linear-gradient(to bottom, #EFF6FF 0%, #FFFFFF 50%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-media {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.media-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.features-list-section {
    padding: var(--spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E5E7EB;
    /* Reverted to original border color */
    display: flex;
    flex-direction: column;
    position: relative;
    /* Added for stretched link */
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.feature-img-container {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    background-color: var(--bg-light);
}

.feature-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-container img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.learn-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: auto;
    text-align: left;
}

.learn-more::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.learn-more:hover {
    text-decoration: underline;
}

.features-cta {
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 0 0 var(--spacing-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.col-span-2 {
    grid-column: span 2;
}

.stat-card {
    padding: var(--spacing-md);
    border-radius: 2rem;
    /* Rounded corners like reference */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.stat-desc {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-sub {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 80%;
}

/* Gradients */
.gradient-blue-cyan {
    background: linear-gradient(135deg, #3B82F6 0%, #2DD4BF 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #86EFAC 0%, #2DD4BF 100%);
    color: #064E3B;
    /* Darker text for light background */
}

.gradient-purple {
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
    /* Blue to Darker Blue */
}

.gradient-purple-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    /* Blue variation */
}

.gradient-blue {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

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

    .col-span-2 {
        grid-column: span 2;
    }
}

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

    .col-span-2 {
        grid-column: auto;
    }
}

/* Why Choose Us */
.why-choose {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.why-content>p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.benefits-list li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: var(--secondary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.why-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Insights */
.insights {
    padding: var(--spacing-xl) 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.insight-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid #E5E7EB;
    position: relative;
}

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

.insight-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.insight-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insight-card:hover .insight-img-wrapper img {
    transform: scale(1.05);
}

/* Blog Detail Page Styles */
.blog-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: var(--bg-light);
    text-align: center;
}

.blog-hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
}

.blog-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.blog-body p {
    margin-bottom: var(--spacing-md);
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.blog-meta {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.insight-content {
    padding: var(--spacing-md);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.insight-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.insight-content p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: auto;
}

.read-more::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.read-more:hover {
    text-decoration: underline;
}

.see-all-container {
    margin-top: var(--spacing-lg);
    text-align: center;
}

/* Success Stories */
.success-stories {
    padding: var(--spacing-md) 0 var(--spacing-xl);
    background-color: var(--bg-white);
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.success-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid #E5E7EB;
}

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

.success-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.success-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.success-card:hover .success-img-wrapper img {
    transform: scale(1.05);
}

.success-content {
    padding: var(--spacing-md);
}

.success-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.success-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.success-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.success-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.success-tag {
    font-size: 0.75rem;
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-text);
    padding: var(--spacing-xl) 0;
    color: white;
    text-align: center;
}

.cta-container h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto var(--spacing-sm);
}

.cta-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    font-family: var(--font-main);
}

.cta-form input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sub-page Specific Styles */
.page-header {
    background: var(--bg-light);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Subpage Hero */
.subpage-hero {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-gray);
}

.hero-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-sub {
    width: 100%;
    height: auto;
    display: block;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: 1.25rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #DBEAFE;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-size: 1.25rem;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Detailed Benefits Grid */
.benefits-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-box {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 71, 255, 0.1), 0 10px 10px -5px rgba(0, 71, 255, 0.04);
    border-color: var(--primary);
}

.benefit-box .benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

/* Specific Smaller Benefit Boxes for Demo Page */
.demo-header .benefits-grid-detailed {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px !important;
    gap: var(--spacing-sm);
    margin: 0 auto !important;
}

.demo-header .benefit-box {
    padding: var(--spacing-sm);
    min-width: 0;
    align-items: center;
    text-align: center;
}

.demo-header p {
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-header .benefit-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0.5rem;
}

.benefit-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.contact-info-item {
    margin-bottom: var(--spacing-md);
}

.contact-info-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}

.contact-form-group textarea {
    height: 150px;
    resize: vertical;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.team-member {
    text-align: center;
}

.team-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
}

/* Story CTA - Standardized */
.story-cta {
    background-color: var(--accent);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--text-dark);
}

.story-cta h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
}

.story-cta p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

/* Demo Page Styles */
.demo-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.demo-container {
    max-width: 900px;
}

.demo-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.demo-header h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.contact-card-inline {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.phone-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.demo-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.full-width {
    grid-column: span 2;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

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

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Success Story Styles */
.story-hero {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.story-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-video-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}

.hero-video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.testimonial-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
}

.stats-grid-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.story-stat-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.story-stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.story-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.story-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.story-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.solution-box {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.solution-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.solution-content {
    padding: var(--spacing-md);
}

@media (max-width: 768px) {

    .story-hero-layout {
        grid-template-columns: 1fr;
    }

    .demo-section {
        padding: var(--spacing-lg) 0;
    }

    .demo-container {
        padding: 0 var(--spacing-sm);
    }

    .demo-header h1 {
        font-size: 2.5rem;
    }

    .demo-header .benefits-grid-detailed {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: var(--spacing-sm);
    }

    .demo-form {
        padding: var(--spacing-sm);
        /* Reduced from md (2rem) to sm (1rem) */
        border-radius: var(--radius-md);
        width: 100%;
        box-sizing: border-box;
    }

    .cf-turnstile {
        width: 100% !important;
        overflow-x: auto;
    }

    .full-width {
        grid-column: auto;
    }

    @media (max-width: 400px) {
        .demo-form {
            padding: 0.75rem;
        }

        .demo-container {
            padding: 0 0.5rem;
        }
    }

    .checkbox-group {
        grid-template-columns: 1fr;
        /* Single column on mobile to avoid min-width issues */
    }

    .contact-card-inline {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Blog Mobile Improvements */
    .blog-header {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }

    .blog-header h1 {
        font-size: 2.25rem;
        margin-top: 0.5rem;
    }

    .blog-hero-img {
        max-height: 300px;
        margin: var(--spacing-sm) 0;
    }

    .blog-body {
        font-size: 1.05rem;
        padding: 0 var(--spacing-xs);
    }

    .story-cta {
        padding: var(--spacing-lg) 0;
    }

    .story-cta h2 {
        font-size: 2rem;
    }

    .story-cta p {
        margin-bottom: var(--spacing-sm);
    }
}

/* Footer */
.footer {
    background: var(--gradient-text);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.logo-white {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.logo-white .logo-full {
    filter: brightness(0) invert(1);
    /* Make logo white for footer */
    height: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-col p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-form {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

.footer-form input {
    flex: 1;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .why-container {
        grid-template-columns: 1fr;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm);
    }

    .form-grid .full-width {
        grid-column: auto !important;
    }

    .demo-form {
        max-width: 100%;
    }

    /* Subpage Hero & Benefits Mobile */
    .hero-layout {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        display: contents;
    }

    .hero-text h1 {
        order: 1;
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .hero-image-wrapper {
        order: 2;
        margin-bottom: 0;
    }

    .hero-text p {
        order: 3;
        margin-bottom: 0 !important;
    }

    .hero-text .hero-buttons {
        order: 4;
        margin-top: 0 !important;
        margin-bottom: 0;
    }

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

    .feature-card h3 {
        order: 1;
        margin-bottom: var(--spacing-sm);
    }

    .feature-img-container {
        order: 2;
        margin-bottom: var(--spacing-sm);
    }

    .feature-card p {
        order: 3;
    }

    .learn-more {
        order: 4;
    }

    .subpage-hero {
        padding: var(--spacing-md) 0;
    }

    .benefits-section,
    .features-list-section {
        padding: var(--spacing-md) 0;
    }

    .hero-layout {
        gap: var(--spacing-md);
    }
}

@media (max-width: 600px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-xs);
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .benefits-grid {
        gap: var(--spacing-md);
    }

    .benefit-card {
        padding: var(--spacing-md);
    }

    .nav-btn {
        display: block;
        margin-left: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-right {
        gap: 0.75rem;
    }
}

/* Industries Section */
.industries-section {
    padding: var(--spacing-md) 0 var(--spacing-xl);
    background-color: var(--bg-light);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.industry-card {
    text-align: center;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.333% - var(--spacing-md));
    /* 3 cards per row */
}

/* Make the last two cards span half width roughly or stay centered 3 per row then 2? 
   User asked for 2 rows. 5 items -> 3 top, 2 bottom centered is a good look.
   Flexbox with centering handles 3 top, 2 bottom naturally if widths are correct.
*/

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

.industry-img {
    width: 100%;
    height: 240px;
    /* Further increased for larger rectangular look */
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    /* Rectangular with small rounding */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-card h3 {
    font-size: 1.1rem;
    /* Slighly larger font */
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.3;
    font-weight: 600;
}

@media (max-width: 900px) {
    .industry-card {
        width: calc(50% - var(--spacing-md));
    }
}


@media (max-width: 600px) {
    .industry-card {
        width: 100%;
    }
}

/* Industries Listing Page */
.industries-list-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.industry-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.industry-item:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.industry-item:nth-child(even) .industry-content {
    order: -1;
}

.industry-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.industry-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.industry-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

@media (max-width: 768px) {

    .industry-item,
    .industry-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .industry-item:nth-child(even) .industry-content {
        order: 0;
    }

    .industry-img-wrapper {
        height: 250px;
    }

    .industry-content h3 {
        font-size: 1.5rem;
    }
}

/* Steps Section */
.steps-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 71, 255, 0.1), 0 10px 10px -5px rgba(0, 71, 255, 0.04);
    border-color: var(--primary);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-svg {
    width: 40px;
    height: 40px;
}

.step-card h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .step-card {
        padding: 2rem 1rem;
    }
}

/* Content Sections & Lists */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-layout {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-list {
    margin: var(--spacing-md) 0;
    padding-left: 0;
}

.challenge-list li {
    margin-bottom: 1rem;
    position: relative;
    list-style: none;
    padding-left: 2rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.challenge-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

.solution-section .challenge-list li::before {
    content: "✓";
    color: #10b981;
}

.story-intro {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.story-intro p {
    margin: 0;
}

@media (max-width: 768px) {
    .challenge-list {
        columns: 1 !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}