/* Global Styles */
:root {
    --primary-bg: #0B0C15;
    --accent-purple: #6C5CE7;
    --accent-blue: #0984E3;
    --text-light: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar Styles */

header {
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 20px 0;
    background: transparent;
    transition: background 0.3s ease;
}

.navbar-brand img {
    width: 60%;
}

.navbar-brand span {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #333 !important;
}

.navbar-expand-lg .navbar-nav .nav-link.active {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    color: #fff !important;
}

.btn-nav-active {
    background-color: var(--accent-purple);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-icon-orange {
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    color: #fff !important;
    border: none;
    padding: 10px 25px;
    font-weight: 500;
}

/* Hero Section Styles */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #2d3436 0%, #0B0C15 60%);
    min-height: 100vh;
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, rgba(11, 12, 21, 0) 70%);
    z-index: 0;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.leading-tight {
    line-height: 1.1;
}

.email-input-group {
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.email-input-group .form-control:focus {
    box-shadow: none;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Hero Floating Elements */
.hero-visual-wrapper {
    width: 100%;
    max-width: 500px;
}

.floating-card {
    min-width: 200px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-referral {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-satisfaction {
    bottom: 10%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.bg-primary-soft {
    background: rgba(108, 92, 231, 0.2);
}

/* Overview Section Styles */
.overview-card {
    /* background: linear-gradient(135deg, #7c73ff, #6c5ce7); */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #655fe6, #0d82e3)
}

.tracking-wide {
    letter-spacing: 2px;
}

.btn-icon-dark {
    width: 50px;
    height: 50px;
    background: #0B0C15;
    color: white;
    border: 4px solid #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-n5 {
    margin-top: -3rem !important;
}

.z-2 {
    z-index: 2;
}

/* How It Works Styles */
.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
    transform: translateY(-5px);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* CTA & Footer Styles */
.cta-section {
    background: radial-gradient(circle at bottom, #2d3436 0%, #000000 80%);
}

.footer {
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {


    .hero-section {
        padding-top: 190px;
        text-align: center;
    }

    .hero-visual-wrapper {
        margin-top: 50px;
        transform: scale(0.9);
    }

    .overview-section .row.g-4 {
        margin-top: 20px;
    }

    .steps-container {
        height: auto !important;
        margin-bottom: 40px;
    }

    .steps-container svg {
        display: none;
        /* Hide curve on mobile */
    }

    .step-item {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 0 30px 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    a.navbar-brand {
        width: 100% !important;
        text-align: center !important;
    }

    .navbar-brand img {
        width: 30% !important;
    }

    .call-consult-btn {
        width: 100%;
        text-align: center;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .floating-card {
        padding: 10px !important;
        min-width: 160px;
    }

    .card-referral {
        right: -20px;
    }

    .overview-card {
        padding: 2rem !important;
    }
}

@media (max-width: 640px) {
    .floating-card.card-satisfaction.start-0 {
        left: 70px !important;
    }

    .navbar.navbar-expand-lg a.btn.btn-primary {
        padding: 10px 14px !important;
        font-size: 14px;
    }
}

/* Creative Approach Section */
.creative-imgs .main-img {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.creative-imgs .overlap-img {
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.5);
}

/* AI Features Section */
.feature-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary {
    border-color: rgba(108, 92, 231, 0.2);
    color: var(--accent-purple);
}

.btn-outline-primary:hover {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
    margin-right: -1px;
}

.blur-xl {
    filter: blur(60px);
}

/* News Section */
.bg-light-soft {
    background-color: #f8f9fa;
}

.blog-card {
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

/* Footer CTA Card */
.bg-gradient-brand {
    background: linear-gradient(135deg, #2d3436, #0B0C15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transform-rotate-n3 {
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.cta-card:hover .transform-rotate-n3 {
    transform: rotate(0deg) scale(1.05);
}

.blur-xl {
    filter: blur(50px);
}

/* Refined How It Works - Exact Match */
.steps-diagram path {
    filter: drop-shadow(0px 2px 2px rgba(108, 92, 231, 0.2));
}

.steps-diagram .node-circle {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.steps-diagram .node-circle:hover {
    transform: scale(1.15);
}

.hub-core {
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.5);
    animation: pulse-hub 3s infinite ease-in-out;
}

@keyframes pulse-hub {

    0%,
    100% {
        box-shadow: 0 0 50px rgba(108, 92, 231, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 80px rgba(108, 92, 231, 0.8);
        transform: scale(1.05);
    }
}

/* Info Card Refinements */
.bg-midnight-blue {
    background: radial-gradient(circle at top left, #1a1a2e 0%, #0B0C15 100%);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.info-card {
    border-radius: 30px;
    /* The distinctive "bite" style or super-rounded top-left */
    border-top-left-radius: 120px;
    border-bottom-right-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ensure font sizes match visual hierarchy */
.info-card h3 {
    font-size: 2rem;
    line-height: 1.2;
}

.how-it-works .robot-wrapper {
    /* Align robot better */
    transform: translateX(20px);
}

/* Unified Wrapper Refinements */
.how-it-works-wrapper {
    /* Create a cohesive flow */
    position: relative;
}

@media (min-width: 992px) {
    .how-it-works-wrapper {
        min-height: 500px;
    }

    /* Overlap adjustments for "One Column" feel */
    .steps-section {
        margin-left: -120px;
        /* Significant overlap with robot */
        margin-right: -80px;
        /* Overlap with card */
        z-index: 10;
        position: relative;
        transform: translateY(10px);
        /* Fine-tune vertical alignment */
    }

    .robot-section {
        flex: 1.1 !important;
        z-index: 5;
        /* Slightly larger and pushed right visually */
        transform: scale(1.15) translateX(40px);
    }

    /* Ensure the robot image itself is positioned well */
    .robot-3d {
        filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.15));
    }

    /* Card should sit behind the steps diagram slightly */
    .info-card {
        z-index: 1;
        padding-left: 60px !important;
        /* Compensate for overlap */
    }
}

/* Specific fix for the user's added class to ensure flex behavior stays robust */
.robot-section2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1200px) {
    .hero-section h1.display-3 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .how-it-works-wrapper {
        gap: 3rem;
    }

    .steps-section {
        margin: 40px auto;
        height: auto !important;
        min-height: 400px;
    }

    .info-card {
        border-radius: 30px;
        min-height: auto;
    }

    /* Disable special overlaps on mobile */
    .robot-section {
        transform: none;
    }
}

/* AI Features Section Styles */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

/* Default Text Colors - Force Dark on White Background */
.feature-card h5 {
    color: #0B0C15;
    transition: color 0.3s ease;
    font-weight: 500 !important;
}

.feature-card p {
    color: #636e72;
    transition: color 0.3s ease;
}

.feature-card a {
    background: #678ed5;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 400 !important;
}

.feature-card a i {
    display: none !important;
}

/* Hover State - Invert to White */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2) !important;
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    border-color: #0984E3;
}

.feature-card:hover .icon-box {
    background-color: #ffffff !important;
    color: #6C5CE7 !important;
}

.feature-card:hover h5,
.feature-card:hover a {
    color: #ffffff !important;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Active State Styles */
.feature-card.active {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    border-color: #6C5CE7;
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3) !important;
}

.feature-card.active h5,
.feature-card.active a {
    color: #ffffff !important;
}

.feature-card.active p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-light-soft {
    background-color: #f8f9fa;
}

.active .bg-white {
    background-color: #ffffff !important;
}

.ai-visual-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Reviews Section Styles */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-section h3,
.ai-gallery-section h3,
.ai-gallery-section p {
    color: #212529 !important;
}

.reviews-section .text-center.text-lg-start {
    text-align: center !important;
    align-items: center !important;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.fa-quote-right {
    transform: translateY(-5px);
}

/* FAQ Section Styles */
.faq-banner {
    background-size: cover;
    background-position: center;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--accent-purple) !important;
    /* Purple active text */
    box-shadow: none !important;
}

.accordion-button::after {
    background-image: none !important;
    /* Remove default bootstrap arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f068";
    /* Minus icon */
    color: var(--accent-purple);
    transform: none !important;
    width: auto;
    height: auto;
}

.accordion-button.collapsed::after {
    content: "\f067";
    /* Plus icon */
    color: #0B0C15;
}

.custom-accordion .accordion-item {
    transition: all 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
}

.ai-features-section h2 span {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Consultation Section Styles */
.consultation-form-wrapper {
    background-color: #f8f9fa;
    /* Light soft gray */
    border: 1px solid #ebedef;
}

.consultation-form-wrapper .form-control {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    color: #212529;
    transition: all 0.3s ease;
}

.consultation-form-wrapper .form-control:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.consultation-form-wrapper .form-label {
    color: #212529;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.icon-box-sm {
    transition: all 0.3s ease;
}

.icon-box-sm:hover {
    background-color: var(--accent-purple) !important;
}


/* Cyberpunk FAQ Styles */
.custom-accordion-dark .accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background: linear-gradient(90deg, #655fe6, #0d82e3) !important;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.custom-accordion-dark .accordion-button:not(.collapsed)::after {
    color: #ffffff !important;
}

/* Style the body when active */
.custom-accordion-dark .accordion-collapse.show .accordion-body {
    background: linear-gradient(90deg, #655fe6, #0d82e3) !important;
    color: #ffffff !important;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Default state for body text in dark mode (when not active/transitioning) */
.custom-accordion-dark .accordion-body {
    color: rgba(255, 255, 255, 0.7);
}

/* Override existing accordion icon colors for dark theme */
.custom-accordion-dark .accordion-button::after {
    color: #ffffff !important;
    /* White minus icon */
}

.custom-accordion-dark .accordion-button.collapsed::after {
    color: rgba(255, 255, 255, 0.5) !important;
    /* Dimmed Plus icon */
}

/* AI Gallery Styles */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 240px !important;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-overlay {
    background: rgba(11, 12, 21, 0.6);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.custom-accordion-dark .accordion-item {
    background: transparent !important;
}

h3 .text-warning {
    background: linear-gradient(to right, #6C5CE7, #0984E3) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

/* Expertise Section Styles */
.expertise-card {
    transition: all 0.3s ease;
}

.expertise-card.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.expertise-icon {
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expertise-card p {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    margin-top: 10px;
}

.icon-box-sm.call-icon:hover {
    background: linear-gradient(to right, #6C5CE7, #0984E3);
    color: #fff !important;
}

@media (min-width: 768px) {

    .gallery-item.gallery-item-hight{
       box-shadow: 0 0 3px rgb(0 0 0 / 20%);
    }
  
   .gallery-item.gallery-item-hight img{
     height: 412px !important; 
   }
  
}

@media (min-width: 575px) and (max-width: 767px) {

    .gallery-item.gallery-item-hight{
        box-shadow: 0 0 3px rgb(0 0 0 / 20%);
    }
  
  .gallery-item.gallery-item-hight img{
     height: 330px !important; 
   }
  
}