/*
Theme Name: Hello Elementor Child
Description: Child theme of Hello Elementor for BotFlow customizations
Author: Bot Flow
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* BotFlow Color Palette */
:root {
    --primary-color: #00D47E;
    --color-primary: #00D47E;
    --color-primary-dark: #00B86B;
    --primary-dark: #00B86B;
    --primary-light: #33E099;
    --primary: #00D47E;
    --gradient-primary: linear-gradient(135deg, #00D47E, #00B86B);
    --secondary-color: #0A0A0B;
    --background-dark: #0A0A0B;
    --background-darker: #050505;
    --background-gradient: radial-gradient(ellipse at center, #1a1a2e 0%, #000000 100%);
    --text-light: #FFFFFF;
    --color-white: #FFFFFF;
    --text-gray: #B8B8B8;
    --text-dark: #333333;
    --border-color: rgba(0, 212, 126, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --badge-color: #dfdfdf;
    --transition: all 0.3s ease;
    --animation-duration: 0.8s;
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --text-xl: 1.25rem;
    --text-base: 1rem;
    
    /* Logo height control */
    --logo-height: 40px;
}


/* Default Typography Settings */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #050505;
    /* background: radial-gradient(ellipse at center, #1a1a2e 0%, #000000 100%); */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Urbanist', sans-serif;
}

/* Elementor Typography Overrides */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
    font-family: 'Urbanist', sans-serif;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-text-editor {
    font-family: 'Poppins', sans-serif;
}

/* Paragraph Margin Settings */
p {
    margin-bottom: 24px;
    margin-top: 0px;
}

p:last-child,
p:last-of-type {
    margin-bottom: 0;
    margin-top: 0px;
}

/* Elementor paragraph margins */
.elementor-widget-text-editor p {
    margin-bottom: 24px;
    margin-top: 0px;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor p:last-of-type {
    margin-bottom: 0;
    margin-top: 0px;
}

/* BotFlow Navbar Styles */

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 5rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
}

.nav-logo img {
    height: var(--logo-height, 40px);
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

/* CTA Button */
.nav-cta {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 99px;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 212, 126, 0);
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.nav-cta:hover::before {
    width: 100%;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.05);
    color: white;
    border-color: var(--primary-light);
    box-shadow: 0 12px 35px rgba(0, 212, 126, 0.4);
}

.nav-cta:active {
    transform: translateY(-1px) scale(1.02);
}

.nav-cta .cta-icon {
    transition: filter 0.4s ease;
    filter: drop-shadow(0 0 3px rgba(0, 212, 126, 0.3));
    position: relative;
    z-index: 2;
}

.nav-cta:hover .cta-icon {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.nav-cta .cta-text {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

/* Pulsating border effect */
@keyframes pulseBorder {
    0% { 
        border-color: var(--primary-color);
        box-shadow: 0 0 0 rgba(0, 212, 126, 0);
    }
    50% { 
        border-color: var(--primary-light);
        box-shadow: 0 0 20px rgba(0, 212, 126, 0.2);
    }
    100% { 
        border-color: var(--primary-color);
        box-shadow: 0 0 0 rgba(0, 212, 126, 0);
    }
}

.nav-cta {
    animation: pulseBorder 2s infinite;
}

.nav-cta:hover {
    animation: none;
}

/* Inverse CTA Button - opposite states to navbar CTA */
.nav-cta-inverse {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 99px;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 212, 126, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.nav-cta-inverse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.nav-cta-inverse:hover::before {
    background: rgba(5, 5, 5, 0.1);
}

.nav-cta-inverse:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-light);
    box-shadow: 0 12px 35px rgba(0, 212, 126, 0.4);
}

.nav-cta-inverse:active {
    transform: translateY(1px) scale(0.98);
}

.nav-cta-inverse .cta-icon {
    transition: filter 0.4s ease;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
    position: relative;
    z-index: 2;
}

.nav-cta-inverse:hover .cta-icon {
    filter: drop-shadow(0 0 3px rgba(0, 212, 126, 0.3));
}

.nav-cta-inverse .cta-text {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 90px);
    background: #050505;
    background: linear-gradient(135deg, #050505 0%, #0A0A0B 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1001;
    padding: inherit;
    padding-top: 5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when mobile menu is active */
body.mobile-menu-open {
    overflow: hidden;
    height: 100vh;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 0 0 5rem 0px;
    padding: 0px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.mobile-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    padding: 1rem 0;
    width: 200px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    /* border-bottom-color: var(--primary-color); */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .demo-section h2 {
        font-size: 2rem;
    }

    .demo-content {
        padding: 100px 1rem 50px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
    }

    .nav-logo img {
        height: calc(var(--logo-height, 40px) * 0.875);
    }
    
    .mobile-menu {
        top: 70px;
        height: calc(100vh - 70px);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* Body padding for fixed navbar */
body {
    padding-top: 90px;
}

@media (max-width: 480px) {
    body {
        padding-top: 32px;
    }
}

/* Add your custom styles below */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    color: var(--color-primary);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 126, 0.3);
    font-weight: 400;
}
.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 120%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero__title-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__description {
    font-size: var(--text-lg);
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.about-botflow__highlight {
    color: var(--primary-color);
    position: relative;
}
.about-botflow__description {
    color: var(--text-gray);
    font-size: var(--text-lg);
}
.features__title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    width: 690px;
}
.fade-in.animate {
    opacity: 1;
    transform: translateY(0px);
}
/* Features Grid Styles */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--animation-duration) ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(var(--desktop-columns, 3), 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature__card {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.feature__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 126, 0.02), transparent);
    transition: var(--transition);
    opacity: 0;
}

.feature__card:hover::before {
    opacity: 1;
}

.feature__card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 212, 126, 0.1) 0px 20px 40px;
    border-color: var(--color-primary);
}

.feature__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 140%;
    text-align: left;
}

.feature__description {
    color: var(--text-gray);
    font-size: var(--text-base);
    line-height: 1.5;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    text-align: left;
}

/* Responsive adjustments */
/* Large tablets and small desktops */
@media (max-width: 1200px) and (min-width: 769px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    /* Override custom column settings on tablet */
    .features__grid[style*="--desktop-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    
    /* Override custom column settings on tablet */
    .features__grid[style*="--desktop-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .features__grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Override custom column settings on mobile */
    .features__grid[style*="--desktop-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .feature__card {
        padding: 1.25rem;
    }
    
    .feature__icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .feature__title {
        font-size: 1.4rem;
    }
    
    .feature__description {
        font-size: 1rem;
    }
    
    /* Mobile specific adjustments */
    .feature__card {
        padding: 1rem;
    }
    
    .feature__icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
}

/* Steps Grid Styles */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0;
}

.step__card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step__card:hover {
    transform: translateY(-8px); 
    box-shadow: rgba(0, 212, 126, 0.1) 0px 20px 40px;
    border-color: var(--color-primary);
}

.step__card:hover::before {
    opacity: 1;
}

.step__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 126, 0.02), transparent);
    transition: var(--transition);
    opacity: 0;
}

.step__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step__description {
    color: var(--text-gray);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* Steps Grid Responsive */
/* Large tablets and small desktops */
@media (max-width: 1200px) and (min-width: 769px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .steps__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 0 2rem 0;
    }
    
    .step__card {
        padding: 1.5rem 1rem;
    }
    
    .step__icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .step__title {
        font-size: 1.4rem;
    }
    
    .step__description {
        font-size: 1rem;
    }
}