/* ==========================================================================
   TaskTel Technologies Stylesheet - Figma Replication
   Theme: Collaboration Simplified
   Colors: Vivid Royal Blue, Deep Navy, Emerald Green, Slate Dark, Pure White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* 1. Reset & Variables */
:root {
    --primary-blue: #004898;
    --navy-dark: #001c3d;
    --navy-deep: #001026;
    --vivid-green: #B3CA06;
    --accent-teal: #009EE0;
    --accent-magenta: #A4027C;
    --slate-light: #f8fafc;
    --slate-border: #e2e8f0;
    --white: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #333333;
    --card-shadow: 0 10px 30px rgba(0, 28, 61, 0.04);
    --hover-shadow: 0 20px 40px rgba(0, 72, 152, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-highlight: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

/* 2. Main Header */
.main-header {
    background-color: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky Scrolled Header styling */
.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    padding: 16px 0;
    z-index: 1000;
}

.main-header.scrolled .nav-menu a {
    color: var(--navy-dark) !important;
}

.main-header.scrolled .nav-menu a:hover,
.main-header.scrolled .nav-menu a.active {
    color: var(--primary-blue) !important;
}

.main-header.scrolled .btn-contact-nav {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-blue) !important;
}

.main-header.scrolled .btn-contact-nav:hover {
    background-color: var(--navy-dark) !important;
    border-color: var(--navy-dark) !important;
}

.main-header.scrolled .mobile-nav-toggle {
    color: var(--navy-dark) !important;
}

/* Logo toggling */
.logo-light {
    display: block !important;
}

.logo-dark {
    display: none !important;
}

.main-header.scrolled .logo-light {
    display: none !important;
}

.main-header.scrolled .logo-dark {
    display: block !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon-wrap {
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
}

.logo-tm {
    font-size: 0.65rem;
    vertical-align: super;
    font-weight: 500;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.btn-contact-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--navy-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-contact-nav:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}


.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-dark);
    cursor: pointer;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    background: linear-gradient(135deg, #1860b1 0%, #00183b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero-bg-gif,
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -1px;
}

.hero-title-accent {
    background: linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating 3D-Style Items */
.floating-item {
    position: absolute;
    z-index: 5;
    pointer-events: auto;
}

.floating-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.svg-product {
    width: 100%;
    max-width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.float-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Float Animations Keyframes */
@keyframes float1 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-22px) rotate(-1.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.item-neat-board {
    animation: float1 6s ease-in-out infinite;
}

.item-neat-bar {
    animation: float2 5.5s ease-in-out infinite;
}

.item-keyboard {
    animation: float3 5s ease-in-out infinite;
}

.item-tablet-controller {
    animation: float4 6.5s ease-in-out infinite;
}


/* 4. Workplace Section (Boardroom) */
.workplace-section {
    padding: 100px 0;
    background-color: var(--white);
}

.workplace-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.workplace-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy-dark);
    margin-bottom: 24px;
}

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

.workplace-title-accent {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.workplace-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 540px;
}

.workplace-btn-row {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--navy-dark);
    color: var(--white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--navy-dark);
    color: var(--navy-dark);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Boardroom Interactive Graphic */
.boardroom-visual-wrapper {
    position: relative;
}

.boardroom-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 28, 61, 0.15);
}

.boardroom-img {
    width: 100%;
    height: auto;
    display: block;
}

.boardroom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 28, 61, 0.2) 0%, rgba(0, 28, 61, 0) 100%);
}

/* Hotspots definition */
.hotspot {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    cursor: pointer;
}

.hotspot-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    border: 2.5px solid var(--white);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
    position: relative;
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-teal);
    animation: pulseDot 2s infinite ease-out;
}

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

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

.hotspot-label {
    background-color: var(--white);
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0.95;
    transition: var(--transition);
}

.hotspot:hover .hotspot-label {
    transform: scale(1.06);
    opacity: 1;
    background-color: var(--navy-dark);
    color: var(--white);
}

