/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-count-up {
    animation: countUp 1.5s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

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

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

/* Note: .scroll-animate starts hidden to allow entrance animations.
    main.js will add .animated on load for non-hero/testimonial sections
    so content is not permanently hidden on initial render. */

/* Custom Styles */
:root {
    --brand-blue: #0f7cff;
    --brand-red: #ff564f;
    --brand-white: #ffffff;
    --bg-dark: #0a0f1f;
    --bg-ink: #081424;
    --text-ink: #111d35;
    --text-soft: #5e6f8f;
    --font-body: "Manrope", sans-serif;
    --font-display: "Manrope", sans-serif;
    --glass: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.15);
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-ink);
}

/* HERO SECTION - KEEP YOUR ORIGINAL STYLING */
/* Fix for Hero Section and Canvas */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 84px;
    background: #060a14 !important;
    color: white !important;
    overflow: hidden; /* Add this */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Changed from -2 to 1 */
    display: block; /* Ensure it's displayed */
}

.hero-gradient {
    display: none;
}

/* Ensure hero content stays above canvas */
.hero-section .container {
    position: relative;
    z-index: 3;
}

/* NAVBAR */
/* Navbar Styling Fixes */
.navbar {
    background-color: rgba(10, 15, 31, 0.85) !important; /* More transparent */
    backdrop-filter: saturate(180%) blur(12px); /* Enhanced blur effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle bottom border */
    padding: 0.5rem 0; /* Reduce vertical padding to make it less tall */
}

.navbar .container {
    max-width: 1200px; /* Control the width */
    padding: 0 1rem; /* Reduce side padding */
}

.navbar-nav {
    gap: 0.5rem; /* Reduce space between nav items */
}

.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important; /* Reduce padding to make links more compact */
    font-size: 0.9rem; /* Slightly smaller font */
    border-radius: 4px; /* Rounded corners for hover effect */
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle hover effect */
    transform: translateY(-1px);
}

.navbar-brand {
    font-size: 1.1rem; /* Slightly smaller brand text */
    padding: 0.25rem 0;
}

/* Brand text next to logo */
.brand-text {
    line-height: 1;
}
.brand-name {
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
}
.brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: -2px;
}
.brand-name,
.motto,
.public-card-title,
.about-profile-name,
.about-story-heading,
.hero-visual-heading,
.hero-mini-title,
.support-title,
.proof-label,
.timeline-title {
    font-family: var(--font-display);
}

@media (max-width: 991.98px) {
    /* hide tagline on smaller screens */
    .brand-tagline {
        display: none;
    }
}

/* Navbar logo sizing - larger on desktop, smaller on mobile */
.navbar-logo {
    height: 64px; /* increased for larger display */
    width: auto;
    object-fit: contain;
    display: inline-block;
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 44px;
    }
}

/* UTILITY CLASSES */
.fw-800 {
    font-weight: 800;
}

.text-accent {
    color: var(--brand-red);
}

.section-padding {
    padding: 96px 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* CARDS */
.card-hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* PROJECTS */
.project-page {
    display: none;
}

.project-page.active {
    display: block;
}

/* FOOTER */
footer {
    background: rgba(255, 255, 255, 0.02);
}

/* CAROUSEL */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0.9));
    border: 0;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 1), rgba(255, 0, 0, 0.95));
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* MOBILE */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .carousel-control-prev {
        left: -10px;
    }

    .carousel-control-next {
        right: -10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }

    .display-4 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(10, 15, 31, 0.95);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Optional: Add scroll effect for more transparency when scrolled */
.navbar-scrolled {
    background-color: rgba(10, 15, 31, 0.75) !important;
    backdrop-filter: saturate(200%) blur(15px);
}

