* {
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #006FBB;
    --secondary: #F15C2A;
    --accent: #08904C;
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

body {
    background-color: #ffffff;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.text-accent-custom {
    color: var(--accent) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

.bg-accent-custom {
    background-color: var(--accent) !important;
}

.btn-outline-primary-custom {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #005194;
    border-color: #005194;
    color: white
}

.btn-accent-custom {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-accent-custom:hover {
    background-color: #ffffffff;
    border-color: #06723c;
    color: #06723c;
}


.btn-accent-custom-2 {
    background-color: #EF5B2D;
    border-color: #EF5B2D;
    color: white;
}

.btn-accent-custom-2:hover {
    background-color: #ffffffff;
    border-color: #EF5B2D;
    color: #EF5B2D;
}

.badge-soft-primary {
    background-color: rgba(0, 111, 187, 0.08);
    color: var(--primary);
    font-weight: 500;
}

.badge-soft-accent {
    background-color: rgba(8, 144, 76, 0.08);
    color: var(--accent);
    font-weight: 500;
}

.badge-soft-secondary {
    background-color: rgba(241, 92, 42, 0.08);
    color: var(--secondary);
    font-weight: 500;
}

/* Hero section background */
.hero-section {
    /* background: linear-gradient(135deg, #f6faff 0%, #ffffff 100%); */
    padding: 2rem 0;
    margin-top: -1.5rem;
    /* border-bottom: 1px solid rgba(0, 111, 187, 0.1); */
}

/* card / dashboard tiles */
.stat-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 3px 8px rgba(108, 87, 210, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: 0.15s ease;
    height: 100%;
}

.stat-card:hover {
    border-color: #6C57D2;
    box-shadow: 0 5px 15px rgba(108, 87, 210, 0.15);
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    /* box-shadow: var(--card-shadow); */
    border: 1px solid #edf2f7;
    transition: all 0.2s;
    height: 100%;
}

.feature-card:hover {
    border-color: #6C57D2;
    box-shadow: 0 20px 30px -15px rgba(108, 87, 210, 0.15);
}

.feature-card.orange-theme:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 30px -15px rgba(241, 92, 42, 0.15);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background-color: #6C57D2;
    color: white !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 24px rgba(108, 87, 210, 0.35);
    transition: transform 0.3s ease;
}

.feature-icon-box.orange-theme {
    background-color: var(--secondary);
    box-shadow: 0 12px 24px rgba(241, 92, 42, 0.35);
}

.feature-card:hover .feature-icon-box {
    transform: translateY(-5px);
}

.table-custom tbody tr {
    border-bottom: 1px solid #ecf1f7;
}

.table-custom td {
    padding: 1rem 0.5rem;
    vertical-align: middle;
}

.enquiry-form {
    background: white;
    border-radius: 32px;
    padding: 2.5rem 2rem;
    box-shadow: 0 40px 100px -20px rgba(108, 87, 210, 0.18);
    border: 1px solid rgba(108, 87, 210, 0.08);
}

/* Floating Role Badges */
.role-badge {
    position: absolute;
    padding: 6px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: float-badge 4s ease-in-out infinite;
    white-space: nowrap;
}

.role-badge::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.badge-user {
    background: #8B5CF6;
    top: 5%;
    right: -8%;
    animation-delay: 0s;
}

.badge-user::after {
    bottom: -14px;
    left: 20px;
    transform: scaleX(-1) scaleY(-1);
    /* Pointing down-left into dashboard */
}

.badge-developer {
    background: #06B6D4;
    top: 20%;
    left: -12%;
    animation-delay: 0.5s;
}

.badge-developer::after {
    top: -14px;
    right: 15px;
    /* Pointing up-right into dashboard */
}

.badge-manager {
    background: #10B981;
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
}

.badge-manager::after {
    top: -14px;
    right: 15px;
    /* Pointing up-right into dashboard */
}

.badge-designer {
    background: #EF4444;
    bottom: 8%;
    right: -5%;
    animation-delay: 1.5s;
}

.badge-designer::after {
    top: -14px;
    left: 20px;
    transform: scaleX(-1);
    /* Pointing up-left into dashboard */
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991px) {
    .role-badge {
        display: none;
    }
}

.form-control {
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid #eef2f6;
    background-color: #f8fafc;
    color: #334155;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-select {
    border-radius: 12px;
    padding: 0.85rem 2.5rem 0.85rem 1.25rem !important;
    border: 1.5px solid #eef2f6;
    background-color: #f8fafc;
    color: #334155;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-select option {
    background-color: #ffffff;
    color: #334155;
}

.form-control:focus,
.form-select:focus {
    border-color: #6C57D2;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(108, 87, 210, 0.1);
    outline: none;
}

/* Nice Select Premium Styling */
.nice-select {
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    height: auto;
    line-height: 1.5;
    border: 1.5px solid #eef2f6;
    background-color: #f8fafc;
    color: #334155;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    float: none;
    display: block;
    width: 100%;
}

.nice-select:after {
    right: 1.25rem;
    width: 8px;
    height: 8px;
    border-color: #94a3b8;
    border-bottom: 2px solid;
    border-right: 2px solid;
    margin-top: -5px;
}

.nice-select .list {
    border-radius: 16px;
    margin-top: 8px;
    border: 1px solid rgba(108, 87, 210, 0.1);
    box-shadow: 0 15px 35px rgba(108, 87, 210, 0.12);
    padding: 8px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.nice-select .option {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    line-height: 1.4;
    min-height: auto;
    font-weight: 500;
    color: #475569;
    margin-bottom: 2px;
    transition: all 0.2s;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: rgba(255, 255, 255, 1);
    color: #6C57D2;
}

.nice-select .option.selected {
    font-weight: 700;
    color: #6C57D2;
    background-color: rgba(108, 87, 210, 0.05);
}

.nice-select.open {
    border-color: #6C57D2;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(108, 87, 210, 0.1);
}

.bg-soft-primary {
    background-color: rgba(0, 111, 187, 0.03);
}

.progress-bar-custom {
    height: 8px;
    background: #e9eef4;
    border-radius: 20px;
}

.progress-bar-fill {
    background-color: var(--accent);
    border-radius: 20px;
    width: 48.3%;
}

/* Image showcase styles */
.image-showcase {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 20px 35px -10px rgba(0, 111, 187, 0.15);
    border: 1px solid rgba(0, 111, 187, 0.08);
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.hero-image-showcase {
    max-width: 90%;
    margin-left: auto;
}

@media (max-width: 991px) {
    .hero-image-showcase {
        max-width: 100%;
        margin-left: unset;
    }
}

.dashboard-image:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f8fcff;
    border-radius: 16px;
    border: 1px solid rgba(0, 111, 187, 0.08);
}

.stats-highlight {
    background: linear-gradient(145deg, #ffffff, #f8fcff);
    border-radius: 40px;
    padding: 3rem;
    border: 1px solid rgba(0, 111, 187, 0.1);
    box-shadow: 0 20px 40px -15px rgba(0, 111, 187, 0.1);
}

.stat-bubble {
    background: white;
    border-radius: 30px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #e9f0f8;
    height: 100%;
    transition: 0.2s;
}

.stat-bubble:hover {
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metrics-strip {
    background-color: #f2f6fc;
    border-radius: 60px;
    padding: 1rem 2rem;
    white-space: nowrap;
    overflow-x: auto;
    gap: 2rem;
    color: #1e293b;
    font-weight: 500;
    border: 1px solid #dde7f0;
}

.metrics-strip span {
    display: inline-block;
    margin-right: 2.5rem;
    font-size: 1.15rem;
    color: #1e3a5f;
}

.metrics-strip span i {
    color: var(--primary);
    margin-right: 0.4rem;
    opacity: 0.7;
}

.bg-grid-pattern {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

.testimonial-mini {
    background: white;
    border-radius: 24px;
    padding: 2rem;
}

.cursor-pointer {
    cursor: pointer;
}

.feature-topic-card {
    transition: all 0.2s ease;
}

.feature-topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

.feature-topic-card.active {
    border-color: var(--primary) !important;
    background-color: rgba(0, 111, 187, 0.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-topic-card .feature-icon-sm {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }

    .feature-topic-card h6 {
        font-size: 0.95rem;
    }

    .feature-topic-card small {
        font-size: 0.75rem;
    }
}

/* --- Success Modal Styles --- */
.success-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: success-scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-scale-up {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#successModal .modal-content {
    background: #ffffff;
    border: none;
    overflow: hidden;
}

#successModal h3 {
    margin-top: 10px;
    color: #0b2a4a;
}

#successModal .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Fix nice-select dropdown overlapping */
.enquiry-form {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.enquiry-form .nice-select {
    width: 100%;
    float: none;
    line-height: normal;
    background: #fff;
    position: relative;
}

.enquiry-form .nice-select .list {
    width: 100%;
    z-index: 99999 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #eee !important;
    background: #fff;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.enquiry-form .nice-select .list::-webkit-scrollbar {
    display: none;
}


.enquiry-form .nice-select.open {
    z-index: 1050 !important;
    /* Higher than other form inputs */
}

/* Ensure the column containing the open select has highest z-index */
.enquiry-form .col-md-6:has(.nice-select.open) {
    z-index: 1051 !important;
    position: relative;
}

.enquiry-form .col-md-6 {
    position: relative;
    overflow: visible !important;
}

/* Ensure the row doesn't clip children */
.enquiry-form .row {
    overflow: visible !important;
}

/* Amoeba AI Section Styles - Redesigned */
.amoeba-ai-section {
    background-color: #6C57D2;
    border-radius: 40px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: 5rem;
    margin-bottom: 3rem;
    box-shadow: 0 40px 100px -20px rgba(108, 87, 210, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.amoeba-ai-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.amoeba-ai-section .content-wrap {
    position: relative;
    z-index: 2;
}

.amoeba-glow-text {
    background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.coming-soon-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.ai-image-wrap {
    position: relative;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.ai-image-wrap:hover {
    transform: translateY(-10px);
}

.ai-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* AI Floating Icon for the left side */
.ai-icon-sm {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* Ameoba */


.amoeba-ai-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(108, 87, 210, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    border: 1px solid #edf2f7;
    margin-bottom: 2rem;
}

.amoeba-ai-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(239, 91, 45, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.amoeba-ai-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 111, 187, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.future-badge {
    background: #FFFAF0;
    color: #D97706;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.4rem;
}

.ai-icon-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #EF5B2D, #FF8A5C);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 8px 16px rgba(239, 91, 45, 0.25);
}

.amoeba-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0;
    background: linear-gradient(90deg, #0B2A4A 0%, #6C57D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 95%;
}

.feature-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pill-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 0.3rem 0.9rem;
    border-radius: 40px;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.pill-item:hover {
    background: #FFFFFF;
    border-color: #6C57D2;
    color: #6C57D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 87, 210, 0.1);
}

/* Redesigned Coming Soon Right Side */
.coming-soon-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.cs-container {
    padding: 1rem;
    background: rgba(108, 87, 210, 0.04);
    border-radius: 20px;
    border: 1px dashed rgba(108, 87, 210, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.cs-container:hover {
    background: rgba(108, 87, 210, 0.08);
    transform: scale(1.02);
}

.cs-label {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #6C57D2;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.cs-time {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0B2A4A;
    line-height: 1;
}

.cs-dot {
    width: 6px;
    height: 6px;
    background: #EF5B2D;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Moving Elements Animations */
@keyframes float-particle {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        transform: translate(120px, -120px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes sweep-glow {
    0% {
        left: -100%;
        top: -100%;
    }

    100% {
        left: 200%;
        top: 200%;
    }
}

@keyframes drift-node {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -10px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.moving-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(239, 91, 45, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float-particle linear infinite;
}

.bg-sweep {
    position: absolute;
    width: 150%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(239, 91, 45, 0.04) 50%, transparent 55%);
    z-index: 0;
    pointer-events: none;
    animation: sweep-glow 12s linear infinite;
    top: 0;
}

.ai-floating-node {
    position: absolute;
    color: rgba(239, 91, 45, 0.15);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
    animation: drift-node 8s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .amoeba-ai-card {
        padding: 1.5rem;
    }

    .ai-description {
        max-width: 100%;
    }

    .amoeba-title {
        font-size: 1.5rem;
    }

    .ai-image-compact {
        text-align: center;
        margin-top: 1rem;
    }

    .ai-image-compact img {
        max-height: 100px;
    }
}