/* 5. Stats Counter Section (Redesigned) */
.stats-section {
    background-color: #ffffff;
    /* Clean white background */
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Exactly 4 columns */
    gap: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Stat Box Themes */
.stat-blue {
    --stat-color: var(--primary-blue);
    --stat-bg: rgba(0, 72, 152, 0.06);
}

.stat-cyan {
    --stat-color: var(--accent-teal);
    --stat-bg: rgba(0, 158, 224, 0.06);
}

.stat-lime {
    --stat-color: var(--vivid-green);
    --stat-bg: rgba(179, 202, 6, 0.06);
}

.stat-pink {
    --stat-color: var(--accent-magenta);
    --stat-bg: rgba(164, 2, 124, 0.06);
}

.stat-icon-wrap {
    font-size: 1.65rem;
    color: var(--stat-color);
    background-color: var(--stat-bg);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    /* soft rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-box:hover .stat-icon-wrap {
    transform: scale(1.08) translateY(-2px);
}

.stat-number-flex {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--stat-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-number-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    /* Sleek slate grey label text */
    margin-top: 12px;
    line-height: 1.4;
    max-width: 200px;
}

/* 6. Technology Partners */
.partners-section {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Logo Ticker Container */
.partners-ticker-container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--slate-border);
    padding: 28px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Linear gradient fade overlay mask on left and right for premium aesthetics */
.partners-ticker-container::before,
.partners-ticker-container::after {
    content: "";
    height: 100%;
    width: 100px;
    position: absolute;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

.partners-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Logo Ticker Track — forced single horizontal row */
.partners-ticker-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    gap: 64px;
    padding: 0 32px;
    animation: tickerInfinite 30s linear infinite;
    will-change: transform;
}

/* Pause scroll animation on hover to allow interactive inspection */
.partners-ticker-container:hover .partners-ticker-track {
    animation-play-state: paused;
}

.partners-logo-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 140px;
    width: 140px;
    height: 56px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.partners-logo-item img {
    display: block;
    height: 44px;
    width: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.partners-logo-item:hover {
    transform: scale(1.07);
}

.partners-logo-item:hover img {
    opacity: 1;
}

/* Seamless horizontal infinite scroll */
@keyframes tickerInfinite {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.partner-logo-item.font-italic {
    font-style: italic;
    font-weight: 500;
}

.partner-logo-item.font-serif {
    font-family: serif;
    font-weight: 600;
}

/* 7. Solutions Section */
.solutions-section {
    padding: 100px 0;
    background-color: var(--slate-light);
    overflow: hidden;
}

.solutions-grid-container {
    display: grid;
    grid-template-columns: 32% 68%;
    gap: 40px;
    align-items: stretch;
    width: 100%;
}

.solutions-left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 20px;
}

.solutions-title-block {
    margin-bottom: 30px;
}

.solutions-sub {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 12px;
}

.solutions-main-heading {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.25;
}

.gradient-text {
    background: linear-gradient(90deg, #1860b1, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solutions-subtitle-text {
    font-size: 1.05rem;
    color: #55627a;
    /* slate/muted */
    line-height: 1.6;
    margin-top: 18px;
    font-weight: 400;
    max-width: 520px;
}

.solutions-controls {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.slider-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--slate-border);
    background-color: var(--white);
    color: var(--navy-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.slider-control-btn:hover {
    background-color: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
}

.solutions-right-col {
    width: 100%;
    overflow: hidden;
}

/* Solutions Accordion Grid */
.solutions-accordion {
    display: flex;
    gap: 16px;
    width: 100%;
    height: 480px;
}

.solutions-accordion-card {
    flex: 1;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.6s, border-color 0.6s, box-shadow 0.6s;
    box-shadow: none;
}

.solutions-accordion-card .card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: padding 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.solutions-accordion-card .card-image-wrapper {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.solutions-accordion-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.solutions-accordion-card:hover .card-image {
    transform: scale(1.03);
}

.solutions-accordion-card .card-content-wrapper {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    /* Use max-height so CSS can animate from 0 to a known value */
    transition: opacity 0.4s ease 0.15s,
        max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        padding 0.4s ease;
}

/* Expanded Card State */
.solutions-accordion-card.active {
    flex: 5.5;
    background: #ffffff;
    border-color: rgba(24, 96, 177, 0.15);
    box-shadow: 0 20px 40px rgba(24, 96, 177, 0.08);
    cursor: default;
}

.solutions-accordion-card.active .card-inner {
    padding: 20px;
}

.solutions-accordion-card.active .card-image-wrapper {
    height: 240px;
    border-radius: 12px;
    flex-shrink: 0;
}

.solutions-accordion-card.active .card-content-wrapper {
    opacity: 1;
    max-height: 260px;
    /* Large enough to fit content, small enough to animate */
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solutions-accordion-card.active .card-content-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy-dark);
    font-weight: 700;
    margin: 0;
}

.solutions-accordion-card.active .card-content-wrapper p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.5;
    margin: 0;
}

.solutions-accordion-card.active .sol-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s;
    margin-top: 4px;
}

.solutions-accordion-card.active .sol-learn-more:hover {
    gap: 10px;
}

/* Responsive Accordion Styles */
@media (max-width: 576px) {
    .solutions-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solutions-left-col {
        padding-right: 0;
    }

    .solutions-controls {
        margin-top: 20px;
    }

    .solutions-accordion {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .solutions-accordion-card {
        width: 100%;
        height: 100px;
        flex: none;
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .solutions-accordion-card.active {
        height: 420px;
        flex: none;
    }

    .solutions-accordion-card.active .card-image-wrapper {
        height: 180px;
    }
}

/* 8. Why Choose TaskTel (Grid Cards) */
.choose-section {
    padding: 100px 0;
    background-color: #050b14;
    /* Deep dark navy background */
    color: var(--white);
}

.choose-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.choose-card {
    position: relative;
    background-color: #0b1329;
    /* Darker navy/slate card background */
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.4s ease;
    color: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Card Themes */
.choose-blue {
    --theme-color: var(--primary-blue);
    --theme-bg: rgba(0, 72, 152, 0.08);
}

.choose-lime {
    --theme-color: var(--vivid-green);
    --theme-bg: rgba(179, 202, 6, 0.08);
}

.choose-cyan {
    --theme-color: var(--accent-teal);
    --theme-bg: rgba(0, 158, 224, 0.08);
}

.choose-magenta {
    --theme-color: var(--accent-magenta);
    --theme-bg: rgba(164, 2, 124, 0.08);
}

.choose-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--theme-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--theme-color);
    margin-bottom: 26px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.choose-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--white);
}

.choose-accent-line {
    width: 24px;
    height: 2.5px;
    background-color: var(--theme-color);
    margin-bottom: 22px;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.choose-card p {
    color: #8fa0dd;
    /* Light greyish-blue details */
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.85;
}

.choose-dots-pattern {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: grid;
    grid-template-columns: repeat(4, 4px);
    gap: 4px;
    color: var(--theme-color);
    opacity: 0.12;
    transition: opacity 0.3s ease, transform 0.4s ease;
    pointer-events: none;
}

.choose-dots-pattern span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Hover styles */
.choose-card:hover {
    transform: translateY(-8px);
}

.choose-blue:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.12);
}

.choose-lime:hover {
    border-color: rgba(163, 230, 53, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(163, 230, 53, 0.12);
}

.choose-cyan:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(6, 182, 212, 0.12);
}

.choose-magenta:hover {
    border-color: rgba(219, 39, 119, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(219, 39, 119, 0.12);
}

.choose-card:hover .choose-icon-box {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--theme-color);
    box-shadow: 0 0 12px var(--theme-bg);
}

.choose-card:hover .choose-accent-line {
    width: 50px;
}

.choose-card:hover .choose-dots-pattern {
    opacity: 0.28;
    transform: scale(1.15) translate(-2px, -2px);
}

/* 8.5 Industries We Serve Section */
.industries-section {
    padding: 100px 0;
    background-color: var(--slate-light);
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.industries-sub {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 12px;
}

.industries-main-heading {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy-dark);
}

.purple-text {
    color: #8a1563;
    /* Deeper matching purple */
}

.industries-subtitle-text {
    font-size: 1.05rem;
    color: #55627a;
    /* slate/muted */
    line-height: 1.6;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    font-weight: 400;
    text-align: center;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.industry-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

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

.industry-icon-circle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.industry-card-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.industry-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.industry-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

.industries-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-industries-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid var(--slate-border);
    border-radius: 50px;
    background-color: var(--white);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-industries-view:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-industries-view i {
    transition: transform 0.3s;
}

.btn-industries-view:hover i {
    transform: translateX(4px);
}

/* Responsive grid for industries */
@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Workflow Section */
.workflow-section {
    padding: 100px 0;
    background-color: #faf9f6;
    /* Warm off-white background */
}

.workflow-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    text-align: center;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.workflow-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 70px auto;
}

.workflow-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.timeline-line {
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #2563eb, #84cc16, #d946ef, #06b6d4);
    /* Gradient connecting line */
    z-index: 1;
}

.workflow-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.workflow-step:hover .step-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--white);
    color: #64748b;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
}

