/**
 * Infusion Solutions - Modern Enterprise Public Stylesheet
 * 100% Self-Contained, Zero External CDN Dependencies
 */

:root {
    --primary: #00b4d8;
    --primary-dark: #0077b6;
    --primary-light: #90e0ef;
    --primary-glow: rgba(0, 180, 216, 0.25);
    --secondary: #0b132b;
    --secondary-light: #1c2541;
    --secondary-lighter: #3a506b;
    --dark: #070d1e;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-dark: #1e293b;
    --card-bg: #ffffff;
    --card-bg-glass: rgba(255, 255, 255, 0.85);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.35);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Page Loading Progress Bar */
.page-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #00b4d8, #48cae4, #0077b6);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.8), 0 0 5px rgba(0, 180, 216, 0.4);
    z-index: 999999;
    pointer-events: none;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.page-progress-bar.done {
    width: 100%;
    opacity: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: appPageFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

@keyframes appPageFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Notification / Contact Bar */
.top-bar {
    background: var(--dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.top-bar-links a {
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.top-bar-links a:hover {
    color: var(--primary-light);
}

/* Modern Header & Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(11, 19, 43, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.site-header.scrolled .navbar {
    height: 70px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.25s ease;
}
.brand-logo:hover {
    transform: scale(1.02);
}
.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.03em;
}
.brand-text span {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    height: 100%;
}
.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-dark);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation Dropdown Menu (Matches https://infusionsols.com/ menu list) */
.nav-item.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-item.has-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 100%;
    padding: 0 0.25rem;
    cursor: pointer;
}
.dropdown-caret {
    font-size: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}
.nav-item.has-dropdown:hover .dropdown-caret,
.nav-item.has-dropdown.is-open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.97);
    width: 600px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -10px rgba(11, 19, 43, 0.2), 0 0 0 1px rgba(0, 180, 216, 0.1);
    border: 1px solid var(--border);
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
    z-index: 1000;
}

/* Invisible bridge so mouse hover is never lost when moving from link into dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown,
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Banner */
.dropdown-header-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dropdown-view-all {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}
.dropdown-view-all:hover {
    color: var(--primary);
}

/* Dropdown Grid */
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    border: 1px solid transparent;
}
.dropdown-item:hover {
    background: var(--light);
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateX(3px);
}
.dropdown-icon {
    font-size: 1.35rem;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dropdown-text {
    display: flex;
    flex-direction: column;
}
.dropdown-text strong {
    font-size: 0.88rem;
    color: var(--secondary);
    line-height: 1.25;
}
.dropdown-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Mobile Accordion in Drawer */
.mobile-accordion {
    display: flex;
    flex-direction: column;
}
.mobile-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.25rem 0;
    user-select: none;
}
.mobile-submenu {
    padding-left: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-left: 2px solid var(--primary-light);
}
.mobile-submenu a {
    font-size: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.15rem 0;
    transition: color 0.15s ease;
}
.mobile-submenu a:hover {
    color: var(--primary-dark);
}
.mobile-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}
.mobile-link:hover {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px var(--primary-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 2;
}
.btn-primary:hover::after {
    left: 140%;
}
.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.45);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    border-color: var(--border);
    color: var(--secondary);
    background: var(--white);
}
.btn-outline:hover {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(28, 37, 65, 0.08) 0%, transparent 40%),
                linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 180, 216, 0.2);
}
.hero-title {
    margin-bottom: 1.25rem;
}
.hero-title span.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.hero-partners {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.hero-partners-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.partner-badges {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.partner-badge-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.hero-visual {
    position: relative;
}
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    z-index: 2;
}
.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}
.hero-stat-card.stat-1 {
    top: -20px;
    right: -20px;
}
.hero-stat-card.stat-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 180, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}
.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Section Common */
.section {
    padding: 5rem 0;
}
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}
.section-tag {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.section-title {
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.filter-btn {
    height: 44px;
    padding: 0 1.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    line-height: 1;
    user-select: none;
    text-decoration: none;
}
.filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.28);
    transform: translateY(-2px);
}
.filter-btn.active .filter-icon {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    align-items: stretch;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary-light));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.35);
}
.service-card:hover::before {
    opacity: 1;
}

/* Service Card Top Header */
.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 119, 182, 0.06));
    border: 1px solid rgba(0, 180, 216, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0, 180, 216, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover .service-icon-box {
    transform: scale(1.05);
    border-color: var(--primary);
}
.service-icon-box img {
    width: 38px;
    height: 38px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.service-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Service Card Body */
.service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-cat {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.35;
    margin: 0 0 0.85rem 0;
    min-height: 3.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-summary {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    min-height: 4.5rem;
}
.service-features-list {
    list-style: none;
    margin-bottom: 1.25rem;
    padding: 0;
    min-height: 5.5rem;
}
.service-features-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    line-height: 1.45;
}
.service-features-list li::before {
    content: "✓";
    color: var(--primary-dark);
    font-weight: 800;
    flex-shrink: 0;
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    min-height: 2.25rem;
}
.service-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--light);
    color: var(--secondary-lighter);
    font-weight: 600;
    border: 1px solid var(--border);
}