.footer-custom {
    background: linear-gradient(135deg, #0a0f1f 0%, #1a2332 100%);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.footer-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #ff0000, #007bff);
}
.motto-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.motto {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #007bff, #ff0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.brand-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #007bff, #ff0000);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}
.footer-links h5 {
    color: #007bff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-links h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff0000;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.footer-links a:hover {
    color: #007bff;
    transform: translateX(5px);
}
.footer-links a i {
    margin-right: 8px;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}
.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.contact-info i {
    margin-right: 10px;
    color: #007bff;
    width: 20px;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: #007bff;
    transform: translateY(-3px);
}
.copyright-custom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
.automation-badge {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .footer-links {
        margin-bottom: 1.5rem;
    }
    .motto {
        font-size: 1.5rem;
    }
}

/* Public CMS Sections */
.section-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker,
.hero-eyebrow,
.about-story-kicker,
.about-card-kicker,
.card-kicker,
.hero-visual-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
}

.section-kicker,
.about-card-kicker,
.hero-eyebrow,
.hero-visual-label {
    color: var(--brand-blue);
}

.public-card,
.public-empty-state,
.about-profile-card,
.about-story-shell,
.about-copy-card,
.about-side-card,
.about-stat-card,
.about-values-wrap,
.contact-cta-shell,
.footer-panel,
.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(10, 15, 31, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(10, 15, 31, 0.08);
}

.public-card,
.public-empty-state,
.about-profile-card,
.about-story-shell,
.about-values-wrap,
.contact-cta-shell,
.footer-panel,
.testimonial-card {
    padding: 1.75rem;
}

.public-empty-state {
    border-style: dashed;
}

.public-card-body {
    padding-top: 1.5rem;
}

.public-card-title {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.25;
}

.feature-list {
    padding-left: 1.1rem;
    color: #52607a;
}

.feature-list li + li {
    margin-top: 0.55rem;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: rgba(0, 123, 255, 0.08);
    color: #0d274f;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-chip-soft {
    background: rgba(10, 15, 31, 0.06);
    color: #23314d;
}

.hero-layout {
    min-height: calc(100vh - 120px);
}

.hero-copy {
    max-width: 640px;
}

.hero-context-card {
    max-width: 620px;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.hero-pill {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    backdrop-filter: blur(10px);
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.hero-visual-shell {
    display: grid;
    gap: 1rem;
}

.hero-visual-frame {
    min-height: 340px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.hero-visual-card,
.hero-visual-fallback {
    background: rgba(10, 15, 31, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.35rem;
    backdrop-filter: blur(12px);
}

.hero-visual-heading,
.hero-mini-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-visual-copy,
.hero-mini-copy {
    color: rgba(255, 255, 255, 0.72);
}

.hero-mini-stack {
    display: grid;
    gap: 0.85rem;
}

.hero-focus-grid {
    display: grid;
    gap: 0.9rem;
}

.hero-focus-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(10, 15, 31, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.hero-mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}

.about-portrait-frame {
    min-height: 340px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(0, 123, 255, 0.08), rgba(255, 0, 0, 0.08));
    margin-bottom: 1.25rem;
}

.about-profile-name,
.about-story-heading {
    font-weight: 800;
    color: #111d35;
}

.about-profile-role {
    color: #5e6f8f;
    font-weight: 600;
}

.about-experience-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 0, 0, 0.08);
    color: #a31313;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-copy-card,
.about-side-card {
    height: 100%;
    padding: 1.15rem;
    background: rgba(10, 15, 31, 0.03);
    border-radius: 20px;
}

.about-stat-card {
    text-align: center;
    padding: 1.2rem;
}

.about-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111d35;
}

.about-stat-label {
    color: #5e6f8f;
    font-weight: 600;
}

.proof-section {
    position: relative;
    padding: 0 0 2rem;
    background:
        radial-gradient(90% 110% at 0% 0%, rgba(15, 124, 255, 0.24), transparent 55%),
        linear-gradient(180deg, var(--bg-ink) 0%, #0b1727 100%);
}

.proof-shell {
    margin-top: -44px;
    padding: 1.75rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.proof-header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.proof-copy {
    color: rgba(255, 255, 255, 0.72);
}

.proof-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.proof-label {
    margin: 0.4rem 0 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.proof-detail {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.support-shell {
    padding: 1.6rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(15, 124, 255, 0.06), rgba(10, 15, 31, 0.02));
    border: 1px solid rgba(10, 15, 31, 0.08);
}

.support-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-ink);
}

.support-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(10, 15, 31, 0.08);
    box-shadow: 0 14px 30px rgba(10, 15, 31, 0.06);
}

.support-card-compact {
    background: rgba(10, 15, 31, 0.03);
    box-shadow: none;
}

.support-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 124, 255, 0.1);
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.support-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-ink);
    margin-bottom: 0.45rem;
}