/* Light background colored icon wraps with brand colored icons */
.bg-discover {
    background-color: #f2f6fa !important;
    color: var(--primary-blue) !important;
    border: 1px solid rgba(0, 72, 152, 0.08);
}

.bg-design {
    background-color: #fafbf2 !important;
    color: var(--vivid-green) !important;
    border: 1px solid rgba(179, 202, 6, 0.08);
}

.bg-integrate {
    background-color: #faf2fa !important;
    color: var(--accent-magenta) !important;
    border: 1px solid rgba(164, 2, 124, 0.08);
}

.bg-support {
    background-color: #f2fafc !important;
    color: var(--accent-teal) !important;
    border: 1px solid rgba(0, 158, 224, 0.08);
}

.workflow-step h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 6px;
    margin-top: 15px;
}

.step-tag {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.text-discover {
    color: var(--primary-blue);
}

.text-design {
    color: var(--vivid-green);
}

.text-integrate {
    color: var(--accent-magenta);
}

.text-support {
    color: var(--accent-teal);
}

.workflow-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 0 10px;
}

/* 10. Testimonials */
.testimonials-section {
    padding: 80px 0 100px;
    background-color: #f8fafc;
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 18px;
}

.testimonials-heading {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin: 0;
}

.test-arrow-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--navy-dark);
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.test-arrow-btn:hover {
    color: var(--primary-blue);
    transform: scale(1.18);
}

