/* --- Premium/* --- Theme Variables --- */
:root {
    /* Primary Logo Colors */
    --primary: #0F62FE;
    /* Deep, trustworthy Medical Blue */
    --primary-light: #EDF5FF;
    --primary-gradient: linear-gradient(135deg, #0F62FE, #4589FF);

    --secondary: #24A148;
    /* Health/Growth Green */
    --secondary-light: #DEFBE6;
    --secondary-gradient: linear-gradient(135deg, #24A148, #4DCA6D);

    --accent-red: #DA1E28;
    --accent-yellow: #F1C21B;

    /* Text & Background */
    --bg-color: #F4F7FB;
    /* Very soft cool gray/blue */
    --bg-light: #ffffff;
    --text-dark: #161616;
    /* Near black for contrast */
    --text-muted: #525252;
    /* Slate gray */
    --border-color: rgba(15, 98, 254, 0.1);

    --error: var(--accent-red);
    --success: var(--secondary);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* UI Elements */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 100px;

    /* Modern, deep, soft shadows */
    --shadow-sm: 0 4px 20px rgba(15, 98, 254, 0.05);
    --shadow-md: 0 12px 30px rgba(15, 98, 254, 0.08);
    --shadow-lg: 0 24px 50px rgba(15, 98, 254, 0.12);
    --shadow-blue: 0 15px 35px rgba(15, 98, 254, 0.25);
}

/* --- Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, rgba(15, 98, 254, 0.05) 0px, transparent 60%),
        radial-gradient(at 100% 0%, rgba(36, 161, 72, 0.05) 0px, transparent 60%),
        radial-gradient(at 100% 100%, rgba(218, 30, 40, 0.03) 0px, transparent 60%),
        radial-gradient(at 0% 100%, rgba(241, 194, 27, 0.03) 0px, transparent 60%);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Subtle animated background mesh */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -10;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(25,118,210,0.05)"/></svg>');
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    opacity: 0.6;
    animation: drift 30s linear infinite;
}

@keyframes drift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

h1,
h2,
h3,
h4,
.logo,
.badge {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 600px;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: #1e293b;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #334155;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 30px 0;
    position: relative;
}

.section-header {
    margin-bottom: 80px;
    max-width: 700px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.bg-gradient {
    background: var(--primary-gradient);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.grid-2-align-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    align-items: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(15, 98, 254, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 98, 254, 0.2);
    box-shadow: 0 4px 10px rgba(15, 98, 254, 0.05);
}

/* Text Gradient utility */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.05rem;
    border: none;
    text-align: center;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4589FF, #0F62FE);
    border-radius: var(--radius-pill);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 98, 254, 0.35);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 2px solid transparent;
    color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    box-shadow: inset 0 0 0 2px transparent, var(--shadow-blue);
    color: white;
    transform: translateY(-4px) scale(1.02);
}

/* --- Components --- */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.card>* {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: inset 0 0 0 1px rgba(15, 98, 254, 0.3), var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    background: white;
}

.icon-wrap.error {
    color: var(--error);
    border: 1px solid rgba(229, 57, 53, 0.1);
}

.text-error {
    color: var(--error);
}

.text-success {
    color: var(--success);
}

.text-white {
    color: white;
}

.text-white p {
    color: rgba(255, 255, 255, 0.8);
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--text-dark);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: var(--transition);
}

.logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -2;
    animation: float 12s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--secondary-light);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -2;
    animation: float 15s infinite reverse;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.03), rgba(124, 179, 66, 0.03));
    z-index: -1;
    border-radius: 50% 0 0 50%;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--text-dark);
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #475569;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #ffffff;
    /* Matches the .bg-light section below it */
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.glass-cards-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 400px;
    margin: 0 auto;
}

/* Floating Glass Card Base */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-md);
    text-align: center;
    position: absolute;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

/* Specific Card Placements */
.glass-card.card-top,
.glass-card.card-bottom-left,
.glass-card.card-bottom-right {
    width: 220px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.75);
}

.card-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation-delay: 0s;
}

/* Small bottom cards */
.card-bottom-left,
.card-bottom-right {
    top: 230px;
}

.card-bottom-left {
    left: 0;
    z-index: 2;
    animation-delay: 1.5s;
}

.card-bottom-right {
    right: 0;
    z-index: 1;
    animation-delay: 3s;
}

.hero-image h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.hero-image p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.hero-image .ai-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(15, 98, 254, 0.2));
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(124, 179, 66, 0.15);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2.5s infinite;
}

