/* Global Styles */
:root {
    --primary-blue: #1a3a5f;
    --light-blue: #e8f4f8;
    --highlight-blue: #4a90e2;
    --dark-blue: #0d2538;
    --text-gray: #6c757d;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

/* Header Styles */
.header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
}

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

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    color: var(--highlight-blue) !important;
}

.contact-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-btn:hover {
    background: var(--highlight-blue);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--highlight-blue);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 0;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Partners Section */
.partners-section {
    padding: 3rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* ── Service Page Hero ── */
.service-hero-section {
    padding: 3.5rem 0 3rem;
    background: var(--white);
    border-bottom: 1px solid #e8f0fa;
}

.service-breadcrumb {
    font-size: 0.82rem;
}

.service-breadcrumb a {
    color: var(--highlight-blue);
    text-decoration: none;
}

.service-breadcrumb .active {
    color: var(--text-gray);
}

.service-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

.service-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    width: 100%;
}

.service-stat-badge {
    background: var(--light-blue);
    border: 1px solid #c5dcf0;
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.service-stat-badge i {
    color: #28a745;
}

/* ── Detailed Service Card ── */
.service-card-detailed {
    height: 100%;
}

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

/* ── Internal Link Card ── */
.internal-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1.5px solid #d0e4f7;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--primary-blue);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    font-size: 0.9rem;
}

.internal-link-card:hover {
    border-color: var(--highlight-blue);
    box-shadow: 0 6px 18px rgba(74,144,226,0.12);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

.internal-link-card > i:first-child {
    font-size: 1.6rem;
    color: var(--highlight-blue);
    flex-shrink: 0;
}

.internal-link-card div {
    flex: 1;
}

.internal-link-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.internal-link-card span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0eaf4;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-badge i {
    font-size: 1.2rem;
    color: var(--highlight-blue);
}

/* Problem Section */
.problem-section {
    padding: 4rem 0;
    background: #f0f6ff;
}

.problem-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(26, 58, 95, 0.08);
    border-left: 4px solid var(--highlight-blue);
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon {
    font-size: 1.75rem;
    color: var(--highlight-blue);
    flex-shrink: 0;
    line-height: 1;
}

.problem-card p {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Why Choose Section */
.why-choose-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--highlight-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: var(--dark-blue);
}

.clients-section .section-title {
    color: var(--white);
}

.clients-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.client-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}

.client-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.client-info {
    margin-bottom: 1rem;
}