/* Dots */
.testimonials-dots-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.test-dot.active {
    background-color: var(--primary-blue);
    width: 26px;
    border-radius: 5px;
}

/* =========================================================
   CAROUSEL VIEWPORT — 5-slot, 3 always visible
========================================================= */

/* Clips the 2 hidden buffer slots */
.testimonials-viewport {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 80px 0 40px;
}

/* Stage: natural flex row — width driven by children */
.testimonials-stage {
    display: flex;
    align-items: flex-start;
    will-change: transform;
}

.testimonials-stage.animating {
    transition: transform 0.52s cubic-bezier(0.35, 0.9, 0.5, 1);
}

/* Each slot = exactly 1/3 of the viewport = 3 fill the screen */
.test-slot {
    flex: 0 0 33.333%;
    width: 33.333%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 18px;
    box-sizing: border-box;
    transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

/* Side slots: dimmed (no blur) */
.test-slot.side {
    opacity: 0.6;
    transform: scale(0.88);
}

/* Center slot: crystal clear, popped up a little */
.test-slot.center {
    opacity: 1;
    transform: scale(1.05);
}

/* Center slot icon gets a slight scale-up */
.test-slot.center .card-icon-wrap {
    transform: scale(1.1);
}


/* =========================================================
   TESTIMONIAL CARD (inside a slot)
========================================================= */

.testimonial-card {
    position: relative;
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

/* Blob backdrop */
.testimonial-card .card-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Lime */
.testimonial-card .card-backdrop.lime-bg {
    background-color: var(--vivid-green);
    border-radius: 40px 80px 30px 70px;
    transform: translate(-8px, 14px) rotate(-3deg);
}

/* Purple */
.testimonial-card .card-backdrop.purple-bg {
    background-color: var(--accent-magenta);
    border-radius: 70px 40px 80px 30px;
    transform: translate(4px, -8px) rotate(2deg);
}

/* Blue */
.testimonial-card .card-backdrop.blue-bg {
    background-color: var(--accent-teal);
    border-radius: 30px 70px 40px 80px;
    transform: translate(10px, 14px) rotate(4deg);
}

/* Floating Icon Circle */
.card-icon-wrap {
    position: relative;
    z-index: 10;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: -44px;
    border: 5px solid #f8fafc;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.13);
    flex-shrink: 0;
}

.card-icon-wrap.purple-icon {
    background-color: #ffffff;
    color: var(--accent-magenta);
}

.card-icon-wrap.lime-icon {
    background-color: #ffffff;
    color: var(--vivid-green);
}

.card-icon-wrap.blue-icon {
    background-color: #ffffff;
    color: var(--accent-teal);
}

/* Center slot icon gets a slight scale-up */
.test-slot.center .card-icon-wrap {
    transform: scale(1.1);
}

/* Card Body */
.testimonial-card .card-body {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 56px 28px 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    min-height: 370px;
}

/* Blob border-radii per color variant */
.testimonial-card .card-backdrop.lime-bg~.card-body,
.testimonial-card:has(.lime-bg) .card-body {
    border-radius: 40px 70px 30px 80px;
}

.testimonial-card .card-backdrop.purple-bg~.card-body,
.testimonial-card:has(.purple-bg) .card-body {
    border-radius: 60px 30px 70px 40px;
}

.testimonial-card .card-backdrop.blue-bg~.card-body,
.testimonial-card:has(.blue-bg) .card-body {
    border-radius: 30px 80px 40px 70px;
}

.test-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 10px;
}

.stars-row {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.test-text {
    color: var(--slate-gray);
    font-size: 0.89rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .test-slot {
        padding: 0 12px;
    }

    .testimonial-card {
        max-width: 340px;
    }
}

@media (max-width: 640px) {
    .testimonials-heading {
        font-size: 1.55rem;
    }

    .testimonials-header {
        gap: 16px;
    }

    /* On mobile show only center card */
    .test-slot.side {
        visibility: hidden;
        pointer-events: none;
    }

    .testimonial-card {
        max-width: 310px;
    }
}

/* 11. Newsletter Bar */

.newsletter-bar {
    background-color: var(--accent-teal);
    color: var(--white);
    padding: 40px 0;
}

.newsletter-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.news-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.news-brand-text h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.news-brand-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-form-wrapper {
    flex: 1;
    max-width: 500px;
}

.news-input-group {
    display: flex;
    background-color: var(--white);
    border-radius: 30px;
    padding: 6px;
}

.news-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.news-submit-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--vivid-green);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.news-submit-btn:hover {
    transform: rotate(45deg);
    background-color: #16a34a;
}

.news-checkbox-row {
    margin-top: 12px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.checkbox-container:hover input~.checkbox-checkmark {
    background-color: rgba(255, 255, 255, 0.25);
}

.checkbox-container input:checked~.checkbox-checkmark {
    background-color: var(--vivid-green);
    border-color: var(--vivid-green);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkbox-checkmark:after {
    display: block;
}

.checkbox-container .checkbox-checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: stroke var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    border-style: solid;
}

.checkbox-container a {
    color: var(--white);
    text-decoration: underline;
}

.news-socials {
    display: flex;
    gap: 16px;
}

.news-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.news-socials a:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* 12. Main Footer */
.main-footer {
    background-color: var(--navy-deep);
    color: var(--white);
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.4fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: none;
}

.footer-brand-col .logo {
    margin-bottom: 20px;
}

.footer-brand-col .logo-text {
    color: var(--white);
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 260px;
}

/* Mascot details styling */
.mascot-container {
    display: inline-block;
}

.mascot-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.mascot-badge:hover {
    border-color: var(--accent-teal);
    background: rgba(6, 182, 212, 0.04);
}

.mascot-svg {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.mascot-name {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--accent-teal);
    background: rgba(6, 182, 212, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 12px;
}

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

.footer-links-col a:hover {
    color: var(--accent-teal);
    padding-left: 4px;
}

.footer-contact-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.contact-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-location-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 20px 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-location-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.other-cities {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-teal);
    margin-top: 16px;
}

.footer-bottom {
    padding-top: 24px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.policy-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: var(--transition);
}

.policy-links a:hover {
    color: var(--accent-teal);
}

/* 13. Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .workplace-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }

    .timeline-line {
        display: none;
    }

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

    .newsletter-flex {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--slate-border);
        padding: 20px 24px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }

    .header-actions {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .floating-card {
        width: 100px;
        padding: 10px;
    }

    .svg-product {
        width: 60px;
    }

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

    .choose-grid {
        grid-template-columns: 1fr;
    }

    .workflow-timeline {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================================
   HERO SECTION — Subtitle & CTA Buttons
   ============================================================ */
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 20px;
    margin-bottom: 36px;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    line-height: 1.6;
    text-align: center;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 14px 32px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    letter-spacing: 0.3px;
}

.btn-hero-primary:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.3s, border-color 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   CONTACT US MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 40, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin: 0 0 4px 0;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--slate-gray);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--slate-gray);
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.modal-close:hover {
    color: var(--navy-dark);
}