.ai-icon {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

/* Redefine float for absolute centered elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-top {
    animation: float-center 6s ease-in-out infinite;
}

@keyframes float-center {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -20px);
    }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--secondary-gradient);
    animation: loading 3s ease-in-out infinite;
    border-radius: 4px;
}

/* --- Problem Section */
.problem-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 57, 53, 0.1);
    display: flex;
    flex-direction: column;
}

.bento-item h3 {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.bento-item p {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.bento-item .icon-wrap {
    position: relative;
    z-index: 2;
}

.bento-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    z-index: 1;
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.bento-item:hover .bento-bg-icon {
    transform: scale(1.1) rotate(-10deg);
    opacity: 0.08;
}

.item-1 {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.03), white);
    border-color: rgba(229, 57, 53, 0.1);
}

.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    justify-content: center;
    background: linear-gradient(180deg, rgba(25, 118, 210, 0.03), white);
    border-color: rgba(25, 118, 210, 0.1);
}

.item-2 .icon-wrap {
    color: var(--primary);
    border-color: rgba(25, 118, 210, 0.2);
}

.item-3 {
    grid-column: 1 / 2;
    background: linear-gradient(135deg, rgba(241, 194, 27, 0.03), white);
    border-color: rgba(241, 194, 27, 0.1);
}

.item-3 .icon-wrap {
    color: var(--accent-yellow);
    border-color: rgba(241, 194, 27, 0.2);
}

.item-4 {
    grid-column: 2 / 3;
    background: linear-gradient(135deg, rgba(36, 161, 72, 0.03), white);
    border-color: rgba(36, 161, 72, 0.1);
}

.item-4 .icon-wrap {
    color: var(--secondary);
    border-color: rgba(36, 161, 72, 0.2);
}

@media (max-width: 992px) {
    .problem-bento {
        grid-template-columns: 1fr 1fr;
    }

    .item-1 {
        grid-column: 1 / 3;
    }

    .item-2 {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .item-3 {
        grid-column: 1 / 2;
    }

    .item-4 {
        grid-column: 2 / 3;
    }
}

@media (max-width: 600px) {
    .problem-bento {
        grid-template-columns: 1fr;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        grid-column: 1 / -1;
    }
}

/* --- Solution Section (Timeline) --- */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 10px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, rgba(15, 98, 254, 0.2), rgba(36, 161, 72, 0.2), transparent);
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: flow-down 4s infinite linear;
}

@keyframes flow-down {
    0% {
        top: -100px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8), var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 20px rgba(15, 98, 254, 0.4);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 90%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

/* Connectors from boxes to middle timeline */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 38px;
    width: 30px;
    height: 2px;
    background: rgba(15, 98, 254, 0.2);
}

.timeline-item.left .timeline-content::before {
    right: -30px;
}

.timeline-item.right .timeline-content::before {
    left: -30px;
}

.timeline-item.left .timeline-content {
    margin-right: 30px;
}

.timeline-item.right .timeline-content {
    margin-left: 30px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 98, 254, 0.2);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item.right .timeline-icon {
    background: var(--secondary-light);
    color: var(--secondary);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-node {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 70px;
    }

    .timeline-item.right {
        padding-left: 70px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin: 0;
        width: 100%;
    }

    .timeline-content::before {
        display: none;
    }
}

/* --- Features Section (Premium Grid) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-grid .feature-card:nth-child(4) {
    grid-column: 1 / 3;
}

.feature-grid .feature-card:nth-child(5) {
    grid-column: 3 / 4;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 98, 254, 0.1);
    border-color: rgba(15, 98, 254, 0.2);
    background: #ffffff;
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(15, 98, 254, 0.15);
}

.feature-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(15, 98, 254, 0.3);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid .feature-card:nth-child(4) {
        grid-column: auto;
    }

    .feature-grid .feature-card:nth-child(5) {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid .feature-card:nth-child(5) {
        grid-column: auto;
    }
}

/* --- Market Section (Bar Chart) --- */
.market {
    overflow: hidden;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 300px;
    padding-bottom: 40px;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    justify-content: flex-end;
    width: 18%;
}

.bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px 8px 0 0;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform-origin: bottom;
    animation: growUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bar.primary-bar {
    background: var(--accent-yellow);
    box-shadow: 0 0 25px rgba(249, 168, 37, 0.5);
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
}

.bar span {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bar-group label {
    position: absolute;
    bottom: -40px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* --- Comparison Section --- */
.table-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2px;
    background-image: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(124, 179, 66, 0.2));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 650px;
    /* Forces scrolling on mobile */
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: calc(var(--radius-lg) - 2px);
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
}