.client-industry {
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.client-location {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.client-card .btn {
    margin-bottom: 1rem;
}

.client-description {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--highlight-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "•";
    color: var(--highlight-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Learn More Link */
.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: var(--highlight-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.service-learn-more:hover {
    gap: 0.7rem;
    color: var(--primary-blue);
}

/* Outcome Metrics Section */
.outcomes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0d2538 0%, #1a3a5f 100%);
}

.outcome-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: background 0.3s, transform 0.3s;
}

.outcome-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.outcome-icon {
    font-size: 2.2rem;
    color: #7ec8f5;
    margin-bottom: 1rem;
}

.outcome-stat {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.outcome-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 4rem 0;
    background: var(--white);
}

.industry-card {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 14px;
    padding: 2rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.industry-card:hover {
    border-color: var(--highlight-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--highlight-blue);
    margin-bottom: 1rem;
}

.industry-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--white);
}

.process-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background: var(--white);
}

.comparison-card {
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.comparison-card.traditional {
    background: var(--white);
    border: 2px solid #d4a5f5;
}

.comparison-card.algofyze {
    background: var(--white);
    border: 2px solid var(--primary-blue);
}

.comparison-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.comparison-list li i {
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.comparison-card.traditional .comparison-list li i {
    color: #d4a5f5;
}

.comparison-card.algofyze .comparison-list li i {
    color: #28a745;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f0f6ff;
}

.faq-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(26, 58, 95, 0.07);
    overflow: hidden;
}

.faq-button {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--white);
    padding: 1.1rem 1.5rem;
    border: none;
}

.faq-button:not(.collapsed) {
    color: var(--highlight-blue);
    background: var(--white);
    box-shadow: none;
}

.faq-button:focus {
    box-shadow: none;
}

.faq-button::after {
    filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(190deg);
}

.faq-body {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    padding: 0 1.5rem 1.25rem;
    background: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--light-blue);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-contact {
    color: var(--primary-blue);
    font-size: 1rem;
}

.cta-contact a {
    color: var(--primary-blue);
    text-decoration: none;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-contact h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Additional Page Styles */
.about-hero-section,
.services-hero-section {
    padding: 4rem 0 2rem;
    background: var(--light-blue);
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.contact-icon {
    font-size: 3rem;
    color: var(--highlight-blue);
    margin-bottom: 1rem;
}

.contact-info-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--highlight-blue);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.case-study-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-study-logo {
    height: 60px;
    width: auto;
}

.case-study-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.case-study-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-study-results {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.case-study-results li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-blue);
}

.job-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.job-requirements li {
    padding: 0.25rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.job-requirements li:before {
    content: "•";
    color: var(--highlight-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.blog-image {
    background: var(--light-blue);
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    color: var(--primary-blue);
    margin: 1rem 0;
    font-size: 1.25rem;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--highlight-blue);
    margin-bottom: 1.5rem;
}

.service-card-enhanced {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.service-card-enhanced .service-icon-large {
    font-size: 5rem;
    color: var(--highlight-blue);
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--light-blue);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}

.service-card-enhanced:hover .service-icon-large {
    transform: scale(1.1);
    background: rgba(74, 144, 226, 0.1);
}

.service-image-placeholder {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 10px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.legal-content h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h4 {
    color: var(--primary-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-content a {
    color: var(--highlight-blue);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.nav-link.active {
    color: var(--highlight-blue) !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .partners-logos {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .partners-logos {
        gap: 1.5rem;
    }
    
    .partner-logo {
        height: 40px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .contact-btn {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .partners-logos {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 35px;
    }
    
    .feature-card,
    .service-card,
    .process-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .logo-img {
        height: 50px;
    }
}
/* ===== SERVICE FEATURES LIST (inside service-card-detailed) ===== */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.service-features li i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* ===== FOOTER SOCIAL LINKS ===== */
.footer-social {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ================================================================
   ALGOFYZE — UI ENHANCEMENT v2.0 | Transitions, Animations & Polish
   ================================================================ */

/* ── Ripple Keyframe ── */
@keyframes rippleAnim {
    to { transform: scale(80); opacity: 0; }
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #1a3a5f, #4a90e2);
    background-size: 200% 100%;
    z-index: 9999;
    transition: width 0.12s linear;
    width: 0%;
    animation: progressShimmer 3s linear infinite;
}
@keyframes progressShimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ── Back to Top ── */
#back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(26,58,95,0.3);
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#back-to-top:hover {
    background: var(--highlight-blue);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(74,144,226,0.4);
}

/* ── Navbar: Scrolled Shrink ── */
.header {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.header-scrolled {
    padding: 0.4rem 0 !important;
    box-shadow: 0 2px 20px rgba(26,58,95,0.12) !important;
}

/* ── Navbar Link Underline Animation ── */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 0.3rem !important;
}
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--highlight-blue);
    border-radius: 2px;
    transition: left 0.25s ease, right 0.25s ease;
}
.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    left: 0.5rem;
    right: 0.5rem;
}

/* ── Dropdown: Polished ── */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 12px 40px rgba(26,58,95,0.14) !important;
    border-radius: 14px !important;
    padding: 0.6rem !important;
    animation: dropdownFade 0.2s ease !important;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary-blue);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-item:hover {
    background: var(--light-blue) !important;
    color: var(--highlight-blue) !important;
    padding-left: 1.3rem !important;
}

/* ── Buttons: Gradient + Hover Lift ── */
.btn-primary {
    background: linear-gradient(135deg, #1a3a5f 0%, #2563ab 100%) !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #2563ab 0%, #4a90e2 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74,144,226,0.38) !important;
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-outline-primary {
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    font-weight: 600;
    transition: all 0.25s ease !important;
}
.btn-outline-primary:hover {
    background: var(--primary-blue) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,58,95,0.22) !important;
}
.btn-outline-light {
    transition: all 0.25s ease !important;
    font-weight: 600;
}
.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.18) !important;
}

/* ── Hero Section: Gradient Background + Animations ── */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f4f8ff 0%, #e8f4fb 60%, #f0f6ff 100%) !important;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(74,144,226,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero-section > .container {
    position: relative;
    z-index: 1;
}
/* Hero Entrance */
.hero-loaded .hero-title {
    animation: fadeSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-loaded .hero-description {
    animation: fadeSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.12s both;
}
.hero-loaded .stats-row {
    animation: fadeSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.24s both;
}
.hero-loaded .hero-buttons {
    animation: fadeSlideUp 0.75s cubic-bezier(0.22,1,0.36,1) 0.36s both;
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal ── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Service Cards: Clickable + Hover ── */
.service-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1.5px solid #e8f0fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #1a3a5f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 44px rgba(26,58,95,0.14) !important;
    border-color: #c5dcf0 !important;
}
.service-card:hover::after {
    transform: scaleX(1);
}
.service-card:hover .service-icon i {
    transform: scale(1.15) rotate(-5deg);
    color: #2563ab !important;
}
.service-icon i {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ── Feature Cards Enhanced ── */
.feature-card {
    border: 1.5px solid #e8f0fa;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #1a3a5f);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.feature-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 36px rgba(26,58,95,0.12) !important;
    border-color: #c5dcf0 !important;
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.12); }

/* ── Process Cards Enhanced ── */
.process-card {
    border: 1.5px solid #e8f0fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.process-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 36px rgba(26,58,95,0.12) !important;
    border-color: #c5dcf0 !important;
}
.process-number {
    background: linear-gradient(135deg, #1a3a5f 0%, #2563ab 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(26,58,95,0.25);
}
.process-card:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(74,144,226,0.4);
    background: linear-gradient(135deg, #2563ab 0%, #4a90e2 100%);
}

/* ── Problem Cards Enhanced ── */
.problem-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease !important;
}
.problem-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(26,58,95,0.12) !important;
    border-left-color: var(--primary-blue) !important;
}

/* ── Outcome Cards Enhanced ── */
.outcome-stat {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7ec8f5 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    display: block;
}
.outcome-card h4 {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.outcome-card {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
}
.outcome-card:hover {
    background: rgba(255,255,255,0.16) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22) !important;
}

/* ── Industry Cards Enhanced ── */
.industry-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.industry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(74,144,226,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.industry-card:hover::before { opacity: 1; }
.industry-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}
.industry-card:hover .industry-icon {
    transform: scale(1.15);
    color: var(--primary-blue) !important;
}

/* ── Blog Cards Enhanced ── */
.blog-card {
    border: 1.5px solid #e8f0fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.blog-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 44px rgba(26,58,95,0.14) !important;
    border-color: #c5dcf0 !important;
}

/* ── Service Card Detailed Enhanced ── */
.service-card-detailed {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    border: 1.5px solid #e8f0fa;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.service-card-detailed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #1a3a5f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card-detailed:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 22px 44px rgba(26,58,95,0.13) !important;
    border-color: #c5dcf0 !important;
}
.service-card-detailed:hover::before { transform: scaleX(1); }
.service-card-detailed .service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #e8f4fb, #d0e9f8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.7rem;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}
.service-card-detailed:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2563ab, #4a90e2);
}
.service-card-detailed:hover .service-icon i {
    color: #fff !important;
}
.service-card-detailed h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
}

/* ── Internal Link Cards Enhanced ── */
.internal-link-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.internal-link-card .internal-link-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #e8f4fb, #d0e9f8);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--highlight-blue);
    margin-bottom: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}
.internal-link-card:hover .internal-link-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2563ab, #4a90e2);
    color: #fff !important;
}
.internal-link-card:hover .internal-link-icon i { color: #fff !important; }
.internal-link-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}
.internal-link-card p {
    font-size: 0.87rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

/* ── Case Study Cards ── */
.case-study-card {
    border: 1.5px solid #e8f0fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.case-study-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(26,58,95,0.12) !important;
    border-color: #c5dcf0 !important;
}

/* ── Comparison Cards Enhanced ── */
.comparison-card.algofyze {
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.comparison-card.algofyze:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 32px rgba(26,58,95,0.12) !important;
}

/* ── Service Card Enhanced (services hub) ── */
.service-card-enhanced {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1.5px solid #e8f0fa;
    border-radius: 14px;
}
.service-card-enhanced:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 44px rgba(26,58,95,0.14) !important;
    border-color: #c5dcf0 !important;
}