.product-card-media,
.project-media-frame {
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
}

.product-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-theme-primary {
    background: linear-gradient(145deg, rgba(0, 123, 255, 0.12), rgba(0, 123, 255, 0.02));
}
.product-theme-info {
    background: linear-gradient(145deg, rgba(13, 202, 240, 0.16), rgba(13, 202, 240, 0.02));
}
.product-theme-warning {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.18), rgba(255, 193, 7, 0.03));
}
.product-theme-success {
    background: linear-gradient(145deg, rgba(25, 135, 84, 0.16), rgba(25, 135, 84, 0.03));
}
.product-theme-danger {
    background: linear-gradient(145deg, rgba(220, 53, 69, 0.14), rgba(220, 53, 69, 0.03));
}
.product-theme-secondary {
    background: linear-gradient(145deg, rgba(108, 117, 125, 0.18), rgba(108, 117, 125, 0.03));
}

.product-icon-badge,
.service-icon-badge,
.custom-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.service-icon-badge,
.custom-icon-badge {
    background: rgba(0, 123, 255, 0.08);
    color: var(--brand-blue);
}

.custom-icon-badge-alt {
    background: rgba(255, 0, 0, 0.08);
    color: var(--brand-red);
}

.service-image-frame {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    overflow: hidden;
    flex: 0 0 auto;
}

.timeline-stack {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.timeline-step {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--brand-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111d35;
    margin-bottom: 0.25rem;
}

.testimonial-card {
    max-width: 760px;
    border: 1px solid rgba(255, 193, 7, 0.22);
}

.testimonial-intro-shell {
    padding: 1.35rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(15, 124, 255, 0.08), rgba(255, 86, 79, 0.05));
    border: 1px solid rgba(10, 15, 31, 0.08);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #23314d;
}

.testimonial-meta {
    color: #5e6f8f;
    font-weight: 600;
}

.contact-cta-shell {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.06), rgba(10, 15, 31, 0.03));
}

.contact-side-panel {
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(10, 15, 31, 0.03);
}

.contact-action-stack {
    display: grid;
    gap: 1rem;
}

.contact-method-grid {
    display: grid;
    gap: 0.85rem;
}

.contact-method-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(10, 15, 31, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-method-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-soft);
}

.contact-method-value {
    color: var(--text-ink);
    font-weight: 700;
}

.footer-panel {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem;
    margin-right: 0.85rem;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #8fc4ff;
}

@media (max-width: 991.98px) {
    .hero-layout {
        min-height: auto;
        padding: 3rem 0 1rem;
    }

    .hero-visual-frame {
        min-height: 280px;
    }

    .proof-shell {
        margin-top: -24px;
    }
}

