/* =====================
   home CSS - Cleaned Version
===================== */
:root {
    --bg: #0b0b0d;
    --fg: #e9e9ee;
    --muted: #b8b8c6;
    --brand: #3b82f6;
    --border: #1b1b20;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: Inter, system-ui, Arial;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Removed conflicting padding-top - header.css will handle this */
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto
}

/* =====================
   ANIMATION KEYFRAMES
===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes floating {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 1px 0 rgba(0, 0, 0, .10), 0 6px 20px rgba(0, 0, 0, .18);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 2px 0 rgba(0, 0, 0, .15), 0 8px 25px rgba(0, 0, 0, .25);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes cardGlow {

    0%,
    100% {
        box-shadow:
            0 1px 0 rgba(0, 0, 0, .03),
            0 12px 28px rgba(0, 0, 0, .05);
    }

    50% {
        box-shadow:
            0 2px 0 rgba(59, 130, 246, .1),
            0 15px 35px rgba(59, 130, 246, .08);
    }
}

/* =====================
   ANIMATION CLASSES
===================== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-scale {
    animation: fadeInScale 0.9s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.slide-in-bottom {
    animation: slideInBottom 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.svc-grid.stagger-animation > *{
  opacity: 1;                                    /* ensure visible by default */
  animation: fadeInUp .6s ease-out forwards;     /* keep the animation */
}

.stagger-animation>* {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stagger-animation>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animation>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animation>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-animation>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Page-specific Buttons (non-header) */
.hero .btn,
.platform .btn,
.cta-section .btn {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #15151a;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.hero .btn::before,
.platform .btn::before,
.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.5s;
}

.hero .btn:hover::before,
.platform .btn:hover::before,
.cta-section .btn:hover::before {
    left: 100%;
}

.hero .btn.primary,
.platform .btn.primary,
.cta-section .btn.primary {
    background: linear-gradient(135deg, var(--brand), #2563eb);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero .btn.ghost,
.platform .btn.ghost,
.cta-section .btn.ghost {
    background: transparent;
    border-color: #2b2b33;
    color: var(--fg);
    backdrop-filter: blur(10px);
}

.hero .btn:hover,
.platform .btn:hover,
.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero .btn.primary:hover,
.platform .btn.primary:hover,
.cta-section .btn.primary:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.floating-btn {
    animation: floating 3s ease-in-out infinite;
}

.pulse-btn {
    animation: pulse 2s ease-in-out infinite;
}

/* =====================
   Hero Section - Adjusted for fixed header
===================== */
.hero {
    position: relative;
    padding: 120px 0 40px;
    /* Increased top padding to account for fixed header */
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px
}

.hero-copy {
    max-width: 860px;
    margin: 0 auto
}

.hero-title {
    font-size: clamp(28px, 5vw, 42px);
    margin: 0 0 8px;
    background: linear-gradient(135deg, var(--fg), var(--muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.2;
}

.hero-intro {
    color: var(--muted);
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.6;
}

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

.hero-media {
    position: relative;
    width: 85%;
    max-width: 900px;
    margin-inline: auto;
}

.screen {
    position: relative;
    height: clamp(380px, 40vw, 560px);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screen:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform 0.3s ease;
}

.screen:hover video {
    transform: scale(1.05);
}

/* Enhanced background glow */
.bg-gradient {
    position: absolute;
    inset: -15% -15% auto -15%;
    height: 80%;
    background:
        radial-gradient(60% 60% at 70% 30%, rgba(59, 130, 246, .3), transparent 60%),
        radial-gradient(40% 40% at 10% 70%, rgba(168, 85, 247, .25), transparent 60%);
    z-index: -1;
    animation: floating 8s ease-in-out infinite;
    filter: blur(1px);
}

/* =====================
   Logos
===================== */
:root {
    --logos-speed: 28s;
}

.logos-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: var(--bg);
}

.logos-viewport {
    width: min(1200px, 92%);
    margin-inline: auto;
    overflow: hidden;
    position: relative
}

.logos-viewport::before,
.logos-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.logos-viewport::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), rgba(11, 11, 13, 0))
}

.logos-viewport::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), rgba(11, 11, 13, 0))
}