/* Service Card Footer */
.service-footer {
    display: flex;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.service-footer .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.2);
}
.service-footer .btn:hover {
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}
.btn-block {
    width: 100%;
    display: flex;
    text-align: center;
}

/* Case Studies Section */
.case-study-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 3.5rem;
    box-shadow: 0 4px 25px rgba(11, 19, 43, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px -10px rgba(11, 19, 43, 0.14);
    border-color: rgba(0, 180, 216, 0.4);
}
.case-study-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.case-metric-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.case-metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 119, 182, 0.18));
    border: 1px solid rgba(0, 180, 216, 0.35);
    color: var(--primary-dark);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-weight: 750;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
}
.badge-pulse-glow {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulseCyan 2s infinite;
}
.case-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: var(--light);
    border: 1px solid var(--border);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.case-card-title {
    font-size: 1.65rem;
    line-height: 1.3;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.case-industry-meta {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.case-brief {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.case-brief-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.brief-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.brief-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}
.brief-label.solution-label::before {
    background: var(--primary);
}
.brief-text {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
.case-outcomes-box {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.outcomes-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.65rem;
}
.outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.outcomes-list li {
    font-size: 0.86rem;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1.45;
}
.outcomes-list .check-icon {
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 0.92rem;
    flex-shrink: 0;
}

/* Right Media Block: Dark Executive Showcase */
.case-study-media {
    background: radial-gradient(circle at 70% 30%, #15223d 0%, #0b152d 50%, #060b18 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    min-height: 380px;
}
.media-tech-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 180, 216, 0.15) 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}
.media-ambient-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.35) 0%, rgba(0, 119, 182, 0.15) 50%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
    animation: pulseGlow 7s ease-in-out infinite alternate;
}
.media-mockup-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    background: rgba(11, 19, 43, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 35px -5px rgba(0, 180, 216, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.case-study-card:hover .media-mockup-frame {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 180, 216, 0.4);
}
.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(5, 10, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
}
.mockup-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}
.dot-yellow {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}
.dot-green {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}
.mockup-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mockup-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: #34d399;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 2s infinite;
}
.mockup-screen {
    padding: 0.75rem;
    background: #050a18;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-img,
.case-study-media img {
    max-width: 100%;
    max-height: 290px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    display: block;
    filter: contrast(1.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service Detail Banner Container */
.service-banner-box {
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #070d1e 0%, #0b132b 50%, #1c2541 100%);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 280px;
    max-height: 440px;
    border: 1px solid var(--border);
}
.service-banner-img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    display: block;
}
.case-metric-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.15);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Global Footprint / Office Cards */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.office-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.office-flag {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.office-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.office-address {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.office-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Clients Showcase */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
}
.client-logo-box {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: var(--transition);
}
.client-logo-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}
.client-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}
.client-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts / Flash Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--secondary-light);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
.footer-logo {
    margin-bottom: 1.25rem;
}
.footer-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 42px;
    height: 40px;
    transition: var(--transition);
}
.mobile-nav-toggle:hover {
    background: #e2e8f0;
    border-color: var(--primary-light);
}
.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-links, .nav-btn-desktop { display: none !important; }
    .mobile-nav-toggle { display: flex; }
}

/* ==========================================================================
   Company Profile Pillars, Methodology & Value Propositions
   ========================================================================== */

/* 4 Core Pillars (Page 3 of Profile) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pillar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
    position: relative;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.pillar-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.pillar-capabilities {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pillar-capabilities li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pillar-capabilities li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

/* 4-Stage Transformation Approach (Page 5 of Profile) */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.methodology-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--secondary);
}
.methodology-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}
.methodology-step-badge {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: monospace;
    opacity: 0.9;
}
.methodology-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.methodology-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* 3 Core Differentiators (Page 2 of Profile) */
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.differentiator-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}
.differentiator-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.diff-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.diff-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.65rem;
}
.diff-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==============================================================
 * Comprehensive Animation Suite
 * Scroll Reveal, Micro-Interactions, Pulse Effects & Dynamic Counters
 * ============================================================== */

/* Scroll Reveal Elements */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-left.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Helpers */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

/* Pulse Dots & Badges */
@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulseCyan {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 180, 216, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9) translate(-10px, -10px);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.1) translate(10px, 10px);
        opacity: 0.75;
    }
    100% {
        transform: scale(0.9) translate(-10px, -10px);
        opacity: 0.45;
    }
}

/* Interactive Card Elevation & Shimmer */
.service-card, .pillar-card, .client-logo-box, .methodology-card, .differentiator-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover, .pillar-card:hover, .methodology-card:hover, .differentiator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(11, 19, 43, 0.1);
    border-color: rgba(0, 180, 216, 0.35);
}
.client-logo-box:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.15);
}

