@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary-blue: #0066FF;
    --primary-hover: #0052CC;
    --navy-dark: #0A1D37;
    --navy-light: #1E2E45;
    --accent-yellow: #FFB800;
    --bg-light-blue: #F0F7FF;
    --text-main: #334155;
    --text-muted: #64748B;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    --gradient-blue: linear-gradient(135deg, #0066FF 0%, #0047B3 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 40px rgba(0, 102, 255, 0.12);
    --shadow-hover: 0 25px 50px rgba(0, 102, 255, 0.15);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1520px;
}

/* Insurance Made Easy Redesign */
.insurance-easy {
    background: linear-gradient(135deg, #f7fbff, #ffffff, #eef8ff);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.bg-circle-1 {
    position: absolute;
    right: -18%;
    top: -8%;
    width: 760px;
    height: 760px;
    background: #e3f4ff;
    border-radius: 50%;
    z-index: 0;
}

.bg-circle-2 {
    position: absolute;
    right: -6%;
    bottom: -20%;
    width: 560px;
    height: 560px;
    background: #d7ecff;
    border-radius: 50%;
    z-index: 0;
}

.bg-blur-glow {
    position: absolute;
    right: 9%;
    top: 20%;
    width: 380px;
    height: 380px;
    background: rgba(11, 140, 255, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.insurance-easy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .insurance-easy-grid {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 120px;
    }
}

.why-tag {
    display: inline-block;
    background: #e5f3ff;
    color: #008ff5;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.easy-text h2 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    color: #071a3d;
    letter-spacing: -0.04em;
}

.easy-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #5b6b86;
    margin-top: 24px;
    max-width: 470px;
}

.easy-quote-form {
    margin-top: 40px;
    background: var(--white);
    border-radius: 22px;
    border: 1px solid #d7e4f4;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(7, 26, 61, 0.08);
    max-width: 400px;
}

.easy-quote-form input {
    width: 100%;
    height: 62px;
    border: none;
    padding: 0 24px;
    text-align: center;
    outline: none;
    font-size: 16px;
}

.easy-quote-form button {
    width: 100%;
    height: 58px;
    background: #0878ff;
    color: var(--white);
    border: none;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.easy-quote-form button:hover {
    background: #0067df;
}

/* Feature Grid Area */
.easy-features-container {
    position: relative;
    min-height: 620px;
}

.blue-curve-shape {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -12%;
    width: 82%;
    background: linear-gradient(135deg, #0b95ff, #0068e8);
    border-radius: 280px 0 0 280px;
    z-index: 0;
}

.inner-curve-shape {
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: 2%;
    width: 65%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 240px 0 0 240px;
    z-index: 0;
}

.easy-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .easy-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .easy-card-modern:nth-child(even) {
        margin-top: 0;
    }
}

.easy-features-container {
    height: 600px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.easy-vertical-marquee {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.marquee-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.column-up {
    animation: scrollVerticalUp 40s linear infinite;
}

.column-down {
    animation: scrollVerticalDown 45s linear infinite;
}

.easy-features-container:hover .marquee-column {
    animation-play-state: paused;
}

@keyframes scrollVerticalUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollVerticalDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.easy-card-modern {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(7, 26, 61, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    flex-shrink: 0;
}

.easy-card-modern:hover {
    transform: scale(1.02);
}

.easy-card-icon {
    width: 40px;
    height: 40px;
    background: #e8f5ff;
    color: #0795ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.easy-card-modern h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0094ff;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.easy-card-modern .card-subtitle {
    font-size: 16px;
    font-weight: 800;
    color: #071a3d;
    margin-bottom: 16px;
}

.easy-card-modern .card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #52627d;
}

@media (max-width: 1023px) {
    .blue-curve-shape, .inner-curve-shape {
        display: none;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    width: 95%;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* Premium Curved Navbar */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #0798ee;
    height: 92px;
    overflow: hidden;
}

.header-bg-curve {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 73%;
    background: var(--white);
    border-radius: 0 0 130px 0;
    box-shadow: 0 10px 30px rgba(7, 26, 61, 0.04);
    z-index: 1;
}

.nav-container {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    width: 95%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.nav-flex {
    display: flex;
    align-items: center;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    background: #0798ee;
    padding: 12px 28px;
    border-radius: 100px;
    color: var(--white) !important;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    position: relative;
    box-shadow: 0 12px 28px rgba(7, 152, 238, 0.22);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.logo-pill:hover {
    transform: scale(1.04);
}

.logo-smile {
    position: absolute;
    bottom: 8px;
    right: 25px;
    height: 5px;
    width: 32px;
    background: var(--accent-yellow);
    border-radius: 100px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 56px;
}

/* Premium Off-Canvas Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 26, 61, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.premium-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    box-shadow: -10px 0 40px rgba(7, 26, 61, 0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.premium-sidebar.active {
    transform: translateX(-400px);
}

.sidebar-header {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(7, 26, 61, 0.05);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 32px;
    color: #071a3d;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.3s ease;
}

.close-sidebar:hover {
    color: #0798ee;
}

.sidebar-links {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-links .nav-link-premium {
    font-size: 20px;
    padding: 15px 20px;
    background: #f8fbff;
    border-radius: 12px;
    color: #071a3d !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.sidebar-links .nav-link-premium:hover,
.sidebar-links .nav-link-premium.active {
    background: #0798ee;
    color: var(--white) !important;
    transform: translateX(5px);
}

.sidebar-links .nav-link-premium::after {
    display: none;
}

@media (max-width: 1023px) {
    .nav-menu {
        display: none; /* Hide original inline menu on mobile */
    }
}

.nav-link-premium {
    font-size: 16px;
    font-weight: 600;
    color: #06175f !important;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: #0798ee !important;
}

.nav-link-premium.active::after {
    transform: scaleX(1);
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0798ee;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link-premium:hover::after {
    transform: scaleX(1);
}

.nav-right-premium {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--white);
}

.lang-text {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hamburger-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0798ee; /* Vibrant blue from your screenshot */
    color: white !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(7, 152, 238, 0.3);
}

.hamburger-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1023px) {
    
    .header-bg-curve {
        width: 100%;
        border-radius: 0;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-right-premium {
        color: #0798ee;
    }
}

.hamburger-btn:hover {
    background: #0084ff;
    transform: scale(1.05);
}

@media (max-width: 1023px) {
    .header-bg-curve {
        width: 100%;
        border-radius: 0;
    }
    .nav-menu {
        display: none;
    }
    .nav-right-premium {
        color: #06175f;
    }
    .hamburger-btn {
        background: #f0f7ff;
    }
    .nav-container {
        padding: 0 24px;
    }
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

/* ==========================================================
   HERO SECTION — Premium Animations (Stripe / Revolut style)
   ========================================================== */

/* ---- Keyframes ---- */

/* Staggered entrance: fade + slide up */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Blue gradient shimmer on the highlighted span */
@keyframes gradientShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Soft glow pulse on the CTA button */
@keyframes ctaPulseGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 102, 255, 0.30); }
    50%       { box-shadow: 0 4px 30px rgba(0, 102, 255, 0.55), 0 0 0 6px rgba(0,102,255,0.07); }
}

/* Slow infinite zoom on hero image */
@keyframes heroImageZoom {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating mascot badge — gentle up/down */
@keyframes mascotFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* Form slide-up reveal */
@keyframes formSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bullets stagger fade */
@keyframes bulletsReveal {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero image wrapper entrance */
@keyframes heroImageReveal {
    from { opacity: 0; transform: translateX(30px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ---- Hero Section ---- */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 300px;
    background: var(--white);
    clip-path: ellipse(70% 50% at 50% 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 100px;
    }
}

/* ---- LEFT: Text Area ---- */

/* Headline — staggered fade + slide up (0.6s ease-out) */
.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* Animated blue gradient glow on the span text */
.hero-text h1 span {
    background: linear-gradient(270deg, #0066FF, #00C6FF, #0066FF, #0047B3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 4s ease infinite;
    display: inline-block;
}

/* Subtext — fades in 0.2s after headline */
.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 680px;
    opacity: 0;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Quote form — slides up after subtext */
.quote-form {
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
    max-width: 500px;
    opacity: 0;
    animation: formSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
    transition: box-shadow 0.3s ease;
}

.quote-form:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15), var(--shadow-lg);
}

.quote-form input {
    flex: 1;
    border: none;
    padding: 0 20px;
    border-radius: 100px;
    font-size: 15px;
    outline: none;
    transition: background 0.3s ease;
}

/* CTA Button — soft pulse glow + scale on hover */
.hero .btn-primary,
.quote-form .btn-primary {
    animation: ctaPulseGlow 2.8s ease-in-out infinite;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.25s ease,
                box-shadow 0.25s ease;
    will-change: transform;
}

.hero .btn-primary:hover,
.quote-form .btn-primary:hover {
    transform: scale(1.05) translateY(-2px) !important;
    filter: brightness(1.12);
    animation: none; /* stop pulse on hover — clean feel */
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.40);
}

/* Hero bullets — staggered reveal */
.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 0;
    animation: bulletsReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-dark);
    transition: color 0.3s ease;
}

.bullet i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.bullet:hover i {
    transform: scale(1.2);
}

/* ---- RIGHT: Image Area ---- */

/* Wrapper entrance */
.hero-image {
    position: relative;
    opacity: 0;
    animation: heroImageReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
    /* Parallax will be applied via JS by adjusting transform */
    will-change: transform;
}

/* Image container — clips the zoom without overflow */
.hero-image-inner {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 66, 180, 0.18),
                0 10px 30px rgba(0, 0, 0, 0.10);
    height: 400px;
}

@media (min-width: 1024px) {
    .hero-image-inner {
        height: 550px;
    }
}

/* Slow infinite zoom (scale 1 → 1.05 over 7s) */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-lg);
    animation: heroImageZoom 7s ease-in-out infinite;
    will-change: transform;
}

