/* ==========================================================================
   MUMMY SOFTWARE CORPORATION - MAIN STYLESHEET
   Apple-Style Glassmorphism UI + Bootstrap 5.3 + Full Responsiveness
   ========================================================================== */

/* --- ROOT VARIABLES --- */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --primary-glow: rgba(37, 99, 235, 0.25);
    --secondary: #3B82F6;
    --dark: #0F172A;
    --dark-alt: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg-main: #F8FBFF;
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 18px 40px rgba(37, 99, 235, 0.12);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.055) 0%, transparent 40%),
        radial-gradient(circle at 90% 12%, rgba(99, 102, 241, 0.055) 0%, transparent 42%),
        radial-gradient(circle at 50% 45%, rgba(244, 63, 94, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(14, 165, 233, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(37, 99, 235, 0.045) 0%, transparent 40%),
        radial-gradient(rgba(37, 99, 235, 0.065) 1.1px, transparent 1.1px),
        #F8FBFF;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px, 100% 100%;
    background-attachment: fixed;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container */
.container {
    width: min(92%, 1340px);
    margin: auto;
}

/* --- FUTURISTIC TECH ACCENTS --- */
.text-tech-gradient {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 40%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.06);
    backdrop-filter: blur(8px);
}

.hero-telemetry-pill {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 7px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 5;
    transition: all 0.3s ease;
}

.hero-image-wrapper:hover .hero-telemetry-pill {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
}

/* --- BUTTONS & CTAS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background-color: var(--primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg);
    transition: all 0.65s ease;
    opacity: 0;
}

.btn-primary:hover::after {
    left: 140%;
    opacity: 1;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    color: #ffffff !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    border: 1.5px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    color: var(--primary-dark) !important;
}

.btn-demo,
.btn-demo-pill {
    background: var(--primary);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-demo:hover,
.btn-demo-pill:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-white,
.cta-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background-color: #ffffff !important;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    cursor: pointer;
}

.btn-white:hover,
.cta-btn-white:hover {
    background-color: #f8fafc !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.cta-btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* --- TAGS & SECTION TITLES --- */
.hero-tag,
.demo-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   PREMIUM ENTERPRISE GLASS NAVBAR (Crisp Corners, Ultra-Refined Aesthetic)
   ========================================================================== */
.header-nav-wrapper {
    position: relative;
    z-index: 1050;
}

.ms-navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94%, 1380px);
    padding: 8px 22px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(190%) blur(20px);
    -webkit-backdrop-filter: saturate(190%) blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(226, 232, 240, 0.4);
    z-index: 1050;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ms-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 35px -6px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(226, 232, 240, 0.8);
    border-color: rgba(226, 232, 240, 0.9);
    top: 8px;
}

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 0.8px;
}

.logo-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.4px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.nav-line-item {
    position: relative;
    color: #1E293B;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 6px 4px;
    transition: color 0.2s ease;
}

.nav-line-item:hover {
    color: var(--primary);
}

.nav-line-item.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-line-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* Ensure no double arrow or Bootstrap default caret */
.dropdown-toggle::after,
.nav-item.dropdown>a::after,
#navMoreDropdown::after,
.nav-line-item::after:not(.active) {
    display: none !important;
    content: none !important;
}

/* Glassmorphic Dropdown Menu */
.nav-item.dropdown {
    padding-bottom: 6px;
    margin-bottom: -6px;
}

.dropdown-glass {
    min-width: 310px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    margin-top: 6px !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1100;
}

/* Invisible hover bridge connecting trigger button and dropdown box */
.dropdown-glass::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 1;
}

@media (min-width: 992px) {

    /* Seamless Hover + Click Activation for Desktop */
    .nav-item.dropdown:hover>.dropdown-glass,
    .nav-item.dropdown>.dropdown-glass.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-item.dropdown:hover #navMoreDropdown i,
    .nav-item.dropdown>.dropdown-glass.show~#navMoreDropdown i {
        transform: rotate(180deg);
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.dropdown-glass .dropdown-item {
    transition: var(--transition);
}

.dropdown-glass .dropdown-item:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.dropdown-glass .dropdown-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-dropdown-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Nav "What's New" Live Shimmer Button with Pulsing Red Beacon */
.nav-whats-new-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 18px !important;
    /* border-radius: 50px !important; */
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #FFF1F2 0%, #EFF6FF 100%) !important;
    border: 1.5px solid #F43F5E !important;
    color: #E11D48 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.25), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    animation: pulseShimmer 2.5s infinite !important;
    position: relative;
    text-decoration: none !important;
}