.compare-table th {
    background: var(--bg-color);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.compare-table th span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.highlight-col {
    background: rgba(25, 118, 210, 0.03);
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.compare-table thead .highlight-col {
    background: var(--primary-light);
    color: var(--primary);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover td {
    background: rgba(241, 245, 249, 0.5);
}

.compare-table tbody tr:hover .highlight-col {
    background: rgba(25, 118, 210, 0.08);
}

/* --- Team Section (3D Flip Cards) --- */
.team-flip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    /* Reduced gap from 50px */
    max-width: 800px;
    /* Reduced max-width from 900px */
    margin: 0 auto;
}

.flip-card {
    background-color: transparent;
    height: 330px;
    /* Reduced height from 380px */
    perspective: 1000px;
    /* Provides the 3D depth */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    /* Reduced padding from 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 98, 254, 0.1);
}

/* Front Styling */
.flip-card-front {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
}

.team-avatar {
    width: 85px;
    /* Reduced from 100px */
    height: 85px;
    /* Reduced from 100px */
    background: var(--light-bg);
    border-radius: 50%;
    margin: 0 auto 15px;
    /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    /* Reduced from 2.5rem */
    color: var(--primary);
    box-shadow: inset 0 0 0 4px white, 0 10px 20px rgba(15, 98, 254, 0.1);
    transition: all 0.4s ease;
}

.flip-card:hover .team-avatar {
    transform: scale(1.1);
}

.flip-card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.flip-card-front .role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.flip-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin-top: auto;
}

.flip-card:hover .flip-hint {
    opacity: 1;
    color: var(--primary);
}

/* Back Styling */
.flip-card-back {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

.flip-card-back p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .team-flip-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flip-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

/* --- Editorial Vision & Mission --- */
.editorial-vm-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.editorial-card {
    position: relative;
    width: 55%;
    /* Reduced from 65% */
    padding: 40px;
    /* Reduced from 60px */
    border-radius: var(--radius-lg);
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}

.editorial-card:hover {
    transform: translateY(-8px);
    /* Reduced hover jump */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.watermark-text {
    position: absolute;
    top: -15px;
    /* Adjusted */
    right: -15px;
    /* Adjusted */
    font-size: 6rem;
    /* Reduced from 8rem */
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 0, 0, 0.03);
    z-index: -1;
    pointer-events: none;
    letter-spacing: -2px;
    transition: all 0.5s ease;
}

.editorial-card:hover .watermark-text {
    color: rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.vision-edit-card {
    background: #ffffff;
    align-self: flex-start;
    border: 1px solid rgba(15, 98, 254, 0.05);
}

.vision-edit-card .watermark-text {
    color: rgba(15, 98, 254, 0.04);
}

.mission-edit-card {
    background: var(--primary-gradient);
    align-self: flex-end;
    margin-top: -60px;
    /* Reduced overlap from -100px */
    color: white;
}

.mission-edit-card .watermark-text {
    color: rgba(255, 255, 255, 0.05);
}

.mission-edit-card:hover .watermark-text {
    color: rgba(255, 255, 255, 0.1);
}

.edit-icon {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    margin-bottom: 20px;
    /* Reduced from 25px */
    display: inline-block;
}

.vision-edit-card .edit-icon {
    color: var(--primary);
}

.mission-edit-card .edit-icon {
    color: white;
}

.editorial-card h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    margin-bottom: 15px;
    /* Reduced from 20px */
    font-weight: 700;
    letter-spacing: -0.5px;
}

.vision-edit-card h2 {
    color: var(--text-dark);
}

.edit-divider {
    width: 40px;
    /* Reduced from 50px */
    height: 3px;
    /* Reduced from 4px */
    margin-bottom: 20px;
    /* Reduced from 25px */
    border-radius: 2px;
}

.vision-edit-card .edit-divider {
    background: var(--primary);
}

.mission-edit-card .edit-divider {
    background: var(--accent-yellow);
}

.editorial-card p {
    font-size: 1.05rem;
    /* Reduced from 1.15rem */
    line-height: 1.6;
    /* Reduced from 1.8 */
    margin-bottom: 0;
}

.vision-edit-card p {
    color: var(--text-muted);
}

.mission-edit-card p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
    .editorial-card {
        width: 80%;
        padding: 30px;
    }

    .mission-edit-card {
        margin-top: -40px;
    }

    .watermark-text {
        font-size: 4rem;
    }
}

@media (max-width: 600px) {
    .editorial-card {
        width: 100%;
        padding: 30px;
    }

    .mission-edit-card {
        margin-top: 30px;
        /* Remove overlap on mobile */
        align-self: flex-start;
    }

    .watermark-text {
        display: none;
        /* Hide on small screens */
    }
}

/* --- Floating Glassmorphism Contact Section --- */
.floating-contact-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.fc-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.fc-blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite alternate;
}

.fc-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    left: -50px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.fc-blob-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    animation-delay: -4s;
}