/* Mascot badge — floating animation */
.mascot-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.14), var(--shadow-lg);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-light-blue);
    z-index: 2;
    overflow: hidden;
    animation: mascotFloat 3.5s ease-in-out infinite;
    will-change: transform;
}

.mascot-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

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

/* ---- Smooth hover transitions for ALL hero clickable elements ---- */
.hero a,
.hero button,
.hero .btn {
    transition: all 0.3s ease-in-out;
}

.mascot-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.mascot-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Yellow Heading Swoosh */
.yellow-swoosh {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg width="80" height="12" viewBox="0 0 80 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 10C15 3 35 2 78 5" stroke="%23FFB800" stroke-width="4" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: contain;
}

/* Category Horizontal Panel */
.category-panel-wrapper {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.category-horizontal-panel {
    background: var(--white);
    border-radius: 40px;
    padding: 40px 0;
    box-shadow: 0 30px 100px rgba(17, 42, 92, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.category-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
    padding: 0 30px;
}

.category-horizontal-panel:hover .category-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* ==========================================================
   CATEGORY CARDS — Premium SVG Icon System
   ========================================================== */

/* Floating keyframe for icons (phase-staggered per card) */
@keyframes catIconFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-7px); }
}

/* Staggered card entrance (triggered by .cat-card-visible added via JS) */
@keyframes catCardReveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cat-card {
    opacity: 0;
    transform: translateY(28px);
}