.nav-whats-new-btn:hover {
    background: linear-gradient(135deg, #E11D48 0%, #2563EB 100%) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 22px rgba(225, 29, 72, 0.45) !important;
}

.live-beacon {
    width: 9px;
    height: 9px;
    background-color: #EF4444;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.live-beacon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.65);
    animation: beaconRipple 1.4s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes beaconRipple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

@keyframes pulseShimmer {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.45), 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(244, 63, 94, 0), 0 4px 14px rgba(244, 63, 94, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0), 0 2px 6px rgba(0, 0, 0, 0.04);
    }
}

.nav-right .phone {
    color: #1E293B;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.nav-right .phone:hover {
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85%, 340px);
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1090;
    padding: 30px 24px;
    transition: right 0.35s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-links a {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-links a:hover,
.mobile-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-demo {
    background: var(--primary);
    color: #ffffff !important;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* ==========================================================================
   HERO WHAT'S NEW SHOWCASE CARD (Right Half of Hero Screen)
   ========================================================================== */
.hero-announcement-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.9);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero-announcement-card:hover {
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.4);
}

.hero-announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF4444, #F59E0B, #2563EB);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

.announcement-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.announcement-nav-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.hero-slide {
    display: none;
    animation: slideFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
    display: block;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.announcement-img-wrap {
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    background: #F1F5F9;
}

.announcement-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-slide:hover .announcement-img-wrap img {
    transform: scale(1.04);
}

.announcement-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.announcement-title a:hover {
    color: var(--primary);
}

.announcement-desc {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.floating-whats-new-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    cursor: pointer;
}

.floating-whats-new-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
    border-color: var(--primary);
}

.hero-main-img {
    transition: transform 0.4s ease;
}

.hero-image-wrapper:hover .hero-main-img {
    transform: translateY(-4px);
}

/* --- HERO SECTIONS --- */
.hero {
    min-height: 100vh;
    padding-top: 84px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-image: url('../imgs/HomeHero.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #F8FBFF;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-main-container {
    padding-top: clamp(12px, 2.5vh, 36px);
    padding-bottom: clamp(12px, 2.5vh, 36px);
}

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

.hero-content h1 {
    font-size: clamp(2rem, 3.2vw, 2.95rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: clamp(0.92rem, 1.05vw, 1.04rem);
    line-height: 1.62;
    color: #475569;
    margin-bottom: 24px;
}

.hero-metrics-strip {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.products-hero,
.about-hero {
    padding: 140px 0 70px;
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #EFF6FF 0%, #F8FBFF 100%);
}

.services-hero {
    position: relative;
    padding: 140px 0 80px;
    background-image: url('../imgs/serviceHero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-hero {
    position: relative;
    padding: 135px 0 75px;
    background-image: url('../imgs/ContactHero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(37, 99, 235, 0.08);
    color: #1D4ED8;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-hero-img-wrap {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9));
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 45px -15px rgba(37, 99, 235, 0.15), 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 16px;
    overflow: visible;
}

.contact-hero-img-wrap img {
    border-radius: 18px;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    background: #FFFFFF;
    transition: transform 0.4s ease;
}

.contact-floating-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0F172A;
    z-index: 3;
    animation: floatSlow 4s ease-in-out infinite alternate;
}

.contact-floating-pill.pill-top {
    top: -12px;
    left: -10px;
}

.contact-floating-pill.pill-bottom {
    bottom: -14px;
    right: -10px;
    animation-delay: -2s;
}

@keyframes floatSlow {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

.contact-trust-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #475569;
}

.contact-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
}

/* --- GRIDS & CARDS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--card-bg);
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

.product-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--card-bg);
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    color: var(--dark);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.service-arrow {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    align-self: flex-end;
    margin-top: 15px;
    transition: var(--transition);
}

.service-card:hover .service-arrow {
    transform: translateX(6px);
}

/* Trusted Clients Grid */
.trusted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.company-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-height: 110px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.client-name {
    font-size: 0.92rem;
    color: #1E293B;
}

/* ==========================================================================
   THE 5M INDUSTRY 4.0 SECTION (5 Exact Industrial Pillars)
   ========================================================================== */
.five-m-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.five-m-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.five-m-card.col-3-card {
    grid-column: span 2;
}

.five-m-card.col-2-card {
    grid-column: span 3;
}

.five-m-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60A5FA);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.five-m-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.five-m-card:hover::before {
    opacity: 1;
}

.five-m-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.five-m-card:hover .five-m-icon-box {
    transform: scale(1.08);
}

.five-m-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.five-m-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    line-height: 1.35;
}

.five-m-card p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 16px;
}