/* ── Service Hero Section ── */
.service-hero-section {
    background: linear-gradient(155deg, #f4f8ff 0%, #e8f4fb 50%, #f0f6ff 100%) !important;
}

/* ── About / Services Hero Section ── */
.about-hero-section, .services-hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f2944 60%, var(--dark-blue) 100%) !important;
    padding: 4rem 0 3rem;
}
.about-hero-section .section-title,
.about-hero-section .section-subtitle,
.services-hero-section .section-title,
.services-hero-section .section-subtitle {
    color: var(--white) !important;
}
.about-hero-section .hero-title {
    color: var(--white) !important;
}
.about-hero-section .hero-description {
    color: rgba(255,255,255,0.85) !important;
}

/* ── Partner Logos ── */
.partner-logo {
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%);
}
.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* ── Service Stat Badge: Float (BI / Cloud hero — absolutely positioned) ── */
.service-stat-badge.top-right,
.service-stat-badge.bottom-left {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(74,144,226,0.2);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 8px 28px rgba(26,58,95,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: floatBadge 4s ease-in-out infinite;
    white-space: nowrap;
}
.service-stat-badge.top-right {
    top: 18%; right: 2%;
    animation-delay: 0.5s;
}
.service-stat-badge.bottom-left {
    bottom: 18%; left: 2%;
}
.service-stat-badge .stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}
.service-stat-badge .stat-label {
    font-size: 0.68rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── CTA Pulse Button ── */
.cta-section .btn-primary {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(74,144,226,0.28); }
    50% { box-shadow: 0 0 0 14px rgba(74,144,226,0); }
}