.fc-glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
}

.fc-info-sidebar {
    background: var(--primary-gradient);
    color: white;
    padding: 50px 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fc-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.fc-info-item .icon-wrap {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.fc-info-item:hover .icon-wrap {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.fc-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.fc-info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.fc-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.fc-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fc-socials a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.fc-form-area {
    padding: 50px 40px;
    width: 60%;
}

.fc-form-area h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.fc-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.fc-input-group {
    position: relative;
    padding-top: 10px;
}

.fc-input-group input,
.fc-input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
    resize: none;
}

.fc-input-group label {
    position: absolute;
    top: 20px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fc-input-group input:focus~label,
.fc-input-group input:valid~label,
.fc-input-group textarea:focus~label,
.fc-input-group textarea:valid~label {
    top: -5px;
    font-size: 0.8rem;
    color: var(--primary);
}

.fc-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-gradient);
    transition: width 0.4s ease;
}

.fc-input-group input:focus~.fc-line,
.fc-input-group textarea:focus~.fc-line {
    width: 100%;
}

.fc-submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.2);
    transition: all 0.3s ease;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.fc-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(15, 98, 254, 0.3);
}

@media (max-width: 850px) {
    .fc-glass-panel {
        flex-direction: column;
    }

    .fc-info-sidebar {
        width: 100%;
        padding: 40px;
    }

    .fc-form-area {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 500px) {

    .fc-info-sidebar,
    .fc-form-area {
        padding: 30px 20px;
    }
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    /* Deeper slate */
    color: white;
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-yellow), var(--accent-red));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-logo {
    color: white;
    margin-bottom: 25px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-contact p {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes loading {
    0% {
        width: 0%;
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0.5;
    }
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive adjustments moved to bottom of stylesheet */

/* --- Lenis Smooth Scroll --- */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* --- About Us Section --- */
.grid-2-align-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mt-4 {
    margin-top: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-box p {
    margin-bottom: 0;
    color: var(--secondary);
    font-weight: 500;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.rounded-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
    font-size: 1.1rem;
}

/* --- Contact Section (Premium Split-Screen) --- */
.split-contact-container {
    display: flex;
    max-width: 1100px;
    margin: 50px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

/* Left Side: Dark Info Panel */
.split-contact-info {
    flex: 1;
    background: #0f172a;
    /* Deep Slate */
    color: white;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-info-bg-glow {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 98, 254, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.split-info-title,
.split-info-desc,
.split-info-list,
.split-socials {
    position: relative;
    z-index: 1;
}

.split-info-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -1px;
}

.split-info-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.split-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.split-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.split-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4dc2f8;
    /* Soft blue accent */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.split-info-item:hover .split-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.split-info-item h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
}

.split-info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.split-socials {
    margin-top: auto;
    padding-top: 50px;
    display: flex;
    gap: 15px;
}

.split-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.split-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Right Side: Clean Form */
.split-contact-form {
    flex: 1.3;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.clean-form-row {
    display: flex;
    gap: 30px;
}

.clean-form-row .clean-input-group {
    flex: 1;
}

.clean-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clean-input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.clean-input-group input,
.clean-input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    resize: none;
}

.clean-input-group input:focus,
.clean-input-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.1);
}

.clean-input-group input::placeholder,
.clean-input-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.split-submit-btn {
    align-self: flex-start;
    padding: 16px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.15);
    margin-top: 10px;
}

.split-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(15, 98, 254, 0.25);
}

/* Responsive Split Contact */
@media (max-width: 900px) {
    .split-contact-container {
        flex-direction: column;
        max-width: 600px;
    }

    .split-contact-info,
    .split-contact-form {
        padding: 50px 40px;
    }
}

@media (max-width: 600px) {

    .split-contact-info,
    .split-contact-form {
        padding: 40px 20px;
    }

    .clean-form-row {
        flex-direction: column;
        gap: 30px;
    }

    .split-info-title {
        font-size: 2.5rem;
    }

    .split-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Responsive Design (Tablets & Mobile) --- */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
        gap: 25px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .glass-cards-container {
        transform: scale(0.85);
        transform-origin: top center;
    }

    .grid-2-align-center {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .problem-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 20px 15px;
        gap: 15px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
        border-radius: var(--radius-md);
        border-left: 4px solid var(--primary);
        box-shadow: var(--shadow-md);
    }

    .problem-card .icon-wrap {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        font-size: 1.3rem;
    }

    .problem-card h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
        color: var(--text-dark);
    }

    .problem-card p {
        font-size: 0.85rem;
        margin-bottom: 0;
        color: var(--text-muted);
    }

    .hero-image {
        min-height: auto;
    }

    .glass-cards-container {
        transform: none;
        height: auto;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Override Absolute Triangle Positioning for Mobile Storage */
    .glass-card {
        position: relative;
        transform: none !important;
        animation: none;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 250px !important;
        margin: 0 auto;
    }

    .workflow::before {
        display: none;
    }

    .step {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        margin-bottom: 25px;
        background: white;
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .step::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--primary-gradient);
    }

    .step-icon {
        margin-bottom: 0;
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .step-content {
        padding: 0;
    }

    .step-content h3 {
        font-size: 1.15rem;
        margin-bottom: 5px;
    }

    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .feature-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 20px 15px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        border-left: 4px solid var(--secondary);
    }

    .feature-item .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .feature-item p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-card .icon-wrap {
        margin-bottom: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .stats-grid {
        /* Keep stats side-by-side on mobile */
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-box {
        padding: 15px;
    }

    .stat-box h3 {
        font-size: 1.8rem;
        /* Smaller font so it fits side-by-side */
    }

    .stat-box p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .glass-cards-container {
        gap: 15px;
        margin-bottom: 10px;
    }

    .glass-card {
        width: 100% !important;
        max-width: 280px;
    }

    .card {
        padding: 30px 20px;
    }
}

/* --- AI-Engineered Section --- */
.ai-engineered {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background-color: #0b1120;
    /* Deep tech dark blue */
}

.ai-engineered-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(15, 98, 254, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(36, 161, 72, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.ai-engineered .container {
    position: relative;
    z-index: 2;
}

.ai-engineered h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.ai-engineered .lead-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.badge-glow {
    background: rgba(15, 98, 254, 0.2);
    border-color: rgba(15, 98, 254, 0.4);
    box-shadow: 0 0 20px rgba(15, 98, 254, 0.3);
    color: #4dc2f8;
}

.ai-features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ai-features-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ai-features-list i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 5px;
}

.ai-features-list h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.ai-features-list p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

/* AI Visual Animation */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ai-visual-inner {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-core-icon {
    font-size: 4rem;
    color: #ffffff;
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(15, 98, 254, 0.8));
    animation: float 6s ease-in-out infinite;
}

.ai-core-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: pulse 3s infinite;
}

.ai-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(15, 98, 254, 0.3);
    border-left-color: var(--primary);
    border-right-color: var(--secondary);
}

.orbit-1 {
    width: 180px;
    height: 180px;
    animation: spin 10s linear infinite;
}

.orbit-2 {
    width: 240px;
    height: 240px;
    animation: spin 15s linear infinite reverse;
    opacity: 0.7;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    animation: spin 20s linear infinite;
    opacity: 0.4;
    border-style: dashed;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .ai-engineered {
        padding: 60px 0;
    }

    .ai-visual-inner {
        width: 250px;
        height: 250px;
        margin: 0 auto 40px;
    }
}

/* --- AI Chatbot Widget --- */
.ai-chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-main);
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.chatbot-toggle-btn:hover {
    transform: scale(1.05);
}

.chatbot-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 98, 254, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.chatbot-header {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    /* Ensure visibility */
}

.chatbot-header-info p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.ai-icon-small {
    font-size: 1.5rem;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.chatbot-close-btn:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--bg-color);
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.chat-msg.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-msg .msg-avatar {
    background: var(--secondary-light);
    color: var(--secondary);
}

.msg-bubble {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    border-top-left-radius: 2px;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.user-msg .msg-bubble {
    background: var(--primary);
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 2px;
}

.chatbot-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
}

.chatbot-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-pill);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.chatbot-input-area input:focus {
    border-color: var(--primary);
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-send-btn:hover {
    background: var(--secondary);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 15px;
    background: white;
    border-radius: 12px;
    border-top-left-radius: 2px;
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 75px;
    }
}