/* Custom styles to match the HueFit layout */
:root {
    --hue: #00ADEF;
    --fit: #F58220;
    --ink: #123047;
    --muted: #64748b;
    --surface: #ffffff;
    --soft: #f4f8fb;
    --line: #e6eef5;
}

body {
    background: #eef5ff;
}

/* Logo wordmark: Hue cyan · Fit orange */
.brand-hue {
    color: var(--hue);
}

.brand-fit {
    color: var(--fit);
}

.brand-mark {
    white-space: nowrap;
}


.hero {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

.hero-media {
    width: 100%;
    line-height: 0;
    background: #f8fbff;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-media .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(720px, 78vh);
    object-fit: cover;
    object-position: left center;
}

.hero-media .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00ADEF;
}

.hero-media .carousel-control-prev-icon,
.hero-media .carousel-control-next-icon {
    filter: none;
    background-color: rgba(0, 173, 239, 0.85);
    border-radius: 50%;
    background-size: 50% 50%;
    width: 2.5rem;
    height: 2.5rem;
}

.hero-overlay {
    display: none;
}

.hero-copy {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    border-bottom: 1px solid #e2eaf4;
    padding: 2rem 0 2.35rem;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero .display-5 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.05;
}

.hero-title {
    font-size: clamp(1.9rem, 3.1vw, 2.65rem);
    line-height: 1.2;
    margin: 0;
    color: #17324d;
}

.hero-lead {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4b5563 !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .lead {
    max-width: 620px;
}

.hero .btn-primary {
    min-width: 170px;
    padding: 0.95rem 1.85rem;
}

.hero .btn-outline-primary {
    min-width: 160px;
    padding: 0.95rem 1.85rem;
}

.hero .btn-outline-light {
    min-width: 160px;
    padding: 0.95rem 1.85rem;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn-outline-light:hover {
    color: #0d6efd;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.95);
}

.hero .text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero .text-white {
    color: #ffffff !important;
}

/* About page full-width banner (image-only) */
.about-banner {
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.about-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* removed fixed max-height to preserve full banner image display */

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.industries-description {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.75;
    color: #4b5563;
}

.industry-card {
    min-height: 180px;
}
.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-card,
.industry-card,
.product-card,
.feature-card {
    border: none;
    border-radius: 22px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover,
.product-card:hover,
.industry-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.category-card {
    overflow: hidden;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(18, 48, 71, 0.08);
    border: 1px solid rgba(18, 48, 71, 0.06);
    padding: 0;
}

.category-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card-link:hover {
    color: inherit;
}

.category-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__media img {
    transform: scale(1.05);
}

.category-card__body {
    padding: 1rem 1.1rem 1.25rem;
    text-align: center;
    border-top: 1px solid rgba(18, 48, 71, 0.05);
    background: #fff;
}

.category-card__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 600;
    color: #123047;
    letter-spacing: 0.01em;
}

.category-card h6,
.industry-card h6 {
    font-weight: 700;
    margin-top: 1rem;
}

.industry-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.75rem;
    border: 1px solid #eef3f7;
}

.industry-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.product-card {
    border: 1px solid #eef3f7;
    padding: 1.5rem;
    min-height: 100%;
}

.product-img {
    max-height: 160px;
    width: auto;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    margin-bottom: 1rem;
    color: #475569;
    font-weight: 500;
}

.about-list i {
    color: var(--hue);
    margin-top: 0.2rem;
    min-width: 24px;
    text-align: center;
}

.about-list__body {
    min-width: 0;
    line-height: 1.6;
}

.about-list__body strong {
    display: inline;
    color: var(--ink, #123047);
    font-weight: 700;
}

.about-home-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
    object-position: center;
    position: static;
}

.feature-card {
    background: #f8fbff;
    border: 1px solid rgba(13, 110, 253, 0.12);
    padding: 1.5rem;
}

.section-title + p {
    max-width: 680px;
}


footer h6 {
    color: #ffffff;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.92);
}

footer a:hover {
    color: #0d6efd;
}

.footer-section {
    background: #2f3a4a;
    color: #f5f7fa;
    border-radius: 0;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
    /* border-top: 4px solid #0d6efd; */
}

.footer-section .footer-top {
    border-bottom: 1px solid rgba(245, 247, 250, 0.12);
}

.footer-logo {
    width: 56px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.footer-brand span {
    letter-spacing: 0.06em;
}

.footer-text {
    max-width: 360px;
    line-height: 1.8;
    color: rgba(245, 247, 250, 0.85);
}

.footer-section h5 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
    letter-spacing: 0.08em;
}

.footer-section .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-links a:hover {
    color: #7dd3fc;
}

.footer-section .footer-strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-section .btn-square {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

.footer-section .btn-square:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.footer-bottom {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
}

.footer-section .footer-meta a {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section .footer-meta a:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .footer-section {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    .footer-bottom {
        text-align: center;
    }
}

.footer-section .footer-contact,
.footer-section p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-section .footer-contact strong {
    color: #ffffff;
}

.footer-section .btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.footer-section .btn-square i {
    font-size: 0.9rem;
}

.footer-section .btn-square.btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
}

.footer-bottom {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-section .border-top {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.footer-section .row.g-5 > div {
    min-height: 240px;
}

@media (max-width: 991px) {
    .footer-section {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    .footer-section .btn-link {
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .hero-copy {
        padding: 1.75rem 0 2rem;
    }

    .hero-actions {
        justify-content: flex-start !important;
    }

    .hero .hero-img {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 1199.98px) {
    .navbar .navbar-right {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero .display-5 {
        font-size: 2.2rem;
    }

    .hero .hero-img {
        max-width: 320px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #00ADEF;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 24px rgba(0, 173, 239, 0.35);
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #F58220;
    color: #fff;
}

/* Floating WhatsApp CTA — sitewide */
.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-fab:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Keep above WhatsApp FAB when both are present */
body:has(.whatsapp-fab) .back-to-top {
    bottom: 92px;
}