/* ── Service Learn More Link ── */
.service-learn-more {
    position: relative;
    z-index: 2;
    transition: gap 0.3s ease, color 0.2s ease !important;
}
.service-learn-more::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 100%;
    height: 1.5px;
    background: var(--highlight-blue);
    transition: right 0.3s ease;
}
.service-card:hover .service-learn-more::after { right: 0; }
.service-learn-more:hover { gap: 0.8rem !important; color: var(--primary-blue) !important; }

/* ── FAQ Accordion Polish ── */
.faq-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    margin-bottom: 0.65rem !important;
}
.faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(26,58,95,0.1) !important;
}

/* ── Section Gradients ── */
.problem-section {
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f4fb 100%) !important;
}
.faq-section {
    background: linear-gradient(160deg, #f4f8ff 0%, #e8f4fb 100%) !important;
}

/* ── CTA Section Elevated ── */
.cta-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, #d8ecfa 100%) !important;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(74,144,226,0.1) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 1; }

/* ── Typography Refinements ── */
.section-title {
    letter-spacing: -0.5px;
    line-height: 1.18 !important;
}
.hero-title {
    letter-spacing: -0.7px;
}
h3, h4 {
    letter-spacing: -0.2px;
}

/* ── Mobile Refinements ── */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem !important; }
    .section-title { font-size: 1.85rem !important; }
    .service-card:hover, .feature-card:hover, .process-card:hover {
        transform: translateY(-4px) !important;
    }
    .outcome-stat { font-size: 2.2rem; }
    #back-to-top { bottom: 1.2rem; right: 1.2rem; }
}

/* ════════════════════════════════════════════
   HERO ANIMATED DASHBOARD VISUAL
   ════════════════════════════════════════════ */