.contact-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-label .req {
    color: #e53e3e;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}

.input-wrap:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(24, 96, 177, 0.12);
    background: #fff;
}

.input-wrap i {
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.input-wrap input,
.input-wrap textarea {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.92rem;
    color: var(--navy-dark);
    width: 100%;
    font-family: var(--font-body);
    resize: none;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
    color: #b0bec5;
}

.textarea-wrap {
    align-items: flex-start;
}

.textarea-wrap i {
    margin-top: 3px;
}

/* Fake reCAPTCHA */
.recaptcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    background: #f8fafc;
}

.captcha-check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.captcha-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.captcha-label {
    font-size: 0.95rem;
    color: var(--navy-dark);
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.captcha-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid #4285f4;
    border-right: 3px solid #ea4335;
    border-bottom: 3px solid #34a853;
    border-left: 3px solid #fbbc05;
}

.captcha-logo span {
    font-size: 0.65rem;
    color: #5f6368;
    font-weight: 600;
}

.captcha-logo small {
    font-size: 0.6rem;
    color: #9aa0a6;
}

.btn-modal-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 4px;
}

.btn-modal-submit:hover {
    background: #1452a8;
    transform: translateY(-1px);
}

@media (max-width: 540px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-box {
        padding: 24px 18px;
    }
}

/* ============================================================
   FLOATING CHAT FAB
   ============================================================ */
.chat-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1860b1 0%, #7c3aed 100%);
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9990;
    box-shadow: 0 6px 24px rgba(24, 96, 177, 0.4);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: fabPulse 2.5s infinite;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(24, 96, 177, 0.5);
}