.logos-track {
    display: flex;
    width: 200%;
    animation: logos-scroll var(--logos-speed) linear infinite;
    will-change: transform
}

.logos-track:hover {
    animation-play-state: paused;
}

.logos-set {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding: 0 24px
}

.logos-wrap img {
    height: 40px;
    opacity: 1 !important;
    filter: none !important; 
    user-select: none;
    pointer-events: none;
    transition: all 0.3s ease;
    transition: transform .3s ease, filter .3s ease, opacity .3s ease;
}

.logos-wrap img:hover {
    opacity: 1 !important;
    filter: brightness(1.15) saturate(1.1);
    transform: scale(1.1);
    
}

@keyframes logos-scroll {
    from {
        transform: translateX(0)
    }

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

/* =====================
   Bands
===================== */
/* Black & White Theme Styles */

.band-light {
    background: #ffffff;
    color: #000000;
    padding: 30px 0;
    position: relative;
}

.band-light-2 {
    background: #ffffff;
    color: #000000;
    padding: 20px 0;
    position: relative;
}

.band-dark {
    background: #000000;
    color: #ffffff;
    padding: 60px 0;
    position: relative;
}

.section-head {
    margin-bottom: 40px;
    text-align: center;
}

.h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin: 0 0 16px;
    color: #000000;
    font-weight: 800;
}

.lead {
    margin: 0;
    color: #666666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced Panel-hero - Black & White */
.panel-hero {
    position: relative;
    height: clamp(480px, 36vw, 760px);
    border-radius: 24px;
    overflow: hidden;
    background: #000000;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-hero:hover {
    transform: translateY(-1px);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, .4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.panel-hero .cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    transition: transform 0.3s ease;
}

.panel-hero:hover .cover {
    transform: scale(1.05);
}

.panel-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .60) 26%,
            rgba(0, 0, 0, .25) 48%,
            rgba(0, 0, 0, 0) 66%);
}

.panel-hero .copy {
    position: absolute;
    left: 40px;
    top: 40px;
    right: auto;
    bottom: 40px;
    z-index: 2;
    max-width: 560px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-hero .copy h3 {
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(28px, 4vw, 48px);
    color: #ffffff;
}

.panel-hero .copy p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.5;
    font-size: 16px;
}

.panel-hero .copy .chip {
    margin-top: auto;
    align-self: flex-start;
}

/* Services Title - Black & White */
.services-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    margin: 10px 0 60px;
    color: #000000;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #000000;
    border-radius: 2px;
}

/* Enhanced Cards Grid */
.cards {
    display: grid;
    gap: 32px;
}

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

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

/* Black & White Card Styling */
.card {
    border-radius: 24px;
    padding: 2px 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* display: flex; */
    flex-direction: column;
    height: 100%;
    min-height: 450px;
    background: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: #333333;
}

/* Card Content */
.card-title {
    font-size: 28px;
    font-weight: 800;
    padding: 0;
    color: #000000;
    line-height: 1.2;
}

.card-sub {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    flex-grow: 1;
}

/* Clickable Image Thumb */
.thumb {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 20px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.thumb:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumb:hover::before {
    opacity: 1;
}

.thumb img {
    width: 100%;
    max-width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.thumb:hover img {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
}

/* Enhanced Chip Styling - Black & White */
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    text-decoration: none;
    cursor: pointer;
}

.chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    transition: left 0.6s ease;
}

.chip:hover::before {
    left: 100%;
}

.slide-chip:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.chip-light {
    background: #ffffff;
    border: 2px solid #000000;
    color: #000000;
}

.chip-light:hover {
    background: #4d4949;
    color: #ffffff;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards;
}

.stagger-animation .card:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation .card:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation .card:nth-child(3) {
    animation-delay: 0.3s;
}