.five-m-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #334155;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.five-m-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.five-m-points i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Bento Grid (Fallback Compatibility) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(210px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--card-bg);
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- MISSION & VALUES --- */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: var(--card-bg);
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

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

.mission-card.large {
    grid-column: span 2;
}

.mission-card.tall {
    grid-row: span 2;
}

.mission-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.mission-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Flagship ERP */
.feature-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 600;
}

.erp-stats h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.erp-stats span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Showcase Blocks */
.product-showcase {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
}

.showcase-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.showcase-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.showcase-content p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    padding: 30px 0;
}

.process-step {
    flex: 1;
    background: var(--card-bg);
    padding: 26px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.process-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.process-timeline .line {
    flex-grow: 1;
    height: 2px;
    background: #CBD5E1;
    border-style: dashed;
}

/* ==========================================================================
   CONTACT & INQUIRY PAGE ELEVATED STYLES
   ========================================================================== */
.contact-card-premium {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.contact-form-card .form-label {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.contact-form-card .input-group-text {
    border-color: #E2E8F0;
    border-radius: 10px 0 0 10px;
    background-color: #F8FAFC;
    color: #64748B;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-color: #E2E8F0;
    padding: 11px 14px;
    font-size: 0.92rem;
    border-radius: 0 10px 10px 0;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.contact-form-card textarea.form-control {
    border-radius: 10px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background-color: #FFFFFF;
}

.contact-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    border: 1px solid #E2E8F0;
}

.contact-map-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #FFFFFF;
    padding: 6px;
}

.office-item-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.office-item-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.office-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-faq .accordion-item {
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: #FFFFFF;
}

.contact-faq .accordion-button {
    font-size: 1rem;
    padding: 18px 20px;
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: none;
}

.contact-faq .accordion-button:not(.collapsed) {
    background: #EFF6FF;
    color: #1D4ED8;
}

.contact-faq .accordion-body {
    padding: 18px 22px 22px;
    background: #FFFFFF;
    line-height: 1.7;
}

/* CTA Banners */
.demo,
.demo-box,
.demo-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #2563EB 100%);
    color: #ffffff;
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    position: relative;
    overflow: hidden;
}

.cta-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #FFFFFF;
    color: #1E3A8A !important;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.9);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn-white:hover {
    background: #F8FAFC;
    color: var(--primary-dark) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25), 0 0 0 2px #FFFFFF;
}

.cta-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #FFFFFF;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   FOOTER (With Glowing White Logo Badge & Modern Socials)
   ========================================================================== */
.footer {
    background: #0B132B;
    color: #ffffff;
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 2.6fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-box {
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-logo-box:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45), 0 0 0 2px var(--primary);
}

/* App Store Badges */
.app-store-btn,
.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: var(--transition);
    cursor: pointer;
}

.btn-google-play,
.app-store-badge.google-play {
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
}

.btn-google-play:hover,
.app-store-badge.google-play:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

.btn-apple-store,
.app-store-badge.apple-store {
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
}

.btn-apple-store:hover,
.app-store-badge.apple-store:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

.store-badge-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Social Media Circular Buttons */
.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8 !important;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.social-icon-btn:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    border-color: var(--primary);
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.footer-links h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    color: #94A3B8;
    font-size: 0.9rem;
}