@keyframes fabPulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(24, 96, 177, 0.4);
    }

    50% {
        box-shadow: 0 6px 32px rgba(124, 58, 237, 0.55);
    }
}

/* ============================================================
   CHATBOT POPUP
   ============================================================ */
.chatbot-popup {
    position: fixed;
    bottom: 104px;
    right: 32px;
    width: 360px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    z-index: 9991;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.chatbot-popup.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #1860b1 0%, #7c3aed 100%);
    color: #ffffff;
}

.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.chatbot-title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chatbot-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.chatbot-status {
    font-size: 0.78rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.chatbot-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.chatbot-close:hover {
    color: #fff;
}

.chatbot-messages {
    flex: 1;
    max-height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.chat-msg {
    display: flex;
}

.chat-bubble {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px 14px 14px 4px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--navy-dark);
    line-height: 1.5;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-msg.user .chat-bubble {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: transparent;
    border-radius: 14px 14px 4px 14px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.quick-reply {
    padding: 7px 14px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 50px;
    background: #fff;
    color: var(--primary-blue);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: var(--font-heading);
}

.quick-reply:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.chatbot-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.chatbot-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 9px 14px;
    font-size: 0.88rem;
    outline: none;
    font-family: var(--font-body);
    color: var(--navy-dark);
    transition: border-color 0.2s;
}

.chatbot-input:focus {
    border-color: var(--primary-blue);
}

.chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.chatbot-send:hover {
    background: #1452a8;
    transform: scale(1.08);
}

.chatbot-disclaimer {
    padding: 8px 14px;
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    background: #fff;
    margin: 0;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 480px) {
    .chatbot-popup {
        width: calc(100vw - 32px);
        right: 16px;
    }

    .chat-fab {
        right: 16px;
        bottom: 24px;
    }
}

/* ============================================================
   SOLUTIONS SUBPAGES
   ============================================================ */
.sol-hero {
    background: linear-gradient(135deg, #0b1228 0%, #172a53 100%);
    color: #ffffff;
    padding: 100px 0 80px 0;
    margin-top: 0;
    /* Offset for sticky nav removed */
    position: relative;
    overflow: hidden;
}

.sol-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(24, 96, 177, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.sol-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sol-hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.sol-hero-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0;
    max-width: 650px;
}

.sol-hero-img-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sol-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Solutions Subpage Content Grid */
.sol-content-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.sol-section-title-wrap {
    margin-bottom: 40px;
}

.sol-section-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin: 0;
}

/* Filter Navigation Tabs */
.sol-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.sol-filter-btn {
    padding: 10px 24px;
    border: 1.5px solid var(--slate-border);
    border-radius: 50px;
    background-color: var(--white);
    color: var(--slate-gray);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.sol-filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.sol-filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 15px rgba(24, 96, 177, 0.2);
}

/* Dynamic Cards Grid */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Three-card layout variation when needed */
.sol-grid.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.sol-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--slate-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: cardFadeIn 0.5s ease both;
}

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

.sol-card.hidden {
    display: none;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.sol-card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.sol-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sol-card:hover .sol-card-img {
    transform: scale(1.05);
}

.sol-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sol-card-tag {
    align-self: flex-start;
    padding: 4px 12px;
    background-color: #f1f5f9;
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.sol-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sol-card-body p {
    font-size: 0.88rem;
    color: var(--slate-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sol-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.sol-card-btn:hover {
    gap: 10px;
}

.sol-card-btn i {
    transition: transform 0.2s;
}

.sol-card-btn:hover i {
    transform: translateX(2px);
}

/* Solution Subpage Section Dividers */
.sol-section-divider {
    height: 1px;
    background-color: var(--slate-border);
    margin: 40px 0 60px 0;
}

/* Responsive Solution Layouts */
@media (max-width: 1200px) {

    .sol-grid,
    .sol-grid.grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sol-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sol-hero-text {
        text-align: center;
    }

    .sol-hero-text p {
        margin: 0 auto;
    }

    .sol-hero-img-wrap {
        max-width: 500px;
        margin: 0 auto;
    }

    .sol-grid,
    .sol-grid.grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sol-hero-text h1 {
        font-size: 2.6rem;
    }

    .sol-filters-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {

    .sol-grid,
    .sol-grid.grid-3-col {
        grid-template-columns: 1fr;
    }

    .sol-card-img-wrap {
        height: 200px;
    }
}

/* ============================================================
   HEADER DROPDOWN MENU
   ============================================================ */
.nav-menu ul li.dropdown {
    position: relative;
    padding-right: 5px;
}

.nav-menu ul li.dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-menu ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 12px;
    width: 440px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    color: var(--navy-dark) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: background 0.2s, color 0.2s !important;
    border-bottom: none !important;
    text-transform: none !important;
}

.dropdown-menu li a:hover {
    background-color: #f1f5f9;
    color: var(--primary-blue) !important;
}

/* Beautiful custom solutions items */
.dropdown-menu li a.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    background: transparent !important;
    text-decoration: none !important;
}

.dropdown-menu li a.dropdown-item:hover {
    background-color: #f8fafc !important;
}

.dropdown-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #eff6ff;
    /* light blue */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.dropdown-icon-circle i {
    color: #2563eb;
    /* royal blue */
    font-size: 1.15rem;
}

.dropdown-menu li a.dropdown-item:hover .dropdown-icon-circle {
    background-color: #dbeafe;
    /* deeper blue */
    transform: scale(1.05);
}

.dropdown-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.dropdown-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a !important;
    /* slate-900 */
    transition: color 0.22s ease;
    display: block;
}

.dropdown-menu li a.dropdown-item:hover .dropdown-title {
    color: #2563eb !important;
    /* highlight blue on hover */
}

.dropdown-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.82rem;
    font-weight: 400;
    color: #64748b !important;
    /* slate-500 */
    line-height: 1.35;
    display: block;
}

/* Mobile responsive styling for dropdown menu */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 8px 0 0 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        gap: 4px !important;
        background-color: transparent !important;
    }

    .nav-menu ul li.dropdown:hover .dropdown-menu {
        display: flex !important;
    }

    .dropdown-menu li a.dropdown-item {
        padding: 8px 10px !important;
        gap: 12px !important;
        border-radius: 8px !important;
    }

    .dropdown-icon-circle {
        width: 38px !important;
        height: 38px !important;
    }

    .dropdown-icon-circle i {
        font-size: 0.95rem !important;
    }

    .dropdown-title {
        font-size: 0.88rem !important;
    }

    .dropdown-desc {
        font-size: 0.74rem !important;
    }
}