.hover-lift {
    margin-top: 8px;
}

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

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .panel-hero .copy {
        left: 20px;
        right: 20px;
        top: 20px;
        bottom: 20px;
        max-width: none;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 24px;
        min-height: 400px;
    }

    .thumb {
        min-height: 150px;
        padding: 15px;
    }

    .thumb img {
        height: 120px;
    }
}

/* =====================
   Services Grid
===================== */


/* =====================
   Services Grid
===================== */
.services .services-title {
    color: #0f172a;
}

.svc-grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 48px 56px;
    justify-items: center;
}

.svc-card {
    width: 220px;
    max-width: 100%;
    padding: 24px 18px;
    border-radius: 20px;
    text-align: center;
    color: #0f172a;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.service-float {
    animation: floating 4s ease-in-out infinite;
}

.service-float:nth-child(even) {
    animation-delay: -2s;
}

.svc-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    display: block;
    object-fit: contain;
    opacity: .9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.svc-title {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.svc-card:hover,
.svc-card:focus-visible {
    background: black;
    color: #fff;
    box-shadow:
        0 20px 50px rgba(30, 144, 255, .3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.svc-card:hover .svc-icon,
.svc-card:focus-visible .svc-icon {
    filter: invert(1) brightness(2);
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
}

.svc-card:hover .svc-title,
.svc-card:focus-visible .svc-title {
    transform: translateY(-3px);
}

.svc-card.is-active {
    background: linear-gradient(145deg, var(--brand), #2563eb);
    color: #fff;
    box-shadow:
        0 15px 35px rgba(59, 130, 246, .4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateY(-5px);
}

.svc-card.is-active .svc-icon {
    filter: invert(1) brightness(2);
    opacity: 1;
}

/* =====================
   Tap Banner
===================== */
.tap .panel-split {
    position: relative;
    display: block;
    height: clamp(400px, 44vw, 600px);
    border-radius: 24px;
    overflow: hidden;
    background: #0d0f12;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tap .panel-split:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.tap .split-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tap .split-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 70% center;
    transition: transform 0.3s ease;
}

.tap .panel-split:hover .split-media img {
    transform: scale(1.05);
}

.tap .panel-split::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .60) 30%,
            rgba(0, 0, 0, .25) 55%,
            rgba(0, 0, 0, 0) 75%);
}

.tap .split-copy {
    position: relative;
    z-index: 3;
    max-width: 560px;
    padding: 50px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
}

.tap .split-copy h3 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    font-weight: 800;
}

.tap .split-copy p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.6;
}

.tap .split-copy .chip {
    margin-top: auto;
    align-self: flex-start;
}

/* =====================
   Cases Slider
===================== */
:root {
    --cases-speed: 36s;
}

.cases-wrap {
    position: relative;
    overflow: hidden;
    padding-block: 8px;
    margin-top: 20px;
}

.cases-wrap::before,
.cases-wrap::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 80px;
    pointer-events: none;
    background: linear-gradient(to right, #f3f4f6, rgba(243, 244, 246, 0));
    z-index: 2;
}

.cases-wrap::after {
    inset: 0 0 0 auto;
    background: linear-gradient(to left, #f3f4f6, rgba(243, 244, 246, 0));
}

.cases-track {
    display: flex;
    width: 200%;
    animation: cases-scroll var(--cases-speed) linear infinite;
    will-change: transform;
}

.cases-wrap:hover .cases-track {
    animation-play-state: paused;
}

.cases-set {
    flex: 0 0 50%;
    display: flex;
    gap: 20px;
}

.case {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 280px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e6e7eb;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, .08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
}

.hover-zoom:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    border-color: rgba(59, 130, 246, 0.3);
}

.case img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.case::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .7),
            rgba(0, 0, 0, .3) 60%,
            rgba(0, 0, 0, 0));
}

.case-meta {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .2em;
    font-size: 13px;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
    transition: all 0.3s ease;
}

.hover-zoom:hover .case-meta {
    transform: translateY(-3px);
    letter-spacing: .25em;
}

@keyframes cases-scroll {
    from {
        transform: translateX(0);
    }

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

/* =====================
   Icon Row
===================== */
.icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    padding-bottom: 8px;
    list-style: none;
    padding-left: 0;
}

