/*
Theme Name: BWJTS Theme
Theme URI: https://bwjts.com
Description: Custom, high-performance dark theme for BWJ Tech Solutions. Replicated from NextJS + Tailwind.
Version: 1.0.0
Author: BWJ Tech Solutions
License: MIT
Text Domain: bwjts-theme
*/

/* Custom global overrides or theme definitions if any */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&family=Syne:wght@700;800&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500,600,700&display=swap');

/* Global Font Overrides to General Sans */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
select,
textarea,
.font-space,
.font-syne {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}


/* Scroll Lock Helper */
.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
}

/* Service Card Transitions and State Toggles */
.service-card {
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card .active-only {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.service-card.is-active .active-only {
    display: block !important;
    opacity: 1 !important;
}

.service-card .inactive-only {
    display: flex !important;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.service-card.is-active .inactive-only {
    display: none !important;
    opacity: 0 !important;
}

/* Text Gradient helper */
.text-gradient {
    background: linear-gradient(to right, #0b3a96, #cc353c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   SCROLL ANIMATION INITIAL STATES
   All animatable elements start hidden via CSS.
   GSAP / Intersection Observer will reveal them.
   This prevents "flash of visible content" and ensures
   animations always play when scrolling in.
   ===================================================== */
.fade-up-element,
.fade-up-stagger-item,
.fade-up-individual {
    opacity: 0;
    transform: translateY(36px);
    will-change: opacity, transform;
    transition: none;
    /* GSAP handles transitions, not CSS */
}

.scale-in-element {
    opacity: 0;
    transform: scale(0.55);
    will-change: opacity, transform;
    transition: none;
}

/* Reveal class applied by JS when GSAP is unavailable (fallback) */
.anim-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.7s ease, transform 0.7s ease !important;
}


/* Orbit Animations */
@keyframes orbit-spin-clockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-spin-counter-clockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit-ring-1 {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.orbit-ring-2 {
    position: absolute;
    inset: 28%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.orbit-parent-1 {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    animation: orbit-spin-clockwise 35s linear infinite;
    pointer-events: none;
}

.orbit-parent-2 {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    animation: orbit-spin-clockwise 22s linear infinite;
    pointer-events: none;
}

.orbit-icon-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    pointer-events: auto;
}

.orbit-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-color);
}

.orbit-parent-1 .orbit-icon-inner {
    animation: orbit-spin-counter-clockwise 35s linear infinite;
}

.orbit-parent-2 .orbit-icon-inner {
    animation: orbit-spin-counter-clockwise 22s linear infinite;
}

.orbit-container:hover .orbit-parent-1,
.orbit-container:hover .orbit-parent-1 .orbit-icon-inner,
.orbit-container:hover .orbit-parent-2,
.orbit-container:hover .orbit-parent-2 .orbit-icon-inner {
    animation-play-state: paused !important;
}

/* Dynamic Tech & ERP Grid hover rules */
.tech-grid-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-grid-item:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: var(--tech-color) !important;
    box-shadow: 0 10px 30px var(--tech-glow) !important;
}

.erp-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-item:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 20px var(--erp-glow) !important;
}

/* Client Logos Marquees */
@keyframes marquee-ltr {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

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

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-row-ltr {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-ltr 40s linear infinite;
}

.marquee-row-rtl {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-rtl 40s linear infinite;
}

.marquee-container:hover .marquee-row-ltr,
.marquee-container:hover .marquee-row-rtl {
    animation-play-state: paused;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar Specific border overrides to prevent white outline on scroll transitions */
nav.navbar,
nav.navbar.glass {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

nav.navbar.glass {
    background: rgba(5, 10, 31, 0.7) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

/* Bento Grid Gradient Utilities & Glow Colors */
.bg-gradient-glow-red-blue {
    background: linear-gradient(135deg, #cc353c, #0b3a96) !important;
}

.bg-gradient-glow-blue-400 {
    background: linear-gradient(135deg, #0b3a96, #60a5fa) !important;
}

.bg-gradient-yellow-glow-red {
    background: linear-gradient(135deg, #facc15, #cc353c) !important;
}

.bg-gradient-green-glow-blue {
    background: linear-gradient(135deg, #4ade80, #0b3a96) !important;
}

.bg-gradient-purple-glow-red {
    background: linear-gradient(135deg, #c084fc, #cc353c) !important;
}

.bg-gradient-glow-red-pink {
    background: linear-gradient(135deg, #cc353c, #f472b6) !important;
}

/* Dynamic Card Borders and Hover animations */
@keyframes border-rotate {
    0% {
        background-position: 0% 0%;
    }

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

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

.product-card-border {
    background-size: 200% 200% !important;
    animation: border-rotate 6s linear infinite;
}

.product-card:hover .product-card-border {
    animation: border-rotate 2s linear infinite;
}

.cta-card-border {
    background-size: 300% 300% !important;
    animation: border-rotate 8s linear infinite;
}

.cta-card:hover .cta-card-border {
    animation: border-rotate 2s linear infinite;
}

/* Button Slide-Shine Animation */
@keyframes btn-shine-loop {
    0% {
        left: -100%;
    }

    40%,
    100% {
        left: 100%;
    }
}

.btn-shine-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: btn-shine-loop 4.5s infinite ease-in-out;
}

/* Ambient floating particles inside product card */
@keyframes float-y-1 {

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

    50% {
        transform: translateY(-12px);
        opacity: 0.5;
    }
}

@keyframes float-y-2 {

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

    50% {
        transform: translateY(12px);
        opacity: 0.6;
    }
}

@keyframes float-y-3 {

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

    50% {
        transform: translateY(-8px);
        opacity: 0.4;
    }
}

.animate-float-dot-1 {
    animation: float-y-1 4s infinite ease-in-out;
}

.animate-float-dot-2 {
    animation: float-y-2 3.2s infinite ease-in-out;
}

.animate-float-dot-3 {
    animation: float-y-3 4.8s infinite ease-in-out;
}

/* CTA Floating Sparkles */
@keyframes cta-float-up {

    0%,
    100% {
        transform: translateY(-20px);
        opacity: 0.2;
    }

    50% {
        transform: translateY(20px);
        opacity: 0.6;
    }
}

/* Lucide Icons Dimensions & Scale Fix */
.explore-menu-social-icons svg,
#explore-menu-overlay .flex.gap-8 a svg {
    width: 22px !important;
    height: 22px !important;
    display: inline-block;
}

.footer-social-icons svg,
footer .w-10.h-10 svg {
    width: 18px !important;
    height: 18px !important;
    display: inline-block;
}

/* Navigation Hover Side-lines in Footer */
.group:hover .group-hover\:w-4 {
    width: 1rem !important;
    /* 16px */
}

.group-hover\:w-4 {
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Generic Float Animation (Products page mockup) */
@keyframes float-generic {

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

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

.animate-float {
    animation: float-generic 6s ease-in-out infinite;
}

/* Modal Fade Animation */
@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

#team-modal-box {
    animation: modal-fade-in 0.3s ease-out forwards;
}

/* Blog Archive Pagination styling */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #0b3a96, #cc353c);
    border-color: transparent;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* =====================================================
   GLOBAL FORM FIELDS & FLOATING LABELS (Shared UI)
   ===================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Fix header/navbar overlap globally when using anchor/hash navigation */
html {
    scroll-padding-top: 100px;
}
section[id], div[id] {
    scroll-margin-top: 100px;
}
@media (min-width: 768px) {
    html {
        scroll-padding-top: 120px;
    }
    section[id], div[id] {
        scroll-margin-top: 120px;
    }
}

/* Custom padding-top for key home page sections to prevent overlapping with fixed navbar */
#services-showcase-section,
#products-showcase-section,
#why-choose-us-section,
#tech-stack-section {
    padding-top: 110px !important;
}

@media (min-width: 768px) {
    #services-showcase-section,
    #products-showcase-section,
    #why-choose-us-section,
    #tech-stack-section {
        padding-top: 150px !important;
    }
}

.form-field {
    margin-bottom: 16px;
}

.fl-wrap {
    position: relative;
    text-align: left;
}

.fl-wrap label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.32);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.22s ease;
    z-index: 2;
    background: transparent;
    padding: 0 4px;
}

.fl-wrap.area-wrap label {
    top: 20px;
    transform: none;
}

.fl-wrap input:focus~label,
.fl-wrap input:not(:placeholder-shown)~label,
.fl-wrap textarea:focus~label,
.fl-wrap textarea:not(:placeholder-shown)~label {
    top: -10px;
    transform: none;
    font-size: 10px;
    font-weight: 700;
    color: rgba(100, 160, 255, 0.9);
    background: #050a1f;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fl-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 18px 16px 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
}

.fl-input::placeholder {
    color: transparent;
}

.fl-input:focus {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.fl-input.valid {
    border-color: rgba(34, 197, 94, 0.45) !important;
}

.fl-input.invalid {
    border-color: rgba(239, 68, 68, 0.45) !important;
    background: rgba(239, 68, 68, 0.02) !important;
}

textarea.fl-input {
    padding-top: 24px;
    resize: vertical;
    min-height: 130px;
}

/* Spinner styling */
.cf-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-anim 0.65s linear infinite;
    display: none;
    flex-shrink: 0;
}

@keyframes spin-anim {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   ASK AI CHAT OVERLAY STYLE SHEET
   ===================================================== */
#ask-ai-overlay .scrollbar-none::-webkit-scrollbar {
    display: none;
}

#ask-ai-overlay .scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Sidebar collapse animations */
#ai-chat-sidebar.collapsed {
    width: 0px !important;
    padding: 0px !important;
    border-right-width: 0px !important;
    overflow: hidden;
}

#ai-chat-sidebar.collapsed * {
    display: none !important;
}

/* Message bubble list styling */
.ai-msg-bubble {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-w: 80%;
    animation: ai-bubble-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ai-bubble-fade-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }

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

.ai-msg-user {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%) !important;
    border: 1px solid rgba(34, 211, 238, 0.45) !important;
    color: #ffffff !important;
    border-radius: 20px 20px 4px 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(34, 211, 238, 0.08) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-msg-assistant {
    margin-right: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px 20px 20px 4px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* AI Typing Pulse Loader */
.ai-typing-loader {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px 20px 20px 4px !important;
    width: fit-content;
}

.ai-typing-dot {
    width: 6px;
    height: 6px;
    background-color: #22d3ee;
    border-radius: 50%;
    animation: ai-dot-pulse 1.4s infinite ease-in-out both;
    box-shadow: 0 0 8px #22d3ee;
}

.ai-typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes ai-dot-pulse {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.3;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Recent Chat Items */
.ai-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ai-recent-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.ai-recent-item.active {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%) !important;
    border-color: rgba(34, 211, 238, 0.25) !important;
    color: #22d3ee !important;
    box-shadow: inset 3px 0 0 #22d3ee !important;
}

/* Suggestion cards styling */
.ai-suggestion-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ai-suggestion-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 24px -10px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Pulsing cyan glow for Ask AI button */
@keyframes ask-ai-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(34, 211, 238, 0.25);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
        border-color: rgba(34, 211, 238, 0.35);
    }
}

#ask-ai-btn:hover {
    animation: none !important;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.75) !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
}

/* =====================================================
   LANDING PAGE NEW HERO SECTION (GENERAL SANS)
   ===================================================== */
.font-general-sans {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Hero Container & Layout */
.hero-new-container {
    padding-top: 280px;
    padding-bottom: 102px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-new-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-new-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

/* Heading Typography */
.hero-new-heading {
    font-family: 'General Sans', sans-serif !important;
    font-size: 56px !important;
    font-weight: 500 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
    max-width: 680px !important;
    margin: 0 auto !important;
}

/* Gradient fill for heading text - fixing dirty gray interpolation */
.hero-gradient-text {
    background: linear-gradient(144.5deg, #ffffff 28%, rgba(255, 255, 255, 0) 115%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
}

/* Subtitle Typography */
.hero-new-subtitle {
    font-family: 'General Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
}

/* Badge Styling */
.hero-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 auto;
}

.hero-new-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #06b6d4;
    box-shadow: 0 0 8px #06b6d4;
    display: inline-block;
}

.hero-new-badge-text {
    font-family: 'General Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.6);
}

.hero-new-badge-text strong {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Primary CTA Button (White background, black text) */
.layered-btn-outer-white {
    display: inline-block;
    padding: 0.6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    border: 0.6px solid #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.layered-btn-inner-white {
    background: #ffffff;
    color: #000000 !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 11px 29px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.layered-btn-outer-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(1px);
    z-index: 5;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.layered-btn-outer-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.8);
}

.layered-btn-outer-white:hover::before {
    opacity: 1;
    width: 90%;
}

/* Secondary CTA Button (Ghost - Transparent background, white border, white text) */
.layered-btn-outer-ghost {
    display: inline-block;
    padding: 0.6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.6px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.layered-btn-inner-ghost {
    background: transparent;
    color: #ffffff !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 11px 29px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.layered-btn-outer-ghost:hover {
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.15);
}

.layered-btn-outer-ghost:hover .layered-btn-inner-ghost {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments and animations */
@media (max-width: 768px) {
    .hero-new-container {
        padding-top: 200px;
        padding-bottom: 80px;
    }

    .hero-new-heading {
        font-size: 36px !important;
    }

    .hero-new-stack {
        gap: 32px;
    }

    .hero-new-title-group {
        gap: 20px;
    }

    .layered-btn-inner-white,
    .layered-btn-inner-ghost {
        padding: 11px 24px;
    }
}

/* ── Ask AI Chat Mobile Responsive Styles ── */
@media (max-width: 768px) {
    #ask-ai-overlay {
        flex-direction: column !important;
    }

    #ai-chat-sidebar {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
        z-index: 30 !important;
        width: 100% !important;
        background: #030712 !important;
    }

    #ai-chat-sidebar.collapsed {
        width: 0px !important;
        border-right-width: 0px !important;
    }

    #ai-sidebar-expand-btn {
        left: 16px !important;
        top: 16px !important;
        width: 36px !important;
        height: 36px !important;
    }

    #ai-sidebar-collapse-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .px-8 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #ai-message-canvas {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 72px !important;
        /* spacing below overlay expand btn */
    }

    .ai-welcome-box {
        padding: 24px 16px !important;
        margin-top: 8px !important;
        border-radius: 20px !important;
    }

    .grid-cols-1 {
        grid-template-cols: 1fr !important;
    }

    .ai-msg-bubble {
        max-w: 88% !important;
    }

    .max-w-3xl {
        max-width: 100% !important;
    }

    /* Make the input box container smaller on mobile */
    .pb-8 {
        padding-bottom: 16px !important;
    }
}