/* Category header styling for subpages */
.sol-category-header {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 24px;
    margin-top: 10px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    animation: cardFadeIn 0.4s ease both;
}

/* Subpage Header overrides (to show dark text on solid white background) */
.subpage-header {
    position: sticky;
    top: 0;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding: 16px 0;
    z-index: 1000;
}

.subpage-header .nav-menu a {
    color: var(--navy-dark) !important;
}

.subpage-header .nav-menu a:hover,
.subpage-header .nav-menu a.active {
    color: var(--primary-blue) !important;
    font-weight: 700;
}

.subpage-header .btn-contact-nav {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-blue) !important;
}

.subpage-header .btn-contact-nav:hover {
    background-color: var(--navy-dark) !important;
    border-color: var(--navy-dark) !important;
}

.subpage-header .mobile-nav-toggle {
    color: var(--navy-dark) !important;
}

/* ============================================================
   SPECIFICATIONS MODAL — CODED CARD
   ============================================================ */
.spec-modal-box {
    background: #fff;
    width: 95%;
    max-width: 820px;
    margin: auto;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Close × button — top-right corner */
.spec-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, transform 0.15s;
}

.spec-modal-close-btn:hover {
    background: #f1f5f9;
    transform: scale(1.08);
}

/* Hero image at top */
.spec-modal-hero {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Scrollable content body */
.spec-modal-content {
    padding: 24px 28px 0;
    overflow-y: auto;
    flex: 1;
}

/* Title + tag row */
.spec-modal-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.spec-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.spec-modal-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

/* Description */
.spec-modal-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Bullet list */
.spec-modal-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.spec-modal-bullets li {
    font-size: 0.88rem;
    color: #334155;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.spec-modal-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}

/* Divider */
.spec-modal-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0;
}

/* Footer CTA bar */
.spec-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
    background: #fff;
    flex-shrink: 0;
}

.spec-modal-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-modal-footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1rem;
    flex-shrink: 0;
}

.spec-modal-footer-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.spec-modal-footer-text small {
    font-size: 0.78rem;
    color: #64748b;
}

.spec-modal-quote-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    flex-shrink: 0;
}

.spec-modal-quote-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Solution name read-only field in contact form */
.solution-prefill-field {
    background: #f8fafc !important;
    border-color: #c7d2fe !important;
    color: #4f46e5 !important;
    font-weight: 600;
    cursor: default;
}


/* ============================================================
   MASCOT & CERTIFICATES FOOTER
   ============================================================ */
.footer-mascot-img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    display: block;
    max-height: 220px;
    object-fit: contain;
}