@media (max-width: 767.98px) {
    .public-card,
    .public-empty-state,
    .about-profile-card,
    .about-story-shell,
    .about-values-wrap,
    .contact-cta-shell,
    .footer-panel,
    .testimonial-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .hero-stat-value {
        font-size: 1.6rem;
    }

    .product-card-media,
    .project-media-frame,
    .about-portrait-frame,
    .hero-visual-frame {
        min-height: 220px;
    }

    .proof-section {
        padding-bottom: 1.5rem;
    }

    .proof-shell,
    .support-shell,
    .testimonial-intro-shell,
    .contact-side-panel {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .proof-value {
        font-size: 1.6rem;
    }
}

.hero-kicker {
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.card-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.product-visual-circle,
.custom-icon-circle {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-media,
.about-page-media,
.about-gallery-media,
.project-page-media {
    min-height: 220px;
    overflow: hidden;
}

.project-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-highlight-list {
    padding-left: 1rem;
}

.testimonial-shell {
    max-width: 640px;
}

.inner-page-hero {
    position: relative;
    min-height: 52vh;
    padding-top: 110px;
    display: flex;
    align-items: center;
    background: #060a14;
}

.about-hero-panel,
.about-page-card,
.about-gallery-card,
.project-page-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(10, 15, 31, 0.08);
    box-shadow: 0 18px 40px rgba(10, 15, 31, 0.08);
}

.about-hero-panel {
    padding: 1.5rem;
    color: var(--text-ink);
}

.about-hero-meta {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.about-hero-meta span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 700;
}

.about-hero-meta strong {
    font-size: 1.15rem;
    color: var(--text-ink);
}

.about-hero-stats {
    display: grid;
    gap: 0.85rem;
}

.about-hero-stat {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(10, 15, 31, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-hero-stat strong {
    font-size: 1.3rem;
    color: var(--text-ink);
}

.about-hero-stat span {
    color: var(--text-soft);
    font-weight: 600;
}

.about-page-card,
.about-gallery-card,
.project-page-card {
    height: 100%;
}

.about-page-copy,
.about-gallery-copy,
.project-page-copy {
    padding: 1.4rem;
}

.about-page-badge {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: rgba(255, 0, 0, 0.08);
    color: #a31313;
    font-size: 0.8rem;
    font-weight: 700;
}

.about-page-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-ink);
    margin-bottom: 0.3rem;
}

.about-page-role {
    color: var(--text-soft);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-detail-card {
    height: 100%;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(10, 15, 31, 0.04);
}

.about-detail-list {
    padding-left: 1rem;
    color: var(--text-soft);
}

.about-detail-list li + li {
    margin-top: 0.55rem;
}

.project-location-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 123, 255, 0.08);
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.pagination-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.page-number-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 15, 31, 0.12);
    background: #ffffff;
    color: var(--text-ink);
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.page-number-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(0, 123, 255, 0.28);
}

.page-number-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.page-number-btn.is-active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.pagination-caption {
    color: var(--text-soft);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .inner-page-hero {
        min-height: 44vh;
        padding-top: 96px;
    }
}

@media (max-width: 767.98px) {
    .inner-page-hero {
        min-height: 38vh;
        padding-top: 88px;
    }

    .about-hero-panel,
    .about-page-card,
    .about-gallery-card,
    .project-page-card {
        border-radius: 20px;
    }

    .about-page-copy,
    .about-gallery-copy,
    .project-page-copy {
        padding: 1.15rem;
    }

    .product-visual-circle,
    .custom-icon-circle {
        width: 86px;
        height: 86px;
    }

    .project-card-media,
    .about-page-media,
    .about-gallery-media,
    .project-page-media {
        min-height: 200px;
    }
}

/* =====================================================================
   MODERN REDESIGN — Landing Page Visual Polish
   ===================================================================== */

/* Section backgrounds */
section#products { background: #f5f7fc !important; color: var(--text-ink) !important; }
section#services { background: #ffffff !important; color: var(--text-ink) !important; }
section#projects { background: #f5f7fc !important; color: var(--text-ink) !important; }
section#custom   { background: #ffffff !important; color: var(--text-ink) !important; }
section#contact  { background: #f5f7fc !important; color: var(--text-ink) !important; }