.icon-row li {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    border: 1px solid #eef0f3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.icon-row img {
    max-height: 36px;
    max-width: 44px;
}

/* =====================
   Dark Card Variant
===================== */
.card-dark {
    background: #0b0b0d;
    color: #e9e9ee;
    border-color: #1b1b20;
    display: flex;
    align-items: center;
    gap: 18px;
}

.card-dark .dark-copy h3 {
    margin: 0 0 8px;
    color: #e9e9ee;
}

.card-dark .portrait {
    max-height: 220px;
    border-radius: 12px;
    margin-left: auto;
}

/* =====================
   Responsive Design
===================== */
@media (max-width: 1200px) {
    .svc-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 40px 32px;
    }
}

@media (max-width: 1024px) {
    .cards-3 {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 24px;
    }

    .platform .card .thumb img {
        height: 140px;
    }
}

@media (max-width: 980px) {
    .hero-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .svc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .svc-card {
        width: 200px;
    }

    .case {
        width: 240px;
        height: 340px;
    }
}

@media (max-width: 900px) {
    .cards-3 {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        gap: 20px;
    }

    .card {
        padding: 24px;
        min-height: 380px;
    }

    .card-title {
        font-size: 24px;
    }

    .platform .card .thumb {
        min-height: 140px;
        max-height: 140px;
    }

    .platform .card .thumb img {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .h2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .panel-hero .copy,
    .tap .split-copy {
        padding: 32px;
    }

    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .svc-card {
        width: 180px;
    }
}

@media (max-width: 720px) {
    .cards-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 30px;
    }

    .cta-row {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .case {
        width: 220px;
        height: 320px;
    }

    body {
        padding-top: 56px;
    }
}

@media (max-width: 520px) {
    .cards-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        margin: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .logos-track,
    .cases-track {
        animation: none;
    }

    .floating-btn,
    .service-float,
    .pulse-btn {
        animation: none;
    }

    .fade-in-up,
    .fade-in-scale,
    .slide-in-bottom {
        animation: none;
        opacity: 1;
    }

    .stagger-animation>* {
        animation: none;
        opacity: 1;
    }
}

/* =====================
   ENHANCED HERO ANIMATIONS & EFFECTS
===================== */

/* Enhanced background effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -2;
}

.bg-gradient-primary {
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: 20%;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168, 85, 247, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(16, 185, 129, 0.08), transparent 50%);
    animation: hero-bg-float 12s ease-in-out infinite alternate;
    filter: blur(1px);
}

.bg-gradient-secondary {
    position: absolute;
    top: 30%;
    left: -30%;
    right: -30%;
    bottom: -30%;
    background:
        radial-gradient(ellipse 70% 40% at 30% 70%, rgba(236, 72, 153, 0.1), transparent 60%),
        radial-gradient(ellipse 50% 30% at 90% 80%, rgba(59, 130, 246, 0.08), transparent 50%);
    animation: hero-bg-float 15s ease-in-out infinite alternate-reverse;
    filter: blur(2px);
}

/* Floating particles */
.floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: -3s;
    animation-duration: 10s;
    background: rgba(168, 85, 247, 0.6);
}

.particle-3 {
    top: 80%;
    left: 20%;
    animation-delay: -6s;
    animation-duration: 14s;
    background: rgba(16, 185, 129, 0.6);
}

.particle-4 {
    top: 30%;
    left: 70%;
    animation-delay: -9s;
    animation-duration: 11s;
}

.particle-5 {
    top: 50%;
    left: 40%;
    animation-delay: -12s;
    animation-duration: 13s;
    background: rgba(236, 72, 153, 0.6);
}

/* Enhanced hero animations */
@keyframes hero-bg-float {

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

    50% {
        transform: translateY(-20px) rotate(2deg) scale(1.05);
    }
}

@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
        opacity: 1;
    }

    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 0.6;
    }
}

/* Enhanced text animations */
.hero-fade-in-up {
    animation: hero-fade-up 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(60px);
}