.footer-divider-section {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.footer-divider-text {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background-color: #001026;
    /* Matches --navy-deep background color */
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
}

.footer-certificates {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

.footer-certificates img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   TECH PARTNERS PAGE STYLES
   ============================================================ */

.partners-page-body {
    background-color: #030914;
    color: #ffffff;
}

/* Experience Center Section */
.exp-center-section {
    padding: 100px 0;
    background-color: #030914;
    text-align: center;
    position: relative;
}

.exp-center-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.exp-center-title span {
    background: linear-gradient(135deg, #ffffff 40%, #bca5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exp-center-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.exp-center-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .exp-center-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .exp-center-grid {
        grid-template-columns: 1fr;
    }

    .exp-center-title {
        font-size: 2.2rem;
    }
}

/* Dynamic Hover Cards (Fade Transition) */
.experience-card-link {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    background-color: #070c17;
}

.experience-card-link:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
}

.experience-card-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.experience-card-normal {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-card-link:hover .experience-card-hover {
    opacity: 1;
}

.experience-card-link:hover .experience-card-normal,
.experience-card-link:hover .experience-card-hover {
    transform: scale(1.03);
}


/* Tech Partners Logos (Frame 3) */
.tech-partners-logos-section {
    padding: 80px 0;
    background-color: #000c20;
    text-align: center;
}

.tech-partners-logos-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-partners-logos-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Why Our Partnerships Matter (Frame 4) */
.why-partnerships-section {
    padding: 100px 0;
    background-color: #030914;
    text-align: center;
}

.why-partnerships-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.why-partnerships-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.why-partnerships-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .why-partnerships-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-partnerships-grid {
        grid-template-columns: 1fr;
    }

    .why-partnerships-title {
        font-size: 2rem;
    }
}

.partnership-feature-card {
    background-color: #070c17;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partnership-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.partnership-feature-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #3b82f6;
    font-size: 1.25rem;
}

.partnership-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.partnership-feature-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Product Enquiry Section (Frame 5) */
.enquiry-section {
    padding: 60px 0;
    background-color: #050b14;
}

.enquiry-container-card {
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
    /* White background for the form side */
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .enquiry-container-card {
        flex-direction: column;
    }
}

.enquiry-left-info {
    flex: 1;
    background-color: #071126;
    /* Dark navy */
    padding: 45px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767px) {
    .enquiry-left-info {
        padding: 30px 24px;
    }
}

.enquiry-badge {
    align-self: flex-start;
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.enquiry-left-info h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.enquiry-left-info p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.enquiry-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.enquiry-bullets-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.enquiry-bullets-list li i {
    color: #3b82f6;
    font-size: 1rem;
}

.enquiry-right-form {
    flex: 1.1;
    padding: 45px;
    background-color: #ffffff;
    color: #0f172a;
}

@media (max-width: 767px) {
    .enquiry-right-form {
        padding: 30px 24px;
    }
}

.enquiry-right-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #071126;
    margin-bottom: 20px;
}

.enquiry-right-form .form-group {
    margin-bottom: 16px;
}

.enquiry-right-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .enquiry-right-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enquiry-right-form .form-row .form-group {
        margin-bottom: 16px;
    }
}

.enquiry-right-form .form-group.full {
    grid-column: span 2;
}

.enquiry-right-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.enquiry-right-form .form-label .req {
    color: #ef4444;
}

.enquiry-right-form textarea {
    min-height: 90px;
}

.enquiry-right-form .recaptcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.enquiry-right-form .captcha-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.enquiry-right-form .captcha-check input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.enquiry-right-form .captcha-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.enquiry-right-form .captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
    color: #64748b;
    line-height: 1.2;
}

.enquiry-right-form .captcha-logo span {
    font-weight: 700;
    font-size: 0.65rem;
    margin-top: 2px;
}

.enquiry-right-form .btn-submit-enquiry {
    width: 100%;
    padding: 14px;
    background-color: #071126;
    /* Dark navy */
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.enquiry-right-form .btn-submit-enquiry:hover {
    background-color: #1e293b;
}

.enquiry-right-form .btn-submit-enquiry:active {
    transform: scale(0.98);
}

.enquiry-right-form .privacy-note {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.4;
}

.enquiry-right-form .privacy-note a {
    color: #3b82f6;
    text-decoration: none;
}

.enquiry-right-form .privacy-note a:hover {
    text-decoration: underline;
}

/* ============================================================
   PRIVACY POLICY & TERMS MODALS STYLING
   ============================================================ */
.policy-modal-box {
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.policy-modal-box .modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.policy-modal-content {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f1f5f9;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.policy-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.policy-card-text {
    flex-grow: 1;
}

.policy-card-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0 !important;
}

.policy-card-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 !important;
}

.btn-policy-contact {
    margin-top: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}

.btn-policy-contact:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}