.hero-visual-wrapper {
    position: relative;
    padding: 1.5rem 1.5rem 2.5rem 1rem;
    animation: dashEntrance 0.9s 0.2s ease both;
}
@keyframes dashEntrance {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Dashboard Card ── */
.hero-dashboard {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(26,58,95,0.16), 0 4px 16px rgba(26,58,95,0.08);
    padding: 1.1rem 1.2rem 1rem;
    border: 1px solid rgba(74,144,226,0.1);
}

/* Window chrome */
.dash-chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #f0f4fa;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dash-dot.r { background: #ff5f57; }
.dash-dot.y { background: #febc2e; }
.dash-dot.g { background: #28c840; }
.dash-chrome-title {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-left: 0.4rem;
    letter-spacing: 0.2px;
}
.dash-live {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: #28c840;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.live-dot {
    width: 7px; height: 7px;
    background: #28c840;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.3; transform:scale(0.65); }
}

/* KPI tiles */
.dash-kpis {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.dash-kpi {
    flex: 1;
    background: #f4f8ff;
    border-radius: 10px;
    padding: 0.45rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(74,144,226,0.1);
}
.dash-kpi-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}
.dash-kpi-val.up   { color: #16a34a; }
.dash-kpi-val.down { color: #dc2626; }
.dash-kpi-lbl {
    font-size: 0.6rem;
    color: var(--text-gray);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

/* Chart area */
.dash-chart-area {
    position: relative;
    height: 100px;
    margin-bottom: 0.8rem;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100%;
    padding-bottom: 2px;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--highlight-blue) 0%, #93c5fd 100%);
    border-radius: 4px 4px 2px 2px;
    height: 0;
    opacity: 0.82;
    animation: barGrow 0.7s calc(var(--d) * 1s) cubic-bezier(.34,1.3,.64,1) forwards;
}
@keyframes barGrow {
    to { height: var(--h); }
}
.chart-bar:nth-child(4) { background: linear-gradient(180deg,#3b82f6 0%,#93c5fd 100%); opacity:1; }
.chart-bar:nth-child(6) { background: linear-gradient(180deg,#1d4ed8 0%,#3b82f6 100%); opacity:1; }

/* SVG line overlay */
.chart-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
}
.chart-svg .trend-line {
    fill: none;
    stroke: #f97316;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: drawLine 1.4s 0.8s ease forwards;
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
.chart-svg .trend-dot {
    fill: #f97316;
    r: 4;
    filter: drop-shadow(0 0 5px rgba(249,115,22,0.7));
    opacity: 0;
    animation: dotPop 0.4s 2.2s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes dotPop {
    to { opacity: 1; }
}
/* X-axis labels */
.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    margin-top: -2px;
}
.chart-labels span {
    font-size: 0.55rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

/* Pipeline bar */
.dash-pipeline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f4fa;
}
.pipe-label { font-size: 0.65rem; color: var(--text-gray); white-space: nowrap; }
.pipe-track {
    flex: 1;
    height: 5px;
    background: #e8f0fc;
    border-radius: 3px;
    overflow: hidden;
}
.pipe-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--highlight-blue), #22c55e);
    border-radius: 3px;
    animation: pipeFill 1.6s 1.2s ease forwards;
}
@keyframes pipeFill {
    to { width: 97%; }
}
.pipe-pct { font-size: 0.65rem; font-weight: 700; color: #16a34a; white-space: nowrap; }

/* ── Floating Metric Badges ── */
.hero-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.55rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 10px 30px rgba(26,58,95,0.14);
    border: 1px solid rgba(74,144,226,0.12);
    white-space: nowrap;
    animation: badgeFloat 4.5s ease-in-out infinite;
}
.hero-badge i {
    font-size: 1.15rem;
    color: var(--highlight-blue);
    flex-shrink: 0;
}
.hero-badge strong {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.1;
}
.hero-badge small {
    font-size: 0.6rem;
    color: var(--text-gray);
    line-height: 1;
}
.hero-badge.b1 { top: 0rem; right: 0rem;  animation-delay: 0s;    animation-duration: 4s; }
.hero-badge.b2 { bottom: 0.8rem; right: -0.5rem; animation-delay: 1.5s; animation-duration: 4.5s; }
.hero-badge.b3 { bottom: 0.8rem; left: -0.5rem;  animation-delay: 0.8s; animation-duration: 5s; }
@keyframes badgeFloat {
    0%,100% { transform: translateY(0px); }
    50%      { transform: translateY(-9px); }
}

/* ── Mobile: hide the animated visual, show nothing ── */
@media (max-width: 991px) {
    .hero-visual-wrapper { display: none; }
}