.cat-card.cat-card-visible {
    animation: catCardReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Card entrance override for reveal items in this panel */
.category-horizontal-panel .category-item {
    padding: 30px 16px 28px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    flex-shrink: 0;
    /* Transition covers transform, shadow, border */
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow  0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease;
}

.category-horizontal-panel .category-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 56px rgba(0, 102, 255, 0.14);
    border-color: rgba(0, 102, 255, 0.12);
    background: #fafcff;
}

/* ---- Icon Wrapper ---- */
.cat-icon-wrap {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 20px;
}

/* Coloured gradient circle background per category */
.cat-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow  0.5s ease;
}

/* Per-category tints */
.cat-bg-motor    { background: radial-gradient(circle at 35% 30%, #EEF6FF, #C8DFFF); }
.cat-bg-travel   { background: radial-gradient(circle at 35% 30%, #EBF5FF, #BDD7FF); }
.cat-bg-life     { background: radial-gradient(circle at 35% 30%, #EEF6FF, #CCDEFF); }
.cat-bg-health   { background: radial-gradient(circle at 35% 30%, #EDF7FF, #C2DAFF); }
.cat-bg-business { background: radial-gradient(circle at 35% 30%, #FFF8E6, #FFE5A0); }

/* SVG icon: absolutely centred inside wrapper using margin trick */
.cat-icon-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    margin-top: -36px;
    margin-left: -36px;
    overflow: visible;
    /* Phase-staggered float animation per card (nth-child) */
    animation: catIconFloat 4s ease-in-out infinite;
    will-change: transform;
}

/* Stagger float phase so cards feel alive independently */
.category-item:nth-child(1) .cat-icon-svg { animation-delay: 0s; }
.category-item:nth-child(2) .cat-icon-svg { animation-delay: 0.7s; }
.category-item:nth-child(3) .cat-icon-svg { animation-delay: 1.4s; }
.category-item:nth-child(4) .cat-icon-svg { animation-delay: 2.1s; }
.category-item:nth-child(5) .cat-icon-svg { animation-delay: 2.8s; }

/* Hover: bg circle grows + glows; icon animates faster */
.category-item:hover .cat-icon-bg {
    transform: scale(1.10);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.18);
}

.category-item:hover .cat-icon-svg {
    animation-duration: 2s;   /* faster float on hover for energy */
}

/* Special glow for business (yellow bg) on hover */
.category-item:hover .cat-bg-business {
    box-shadow: 0 16px 40px rgba(255, 184, 0, 0.22);
}

/* Card label */
.category-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.category-item:hover h3 {
    color: var(--primary-blue);
}

/* Integrated Panel Stats */
.panel-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.panel-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-circle-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.08);
}

.stat-text h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2px;
    line-height: 1;
}

.stat-text p {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Premium Featured Solutions (Symmetric Grid) */
.solutions-premium {
    background: #f7fbff;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.solutions-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.solution-card-premium {
    background: var(--white);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(17, 42, 92, 0.07);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.solution-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 100px rgba(29, 125, 242, 0.18);
}

.card-image-top {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.solution-card-premium:hover .card-image-top img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 63, 146, 0.3), transparent);
}

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.card-body-premium {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-body-premium h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.card-body-premium p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.card-footer-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.premium-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.btn-outline-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.btn-outline-premium:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-outline-premium span {
    transition: transform 0.3s ease;
}

.btn-outline-premium:hover span {
    transform: translateX(4px);
}





/* Text Animations */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section */
.stats {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 24px;
}

.stat-info h3 {
    font-size: 24px;
    margin-bottom: 2px;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
}

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

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 64px;
    }
}

.section-header h2 span {
    color: var(--primary-blue);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.category-panel {
    background: var(--white);
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 20px 10px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.category-card:hover, .category-card.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-card:hover h3, .category-card.active h3 {
    color: var(--primary-blue);
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-card img {
    display: none; /* Hide old img tags if they still exist */
}

.category-card h3 {
    font-size: 18px;
    color: var(--navy-dark);
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Why Choose Us - Modern Split Layout */
}
/* Solutions Section */
.solutions {
    padding: var(--section-padding);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.01);
}

.solution-img {
    width: 40%;
    background-size: cover;
    background-position: center;
}

.solution-content {
    width: 60%;
    padding: 40px;
}

.solution-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.solution-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Premium How It Works Timeline */
.how-it-works {
    background: #f5f7fb !important;
    padding: 120px 0 !important;
    overflow: hidden;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 100%;
    margin: 60px auto 0;
    padding: 100px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(21, 101, 255, 0.1), rgba(21, 101, 255, 0.5), rgba(21, 101, 255, 0.1));
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-line-active {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #22d3ee, #1565ff, #0ea5e9);
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 100px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 3;
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-top { padding-bottom: 160px; }
.step-bottom { padding-top: 160px; }

.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 24px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 5;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
}

.badge-teal { background: linear-gradient(to right, #2dd4bf, #22d3ee); }
.badge-cyan { background: linear-gradient(to right, #06b6d4, #0ea5e9); }
.badge-indigo { background: linear-gradient(to right, #818cf8, #6366f1); }
.badge-blue { background: linear-gradient(to right, #3b82f6, #1565ff); }

.brand-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.card-glow {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    height: 40px;
    border-radius: 100px;
    filter: blur(25px);
    opacity: 0.1;
    z-index: -1;
}

.glow-teal { background: #2dd4bf; }
.glow-cyan { background: #06b6d4; }
.glow-indigo { background: #818cf8; }
.glow-blue { background: #3b82f6; }

.step-connector {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(21, 101, 255, 0.8), #22d3ee);
    transform: translateX(-50%);
}

.line-down { top: 100%; }
.line-up { bottom: 100%; }

.step-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--white);
    box-shadow: 0 10px 40px rgba(21, 101, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.step-node i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.node-teal i { background: linear-gradient(135deg, #2dd4bf, #22d3ee); }
.node-cyan i { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.node-indigo i { background: linear-gradient(135deg, #818cf8, #6366f1); }
.node-blue i { background: linear-gradient(135deg, #3b82f6, #1565ff); }

.timeline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(21, 101, 255, 0.3);
    font-size: 20px;
    z-index: 5;
}

/* Final CTA Section Styles */
.final-cta {
    padding: 100px 0;
}

.final-cta-content {
    background: var(--gradient-blue);
    padding: 80px;
    border-radius: 40px;
    text-align: center;
    color: white;
}

.final-cta-content h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 24px;
}

.final-cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* Testimonials - Redesigned with Tailwind */


/* FAQ */
.faq {
    padding: var(--section-padding);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

/* Footer */
footer {
    background: #F8FAFC;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
}

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

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy-dark);
}

@media (max-width: 1024px) {
    .timeline-container {
        padding: 40px 0;
        margin-top: 20px;
    }
    
    .timeline-line, .timeline-line-active, .step-connector, .timeline-arrow {
        display: none;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .timeline-step {
        padding: 0 !important;
        display: flex;
        flex-direction: column !important; /* Force same order on mobile */
        align-items: center !important;
    }
    
    .step-card {
        padding: 30px 24px;
        width: 100%;
        text-align: center;
        order: 2; /* Card comes second */
    }
    
    .step-node {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: -32px;
        margin-left: 0 !important;
        z-index: 10;
        box-shadow: 0 10px 30px rgba(21, 101, 255, 0.2);
        order: 1; /* Icon comes first */
    }

    .step-top, .step-bottom { 
        padding: 0 !important; 
    }

    /* Final CTA Mobile */
    .final-cta-content {
        padding: 60px 24px;
        border-radius: 30px;
    }

    .final-cta-content h2 {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .final-cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .final-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text p {
        margin: 0 auto 32px;
    }
    
    .quote-form {
        margin: 0 auto 24px;
    }
    
    .hero-bullets {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Category panel — Tablet: 3 per row */
    .category-horizontal-panel {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 16px;
    }

    .cat-icon-wrap {
        width: 100px;
        height: 100px;
    }

    .cat-icon-svg {
        width: 56px;
        height: 56px;
        margin-top: -28px;
        margin-left: -28px;
    }
    
    .logo-marquee-track {
        gap: 30px !important;
    }

    .logo-card-simple {
        width: 160px !important;
        height: 80px !important;
        padding: 12px !important;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-right .lang-switch, .nav-right .btn {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .why-us-split {
        flex-direction: column;
    }
    
    .yellow-circle-bg {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        right: 0;
        border-radius: 50% 50% 0 0;
    }
    
    .why-us-cards {
        grid-template-columns: 1fr;
    }

    /* Category panel — Mobile: 2 per row */
    .category-horizontal-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .panel-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .why-card-modern[style] {
        margin-top: 0 !important;
    }
    
    .solutions-grid-premium {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .solutions-grid-premium {
        grid-template-columns: 1fr !important;
    }
}
    
    .testimonial-grid, .steps-grid, .category-grid, .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .solution-card {
        flex-direction: column;
    }
    
    .solution-img, .solution-content {
        width: 100%;
    }
    
    .solution-img {
        height: 200px;
    }
    

    .quote-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
    }
    
    .quote-form input {
        padding: 12px;
        margin-bottom: 12px;
        text-align: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* Partners & Collaborators Section */
.partners-collaborators {
    background: #e8f6ff;
    padding: var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: #4d5b78;
    padding-bottom: 8px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #06175f;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #0797ff;
    border-radius: 100px;
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-description {
    max-width: 600px;
    margin: 0 auto;
    color: #4d5b78;
    font-size: 18px;
    line-height: 1.4;
}

.logo-grid-container {
    margin-top: 60px;
    position: relative;
    min-height: 120px;
}

.logo-grid {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    align-items: center;
    justify-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.logo-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.logo-card {
    background: var(--white);
    border-radius: 12px;
    width: 180px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-shadow: 0 12px 30px rgba(0,60,120,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.logo-card.featured {
    width: 240px;
    height: 100px;
}

.logo-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,60,120,0.12);
}

.logo-card span {
    color: #1261ad;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.logo-card img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: #aac9db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-dots span.active {
    width: 24px;
    background: #0797ff;
    border-radius: 100px;
}

@media (max-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .logo-card.featured {
        width: 180px;
        height: 84px;
    }
}

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


/* Featured Insurance Solutions Redesign */
.solutions-premium-redesign {
    background: #f4f9ff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.bg-blur-1 {
    position: absolute;
    left: -12%;
    top: -20%;
    width: 520px;
    height: 520px;
    background: #dceeff;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.bg-blur-2 {
    position: absolute;
    right: -10%;
    bottom: -25%;
    width: 620px;
    height: 620px;
    background: #e7f3ff;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #c7e5ff;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 800;
    color: #0078ff;
    box-shadow: 0 12px 35px rgba(0, 120, 255, 0.08);
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
}

.premium-heading {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #081b3f;
    margin-bottom: 24px;
}

.premium-heading span {
    background: linear-gradient(to right, #0078ff, #00b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.solutions-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
    margin-top: 64px;
}

/* Modern Card Styles */
.solution-card-modern {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 70px rgba(8, 27, 63, 0.10);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.solution-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 90px rgba(0, 120, 255, 0.18);
}

.card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.solution-card-modern:hover .card-media img {
    transform: scale(1.1);
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 26, 61, 0.7) 0%, rgba(7, 26, 61, 0.15) 60%, transparent 100%);
}

.image-tag {
    position: absolute;
    left: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    color: #0078ff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.card-info {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-tag {
    display: inline-block;
    background: #edf7ff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #0078ff;
    margin-bottom: 16px;
}

.card-info h3 {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.035em;
    color: #081b3f;
    margin-bottom: 16px;
}

.card-info p {
    font-size: 16px;
    line-height: 1.7;
    color: #65758f;
    min-height: 112px;
}

.card-action {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e8f0fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-label {
    font-size: 14px;
    font-weight: 800;
    color: #93a3ba;
}

.btn-explore {
    display: inline-block;
    border: 1px solid #0078ff;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    color: #006dff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: #0078ff;
    color: white;
}

/* Partners Logo Marquee - Infinite Side Scroll */
.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: marquee-scroll 50s linear infinite;
    padding: 20px 0;
}

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

.logo-card-simple {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 43, 92, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.logo-card-simple:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 43, 92, 0.08);
    border-color: rgba(7, 152, 238, 0.2);
}

.logo-card-simple img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none; /* Removed grayscale for better visibility */
    opacity: 1; /* Full opacity by default */
    transition: all 0.3s ease;
}

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

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 251, 255, 1), transparent);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 251, 255, 1), transparent);
}

.bg-white .logo-marquee-wrapper::before {
    background: linear-gradient(to right, #ffffff, transparent);
}
.bg-white .logo-marquee-wrapper::after {
    background: linear-gradient(to left, #ffffff, transparent);
}

.btn-explore span {
    margin-left: 8px;
}
/* Global Mascot Animation */
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mascot-animated { 
    animation: mascotFloat 4s ease-in-out infinite; 
}