/* Make each line paint its own gradient and fail safe to white */
.hero-title .text-line{
  background: linear-gradient(135deg,
    #ffffff 0%,
    /* rgba(59,130,246,0.9) 30%, */
    /* rgba(168,85,247,0.8) 70%, */
    #ffffff 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: #fff;                  /* fallback if clip not supported */
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.2;
  animation: gradient-shift 6s ease-in-out infinite; /* reuse your keyframes */
}

/* Keep the reveal working */
.hero-text-reveal .text-line{
  opacity: 0;
  animation: text-reveal .8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.hero-text-reveal .text-line:nth-child(1){ animation-delay: .3s; }
.hero-text-reveal .text-line:nth-child(2){ animation-delay: .5s; }













/* .hero-text-reveal .text-line {
    display: block;
    opacity: 0;
    animation: text-reveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-text-reveal .text-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-text-reveal .text-line:nth-child(2) {
    animation-delay: 0.5s;
} */

.hero-text-fade-in {
    animation: text-fade-in 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-buttons-slide-up {
    animation: buttons-slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes text-reveal {
    to {
        opacity: 1;
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
    }
}

@keyframes buttons-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced video section */
.hero-scale-in {
    animation: hero-scale-in 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

@keyframes hero-scale-in {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.enhanced-screen {
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(168, 85, 247, 0.3), rgba(16, 185, 129, 0.4)) border-box;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 100px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   
}

.enhanced-screen:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 35px 120px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 150px rgba(59, 130, 246, 0.2);
}

/* Video overlay effects */
.video-overlay-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        linear-gradient(45deg, rgba(168, 85, 247, 0.03) 70%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.video-glow-effect {
    position: absolute;
    inset: -20px;
    background:
        radial-gradient(ellipse 100% 60% at 50% 50%, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite alternate;
    filter: blur(20px);
    opacity: 0.6;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Animated border */
.screen-border-animation {
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg,
            transparent,
            rgba(59, 130, 246, 0.8),
            transparent,
            rgba(168, 85, 247, 0.6),
            transparent);
    background-size: 300% 300%;
    animation: border-animate 6s ease-in-out infinite;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-screen:hover .screen-border-animation {
    opacity: 1;
}

@keyframes border-animate {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Video decorative elements */
.video-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.decoration-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    animation: orb-float 8s ease-in-out infinite;
    filter: blur(1px);
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 60px;
    height: 60px;
    bottom: -15%;
    left: -5%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%);
    animation-delay: -3s;
    animation-duration: 10s;
}

.orb-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -15%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    animation-delay: -6s;
    animation-duration: 12s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
    }

    66% {
        transform: translateY(10px) translateX(-15px) scale(0.9);
    }
}

/* Enhanced button effects */
.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover:hover {
    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2);
}

.btn-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.glow-on-hover:hover .btn-shimmer {
    transform: translateX(100%);
}

.glass-morphism {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-morphism:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1);
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.glass-morphism:hover .btn-arrow {
    transform: translateX(4px);
}

/* Enhanced logos section */
.enhanced-logos-slide {
    animation: logos-fade-in 0.8s ease-out 1.8s forwards;
    opacity: 0;
}

.logo-item {
    padding: 12px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    filter: grayscale(0) brightness(1.2);
}



.logo-item img {
    transition: all 0.3s ease;
    max-height: 36px;
}

.logo-item:hover img {
    filter: grayscale(0) brightness(1.2);
}

@keyframes logos-fade-in {
    to {
        opacity: 1;
    }
}

/* Enhanced title styling */
.hero-title {
    background: linear-gradient(135deg,
            #ffffff 0%,
            rgba(59, 130, 246, 0.9) 30%,
            rgba(168, 85, 247, 0.8) 70%,
            #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 6s ease-in-out infinite;
    position: relative;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-bg-effects {
        display: none;
        /* Reduce complexity on mobile */
    }

    .floating-particles {
        display: none;
    }

    .video-decorations {
        display: none;
    }

    .particle {
        width: 2px;
        height: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-fade-in-up,
    .hero-scale-in,
    .hero-text-reveal .text-line,
    .hero-text-fade-in,
    .hero-buttons-slide-up,
    .enhanced-logos-slide {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .bg-gradient-primary,
    .bg-gradient-secondary,
    .particle,
    .video-glow-effect,
    .screen-border-animation,
    .decoration-orb {
        animation: none;
    }

    .hero-title {
        animation: none;
        background: linear-gradient(135deg, var(--fg), var(--muted));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}






































.why-choose-section {
    background: #000000;
    padding: 10px 0;
    color: white;
    position: relative;
}



.section-titlewcc {
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 32px !important;
    color: rgb(255, 255, 255) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.section-descriptionwc {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 60px;
    color: rgb(255, 255, 255);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    margin-bottom: 80px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon i{
  font-size:28px; line-height:1; 
  /* optional brand color */
  color: #fff; 
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    text-align: left;
    opacity: 0.9;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #2d1b69;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.cta-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .section-titlewcc {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .feature-icon svg {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .feature-description {
        font-size: 0.9rem;
        text-align: center;
    }

    .cta-section {
        margin-top: 40px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
            .model-chatbot-visual svg.robot-svg{
                margin: 0 !important;
            }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-titlewcc {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }


    
            .model-chatbot-visual svg.robot-svg{
                margin: 0 !important;
            }

            .home-model-container{
                gap: 0 !important;
            }
}


/* Fixed Feature Block Animations - Prevents Image Displacement */
.ai-features-platform .feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-features-platform .feature-block.animate {
    opacity: 1;
}

/* Separate animations for content and image - prevents displacement */
.ai-features-platform .feature-left .feature-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-features-platform .feature-left .feature-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.ai-features-platform .feature-right .feature-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-features-platform .feature-right .feature-image {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

/* Animate state - brings elements to their final position */
.ai-features-platform .feature-block.animate .feature-content,
.ai-features-platform .feature-block.animate .feature-image {
    opacity: 1;
    transform: translateX(0);
}

/* Feature Image - Stable positioning */
.ai-features-platform .feature-image {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Remove conflicting transforms */
}

/* Feature Content - Stable positioning */
.ai-features-platform .feature-content {
    flex: 1;
    /* Remove conflicting transforms */
}

/* Improved scroll container for smoother experience */
.ai-features-platform .features-scroll-container {
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    scroll-behavior: smooth;
}



#text-visible {
    color: #fff;

}



.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Halve the card padding to reduce height */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 16px;
    /* Halved from 40px 32px */
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    /* Enforces half-height */
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* (Rest of CSS remains unchanged for features) */

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

    .feature-card {
        padding: 14px 9px;
        /* Further reduce on medium screens */
        min-height: 190px;
        max-height: 200px;
    }
}





h2 {
    font-size: 42px !important;

}

p {
    font-size: 16px !important;
}

.nav .container{
    display: flex !important;
    align-items: center!important;
    justify-content: space-evenly !important;
   
    max-width: 1400px !important;
    margin: 0 auto  !important;
   
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 10px 5px;
       
        max-height: 250px;
    }
    h2 {
    font-size: 2rem !important;
}
.section-titlewcc {
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 32px !important;
    color: rgb(255, 255, 255) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

}




.home-model-chatbot-section {
  width: 100%;
  padding:1rem 2rem;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  justify-content: center;
}

.home-model-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap; /* Responsive wrap */
}

/* Left side with heading, text, button */
.model-content {
  flex: 1 1 400px;
  max-width: 500px;
}

.model-content h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #00E5D0, #90F070);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.model-content p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.model-content .btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #00E5D0, #90F070);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.model-content .btn-primary:hover {
  background: linear-gradient(90deg, #90F070, #00E5D0);
}

/* Right side: SVG chatbot visual */
.model-chatbot-visual {
  flex: 1 1 320px;
  max-width: 320px;
  height: 320px;
}

.model-chatbot-visual svg.robot-svg {
  width: 100%;
  height: 100%;
  display: flex;
margin-left: 15rem;
}