.social-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1200px) {

    .bento-grid,
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-m-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-m-card.col-3-card,
    .five-m-card.col-2-card {
        grid-column: span 1;
    }

    .five-m-card:last-child {
        grid-column: span 2;
    }

    .bento-card.large,
    .mission-card.large {
        grid-column: span 2;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .ms-navbar {
        top: 10px;
        padding: 8px 18px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-content h1,
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper,
    .office-wrapper,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 20px;
    }

    .process-timeline .line {
        display: none;
    }

    .process-step {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .hero-content h1,
    .contact-hero h1 {
        font-size: 2.1rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .bento-grid,
    .mission-grid,
    .five-m-grid {
        grid-template-columns: 1fr;
    }

    .five-m-card.col-3-card,
    .five-m-card.col-2-card,
    .five-m-card:last-child {
        grid-column: span 1;
    }

    .bento-card.large,
    .mission-card.large,
    .bento-card.tall,
    .mission-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

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

@media (max-width: 480px) {

    .hero-buttons,
    .demo-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a,
    .demo-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   CLIENT DIRECTORY & PORTFOLIO STYLES (Watermark & Enhanced Logo)
   ========================================================================== */
.client-card-box {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: var(--radius-lg, 10px) !important;
    padding: 1.35rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.client-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.14) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}

/* Background Card Watermark (Spacious, Elegant & Subtle) */
.client-card-watermark {
    position: absolute;
    right: 12px;
    bottom: 8px;
    width: 130px;
    height: 105px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-card-watermark img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.client-watermark-monogram {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    font-family: var(--font-heading);
    opacity: 0.12;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-card-box:hover .client-card-watermark {
    opacity: 0.20;
    transform: scale(1.06) rotate(-3deg);
}

.client-card-box:hover .client-watermark-monogram {
    opacity: 0.25;
}

/* Green Verified Badge Tag */
.client-verified-tag {
    color: #10B981 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.client-verified-tag i {
    color: #10B981 !important;
    font-size: 0.85rem;
}

/* Seamless, Clean Client Logo */
.client-logo-holder {
    display: flex;
    align-items: center;
    height: 48px;
    max-width: 170px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.client-logo-img {
    max-height: 44px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
    transition: transform 0.25s ease;
}

.client-card-box:hover .client-logo-img {
    transform: scale(1.04);
}

.client-avatar-monogram {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm, 6px);
    background: #EFF6FF;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DBEAFE;
}

/* Compact Deals In / Specialization Tag (Solid opaque layer prevents watermark bleed) */
.client-deals-compact {
    position: relative;
    z-index: 3;
    background: #F8FAFC !important;
    border-left: 2.5px solid var(--primary);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #475569;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Sleek Minimalist Verified Badge */
.client-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    font-weight: 600;
}

.client-pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: clientDotPulse 2s infinite;
}

@keyframes clientDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Client Directory Filter & Search UI */
.client-search-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.client-search-input {
    width: 100%;
    padding: 10px 18px 10px 42px;
    border-radius: var(--radius-md);
    border: 1.5px solid #E2E8F0;
    background: #ffffff;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.client-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.client-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.9rem;
}

.shadow-xs {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   PRODUCTS PAGE - CLEAN LIGHT HERO & DYNAMIC SUITE
   ========================================================================== */
.products-hero-section {
    position: relative;
    background:
        radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(99, 102, 241, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    padding: 130px 0 50px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.hero-glass-stat {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 8px 18px;
    border-radius: var(--radius-md, 8px);
    font-size: 0.88rem;
    color: #0F172A;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.products-hero-search {
    max-width: 580px;
    position: relative;
    z-index: 3;
}

.products-search-field {
    height: 52px;
    padding: 12px 20px 12px 48px;
    border-radius: var(--radius-md, 10px);
    border: 1.5px solid #CBD5E1;
    background: #ffffff;
    font-size: 0.96rem;
    color: #0F172A;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.products-search-field:focus {
    background: #ffffff;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 8px 25px rgba(15, 23, 42, 0.08);
    outline: none;
}

.products-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563EB;
    font-size: 1.1rem;
    z-index: 4;
}

.product-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

@media (min-width: 768px) {
    .product-filter-bar {
        flex-wrap: wrap;
    }
}

/* Multi-Image Product Card & Amazon/Myntra Viewer Styling */
.product-card-box {
    border-radius: var(--radius-lg, 10px) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.16) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
}

/* Amazon / Myntra Style Product Viewer */
.product-viewer-wrap {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-gallery-main-view {
    position: relative;
    height: 420px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.product-gallery-main-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-gallery-main-view:hover img {
    transform: scale(1.04);
}

.product-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 8px;
    scrollbar-width: thin;
}

.product-thumb-btn {
    width: 76px;
    height: 58px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.product-thumb-btn:hover,
.product-thumb-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: scale(1.03);
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rich HTML Description Container */
.product-html-description {
    font-size: 0.96rem;
    line-height: 1.75;
    color: #334155;
}

.product-html-description p {
    margin-bottom: 14px;
}

.product-html-description ul,
.product-html-description ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.product-html-description li {
    margin-bottom: 8px;
    color: #475569;
}

.product-html-description strong {
    color: #0F172A;
    font-weight: 600;
}

.product-html-description table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.product-html-description th,
.product-html-description td {
    padding: 8px 12px;
    border: 1px solid #E2E8F0;
    font-size: 0.88rem;
}

/* Horizontal Single-Line Scrollable Track */
.horizontal-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.horizontal-slider-track::-webkit-scrollbar {
    height: 6px;
}

.horizontal-slider-track::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.horizontal-product-card {
    flex: 0 0 280px;
    max-width: 290px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md, 8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.horizontal-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -8px rgba(37, 99, 235, 0.14);
    border-color: var(--primary);
    text-decoration: none;
    color: inherit;
}

.horizontal-product-card.active-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    background: #F8FAFC;
}

.horizontal-card-thumb {
    height: 150px;
    width: 100%;
    background: #0F172A;
    overflow: hidden;
    position: relative;
}

.horizontal-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.horizontal-product-card:hover .horizontal-card-thumb img {
    transform: scale(1.06);
}

.slider-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #CBD5E1;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.05);
}

.slider-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Default Catalog Big Cards Styling */
.product-big-card {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg, 12px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    cursor: pointer;
}

.product-big-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.16) !important;
    border-color: var(--primary) !important;
}

.product-big-card-media {
    height: 240px;
    background: #0F172A;
    overflow: hidden;
}

.product-big-card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

/* Button Hover Fixes & Contrast Protection */
.product-filter-btn {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-sm, 6px);
    border: 1px solid #CBD5E1 !important;
    background-color: #ffffff !important;
    color: #334155 !important;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.product-filter-btn:hover {
    background-color: #EFF6FF !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.product-filter-btn.active,
.product-filter-btn.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-outline-secondary {
    color: #334155 !important;
    border-color: #CBD5E1 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    color: var(--primary) !important;
    background-color: #EFF6FF !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #ffffff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.hover-primary:hover {
    color: var(--primary) !important;
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        background-position: 78% center;
        background-color: #F8FBFF;
        background-image: linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, rgba(248, 251, 255, 0.86) 60%, rgba(248, 251, 255, 0.96) 100%), url('../imgs/HomeHero.png');
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tech-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-telemetry-pill {
        margin: 10px auto 0;
    }

    .products-hero-section {
        padding: 100px 0 40px;
    }

    .services-hero {
        padding: 110px 0 50px;
        background-position: right center;
    }

    .contact-hero {
        padding: 110px 0 50px;
    }

    .product-viewer-wrap {
        padding: 20px !important;
    }

    .product-gallery-main-view {
        height: 320px;
    }

    .product-big-card-media {
        height: 190px;
    }

    .horizontal-product-card {
        flex: 0 0 240px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.85rem, 5.5vw, 2.35rem);
    }

    .hero-content p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .hero-metrics-strip .h3 {
        font-size: 1.45rem;
    }

    .hero-metrics-strip .small {
        font-size: 0.74rem !important;
    }

    .products-hero-section h1 {
        font-size: clamp(1.75rem, 5vw, 2.2rem);
    }

    .contact-hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.2rem);
    }

    .products-hero-search {
        width: 100%;
    }

    .products-search-field {
        height: 48px;
        font-size: 0.9rem;
        padding-left: 44px;
    }

    .products-search-icon {
        left: 15px;
    }

    .hero-glass-stat {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .product-gallery-main-view {
        height: 270px;
    }

    .product-thumb-btn {
        width: 62px;
        height: 48px;
    }

    .product-html-description table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 92px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 18px;
    }

    .hero-content h1 {
        font-size: 1.72rem;
        letter-spacing: -0.3px;
    }

    .hero-content p {
        font-size: 0.88rem;
    }

    .hero-metrics-strip {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .hero-metrics-strip .h3 {
        font-size: 1.25rem;
    }

    .hero-metrics-strip .small {
        font-size: 0.7rem !important;
        line-height: 1.25;
    }

    .products-hero-section {
        padding: 92px 0 30px;
    }

    .products-hero-section h1 {
        font-size: 1.6rem;
    }

    .products-hero-section p.lead {
        font-size: 0.9rem !important;
    }

    .services-hero {
        padding: 92px 0 35px;
        background-position: right center;
    }

    .services-hero h1 {
        font-size: 1.65rem;
    }

    .services-hero .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .services-hero .hero-buttons .btn-primary,
    .services-hero .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .contact-hero {
        padding: 92px 0 35px;
    }

    .contact-hero h1 {
        font-size: 1.65rem;
    }

    .contact-hero p.lead {
        font-size: 0.92rem !important;
    }

    .contact-hero .btn-primary,
    .contact-hero .btn-secondary,
    .contact-hero a.btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .contact-hero-img-wrap {
        padding: 10px;
    }

    .contact-floating-pill.pill-top,
    .contact-floating-pill.pill-bottom {
        position: static;
        margin: 6px auto;
        width: 100%;
        justify-content: center;
        animation: none;
        box-shadow: none;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-trust-strip {
        gap: 12px;
    }

    .product-gallery-main-view {
        height: 220px;
    }

    .product-big-card-media {
        height: 170px;
    }
}