/* Dark section (testimonials) */
.section-dark {
    background: linear-gradient(160deg, #040c1c 0%, #081322 55%, #060d1c 100%) !important;
    color: #fff !important;
}
.section-dark .section-title { color: #fff !important; }
.section-dark .lead.text-muted { color: rgba(255, 255, 255, 0.5) !important; }

/* Section title sizing + accent bar */
.section-title {
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    letter-spacing: -0.025em;
    color: var(--text-ink);
}
.text-center .section-title::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: var(--brand-blue);
    margin: 0 auto 0.8rem;
    border-radius: 999px;
}

/* ---- Product Cards ---- */
.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(10, 15, 31, 0.07);
    box-shadow: 0 1px 3px rgba(10, 15, 31, 0.04), 0 10px 28px rgba(10, 15, 31, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 8px rgba(10, 15, 31, 0.06), 0 20px 50px rgba(10, 15, 31, 0.1);
}
.product-card-visual {
    min-height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-content {
    padding: 1.35rem 1.4rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-ink);
    margin-bottom: 0.4rem;
}
.product-card-text {
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
}
.product-card-features {
    font-size: 0.82rem;
    color: var(--text-soft);
    padding-left: 1.1rem;
    flex: 1;
    margin-bottom: 1.1rem;
}
.product-card-features li + li { margin-top: 0.4rem; }

/* ---- Service Cards ---- */
.service-card-new {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(10, 15, 31, 0.07);
    box-shadow: 0 1px 3px rgba(10, 15, 31, 0.04), 0 8px 24px rgba(10, 15, 31, 0.05);
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 8px rgba(10, 15, 31, 0.06), 0 16px 42px rgba(10, 15, 31, 0.09);
}
.service-card-new-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-ink);
    margin-bottom: 0.35rem;
}
.service-card-new-desc {
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---- Project Cards ---- */
.project-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(10, 15, 31, 0.07);
    box-shadow: 0 1px 3px rgba(10, 15, 31, 0.04), 0 8px 22px rgba(10, 15, 31, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.project-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 8px rgba(10, 15, 31, 0.06), 0 16px 38px rgba(10, 15, 31, 0.1);
}
.project-card-v2-media {
    height: 164px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card-v2-body {
    padding: 1.1rem 1.2rem 1.25rem;
    flex: 1;
}
.project-card-v2-title {
    font-size: 0.93rem;
    font-weight: 800;
    color: var(--text-ink);
    margin-bottom: 0.2rem;
}
.project-card-v2-location {
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.project-card-v2-desc {
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 0;
}
#projectsPageCta .btn { border-radius: 999px !important; padding: 0.5rem 1.6rem !important; }

/* ---- Testimonials ---- */
.testimonial-v2 {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 2.25rem 2rem;
    max-width: 680px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}
.testimonial-v2-quote {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-v2-author {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    margin-bottom: 0;
}
.section-dark .carousel-control-prev,
.section-dark .carousel-control-next {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}
.section-dark .carousel-control-prev:hover,
.section-dark .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ---- Contact CTA ---- */
.contact-cta-v2 {
    background: #fff;
    border-radius: 22px;
    padding: 2.75rem 2rem;
    border: 1px solid rgba(10, 15, 31, 0.07);
    box-shadow: 0 2px 8px rgba(10, 15, 31, 0.04), 0 18px 50px rgba(10, 15, 31, 0.08);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.contact-cta-v2-icon {
    width: 56px;
    height: 56px;
    background: rgba(15, 124, 255, 0.09);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1.35rem;
    margin-bottom: 1.35rem;
}
.contact-cta-v2-title {
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: var(--text-ink);
    letter-spacing: -0.025em;
    margin-bottom: 0.65rem;
}
.contact-cta-v2-body {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 1.65rem;
}

/* ---- Custom Solutions Panels ---- */
.custom-solutions-panel {
    background: #f5f7fc;
    border-radius: 18px;
    padding: 1.65rem;
    height: 100%;
    border: 1px solid rgba(10, 15, 31, 0.06);
}
.custom-solutions-panel-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}
.custom-solutions-panel-desc {
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.custom-solutions-features {
    font-size: 0.84rem;
    color: var(--text-soft);
    padding-left: 1.1rem;
    margin-bottom: 0;
}
.custom-solutions-features li + li { margin-top: 0.45rem; }

/* ---- Button refinements ---- */
.btn { letter-spacing: 0.01em; }
.btn-sm { padding: 0.45rem 1.05rem !important; font-size: 0.875rem !important; }
.btn-primary { background: var(--brand-blue) !important; border-color: var(--brand-blue) !important; font-weight: 600 !important; }
.btn-primary:hover { background: #0065d9 !important; border-color: #0065d9 !important; box-shadow: 0 4px 18px rgba(15, 124, 255, 0.3) !important; }
.btn-outline-primary { border-color: var(--brand-blue) !important; color: var(--brand-blue) !important; font-weight: 600 !important; }
.btn-outline-primary:hover { background: var(--brand-blue) !important; color: #fff !important; }
.btn-outline-dark { font-weight: 600 !important; }

/* ---- Hero (clean centered) ---- */
.hero-clean {
    max-width: 680px;
    margin: 0 auto;
}
.hero-clean-heading {
    font-size: clamp(2.1rem, 5.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.hero-clean-sub {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.72;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hero-clean-stats {
    display: inline-flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0.9rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}
.hero-clean-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.hero-clean-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-clean-lbl {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero-clean-divider {
    display: block;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.14);
}
@media (max-width: 575.98px) {
    .hero-clean-stats {
        gap: 1.1rem;
        padding: 0.8rem 1.2rem;
    }
}

/* ---- Navbar links ---- */
.navbar-nav .nav-link { color: rgba(255, 255, 255, 0.75) !important; font-weight: 500 !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #ffffff !important; }
.navbar-nav .nav-link.active { font-weight: 700 !important; }

/* ---- Inner page section backgrounds ---- */
.inner-section-white { background: #ffffff; color: var(--text-ink); }
.inner-section-muted { background: #f5f7fc; color: var(--text-ink); }
.inner-section-white .section-title,
.inner-section-muted .section-title { color: var(--text-ink); }

/* ---- About page profile cards ---- */
.about-page-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(10, 15, 31, 0.07);
    box-shadow: 0 1px 3px rgba(10,15,31,0.04), 0 10px 28px rgba(10,15,31,0.06);
    overflow: hidden;
    height: 100%;
}
.about-page-copy { padding: 1.5rem; }
.about-detail-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 16px;
    background: #f5f7fc;
    border: 1px solid rgba(10,15,31,0.05);
}

/* ---- Gallery cards ---- */
.about-gallery-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(10,15,31,0.07);
    box-shadow: 0 1px 3px rgba(10,15,31,0.04), 0 8px 24px rgba(10,15,31,0.06);
    height: 100%;
}
.about-gallery-copy { padding: 1.1rem 1.25rem 1.25rem; }
.about-gallery-media { min-height: 200px; overflow: hidden; }

.about-simple-stack {
    display: grid;
    gap: 1.25rem;
}

.about-simple-section {
    padding: 1.5rem;
}

.about-simple-head {
    margin-bottom: 1rem;
}

.about-simple-aside,
.about-simple-note,
.about-simple-value-card {
    background: #f5f7fc;
    border: 1px solid rgba(10, 15, 31, 0.05);
    border-radius: 16px;
}

.about-simple-aside {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.about-simple-meta span {
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-soft);
}

.about-simple-meta strong {
    font-size: 1.1rem;
    color: var(--text-ink);
}

.about-simple-meta p {
    color: var(--text-soft);
}

.about-leader-media {
    min-height: 280px;
    height: 100%;
}

.about-leader-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.about-simple-note {
    padding: 1rem;
}

.about-simple-value-card {
    height: 100%;
    padding: 1.1rem;
}

.about-simple-value-icon {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.9rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 124, 255, 0.1);
    color: var(--brand-blue);
}

/* ---- Projects summary ---- */
#projectsPageSummary .section-title { color: var(--text-ink); }

/* ---- View all projects CTA on homepage ---- */
#projectsPageCta { padding-top: 0.5rem; }
