/*!
 * Hero Section CSS for Instant Knowledge Base
 * Provides styling for the hero section that can override site headers
 */

/* Hero Section Container */
.ikbase-hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

/* Standalone hero section takes full viewport */
.ikbase-hero-standalone .ikbase-hero-section {
    margin: 0;
    padding: 10px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure proper spacing for standalone templates */
.ikbase-standalone {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.ikbase-standalone .ikbase-container:first-of-type {
    padding-top: 40px;
}

/* Hero Style Variations */
.ikbase-hero-section.hero-style-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ikbase-hero-section.hero-style-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-modern::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 20%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    animation: glassFloat 6s ease-in-out infinite;
    pointer-events: none;
}

.ikbase-hero-section.hero-style-minimal {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-minimal::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: lineMove 4s linear infinite;
    pointer-events: none;
}

.ikbase-hero-section.hero-style-vibrant {
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
    position: relative;
    animation: vibrantPulse 2s ease-in-out infinite;
}

.ikbase-hero-section.hero-style-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(252, 74, 26, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.ikbase-hero-section.hero-style-professional {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

.ikbase-hero-section.hero-style-dark {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 10%, rgba(65, 67, 69, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(35, 37, 38, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.ikbase-hero-section.hero-style-ocean {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-ocean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(116, 185, 255, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.ikbase-hero-section.hero-style-sunset {
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-sunset::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(253, 121, 168, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* Hero Back Button - Modern and Sleek */
.ikbase-hero-back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.ikbase-back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ikbase-back-to-site:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.ikbase-back-icon {
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ikbase-back-to-site:hover .ikbase-back-icon {
    transform: translateX(-2px);
}

/* Hero Content */
.ikbase-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Logo - Positioned opposite to back button */
.ikbase-hero-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    animation: ikbaseHeroLogoFade 0.8s ease-out 0.2s both;
}

.ikbase-hero-logo-img {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    object-fit: contain;
}

.ikbase-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.ikbase-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Hero Search */
.ikbase-hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.ikbase-hero-search-form {
    display: flex;
    gap: 10px;
    /* background: rgba(255, 255, 255, 0.1); */
    padding: 8px;
    border-radius: 50px;
    /* backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); */
}

.ikbase-hero-search-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.ikbase-hero-search-input:focus {
    background: #000;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.ikbase-hero-search-input::placeholder {
    color: #666;
}

.ikbase-hero-search-button {
    padding: 16px 32px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ikbase-hero-search-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Header Override Styles - Comprehensive header hiding */
.ikbase-hero-enabled {
    /* Ensure body starts from top when header is hidden */
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hide theme headers when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled .site-header,
.ikbase-hero-enabled .site-navigation,
.ikbase-hero-enabled .main-navigation,
.ikbase-hero-enabled .primary-navigation,
.ikbase-hero-enabled .navbar,
.ikbase-hero-enabled .header,
.ikbase-hero-enabled .masthead,
.ikbase-hero-enabled .site-branding,
.ikbase-hero-enabled .custom-header,
.ikbase-hero-enabled .header-wrap,
.ikbase-hero-enabled .header-container,
.ikbase-hero-enabled .top-header,
.ikbase-hero-enabled .main-header,
.ikbase-hero-enabled .primary-header,
.ikbase-hero-enabled .site-header-wrap,
.ikbase-hero-enabled .header-main,
.ikbase-hero-enabled .header-area,
.ikbase-hero-enabled .site-top,
.ikbase-hero-enabled .header-section,
.ikbase-hero-enabled .navigation-top,
.ikbase-header-override .site-header,
.ikbase-header-override .site-navigation,
.ikbase-header-override .main-navigation,
.ikbase-header-override .primary-navigation,
.ikbase-header-override .navbar,
.ikbase-header-override .header,
.ikbase-header-override .masthead,
.ikbase-header-override .site-branding,
.ikbase-header-override .custom-header,
.ikbase-header-override .header-wrap,
.ikbase-header-override .header-container,
.ikbase-header-override .top-header,
.ikbase-header-override .main-header,
.ikbase-header-override .primary-header,
.ikbase-header-override .site-header-wrap,
.ikbase-header-override .header-main,
.ikbase-header-override .header-area,
.ikbase-header-override .site-top,
.ikbase-header-override .header-section,
.ikbase-header-override .navigation-top {
    display: none !important;
}

/* Hide Elementor headers when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled .elementor-location-header,
.ikbase-hero-enabled .elementor-kit-header,
.ikbase-hero-enabled .elementor-header,
.ikbase-hero-enabled .e-con-header,
.ikbase-hero-enabled .elementor-section[data-element_type="header"],
.ikbase-hero-enabled .elementor-widget-theme-site-logo,
.ikbase-hero-enabled .elementor-widget-nav-menu,
.ikbase-hero-enabled .elementor-widget-site-title,
.ikbase-hero-enabled .hfe-header,
.ikbase-hero-enabled .ehf-header,
.ikbase-hero-enabled .ast-header-break-point,
.ikbase-hero-enabled .ast-desktop-header,
.ikbase-hero-enabled .ast-mobile-header,
.ikbase-hero-enabled .kadence-header,
.ikbase-hero-enabled .site-header-focus-item,
.ikbase-hero-enabled .site-header-row,
.ikbase-hero-enabled .site-header-item,
.ikbase-hero-enabled .header-navigation,
.ikbase-hero-enabled .header-mobile-layout,
.ikbase-hero-enabled .header-desktop-layout,
.ikbase-header-override .elementor-location-header,
.ikbase-header-override .elementor-kit-header,
.ikbase-header-override .elementor-header,
.ikbase-header-override .e-con-header,
.ikbase-header-override .elementor-section[data-element_type="header"],
.ikbase-header-override .elementor-widget-theme-site-logo,
.ikbase-header-override .elementor-widget-nav-menu,
.ikbase-header-override .elementor-widget-site-title,
.ikbase-header-override .hfe-header,
.ikbase-header-override .ehf-header,
.ikbase-header-override .ast-header-break-point,
.ikbase-header-override .ast-desktop-header,
.ikbase-header-override .ast-mobile-header,
.ikbase-header-override .kadence-header,
.ikbase-header-override .site-header-focus-item,
.ikbase-header-override .site-header-row,
.ikbase-header-override .site-header-item,
.ikbase-header-override .header-navigation,
.ikbase-header-override .header-mobile-layout,
.ikbase-header-override .header-desktop-layout {
    display: none !important;
}

/* Hide admin bar when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled #wpadminbar,
.ikbase-header-override #wpadminbar,
.ikbase-header-override-active #wpadminbar {
    display: none !important;
}

/* Additional header elements to hide */
.ikbase-header-override .wp-block-template-part,
.ikbase-header-override .wp-site-blocks > header,
.ikbase-header-override .wp-block-group[data-align="full"] header,
.ikbase-header-override-active .wp-block-template-part,
.ikbase-header-override-active .wp-site-blocks > header,
.ikbase-header-override-active .wp-block-group[data-align="full"] header {
    display: none !important;
}

/* Adjust body margin when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled .ikbase-hero-section,
.ikbase-header-override .ikbase-simple-header {
    margin-top: 0 !important;
}

/* Remove default margins and padding when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled body,
.ikbase-header-override body,
.ikbase-header-override-active body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure content starts at top */
.ikbase-header-override-active .site-content,
.ikbase-header-override-active .main-content,
.ikbase-header-override-active .content-area,
.ikbase-header-override-active .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide breadcrumbs and other navigation elements when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled .breadcrumb,
.ikbase-hero-enabled .breadcrumbs,
.ikbase-hero-enabled .woocommerce-breadcrumb,
.ikbase-hero-enabled .rank-math-breadcrumb,
.ikbase-hero-enabled .yoast-breadcrumb,
.ikbase-hero-enabled .breadcrumb-trail,
.ikbase-hero-enabled .site-breadcrumbs,
.ikbase-hero-enabled .page-header,
.ikbase-hero-enabled .entry-header,
.ikbase-hero-enabled .archive-header,
.ikbase-hero-enabled .page-title,
.ikbase-hero-enabled .archive-title,
.ikbase-hero-enabled .taxonomy-description,
.ikbase-hero-enabled .page-description,
.ikbase-hero-enabled .archive-description,
.ikbase-header-override .breadcrumb,
.ikbase-header-override .breadcrumbs,
.ikbase-header-override .woocommerce-breadcrumb,
.ikbase-header-override .rank-math-breadcrumb,
.ikbase-header-override .yoast-breadcrumb,
.ikbase-header-override .breadcrumb-trail,
.ikbase-header-override .site-breadcrumbs,
.ikbase-header-override .page-header,
.ikbase-header-override .entry-header,
.ikbase-header-override .archive-header,
.ikbase-header-override .page-title,
.ikbase-header-override .archive-title,
.ikbase-header-override .taxonomy-description,
.ikbase-header-override .page-description,
.ikbase-header-override .archive-description {
    display: none !important;
}

/* Custom breadcrumbs styling when hero section is enabled OR header override is enabled */
.ikbase-hero-enabled .ikbase-breadcrumbs,
.ikbase-header-override .ikbase-breadcrumbs {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 20px 0;
    display: inline-block;
}

.ikbase-hero-enabled .ikbase-breadcrumbs a,
.ikbase-header-override .ikbase-breadcrumbs a {
    color: #007cba;
    text-decoration: none;
}

.ikbase-hero-enabled .ikbase-breadcrumbs a:hover,
.ikbase-header-override .ikbase-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Quick Stats/Info in Hero */
.ikbase-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.ikbase-hero-stat {
    text-align: center;
}

.ikbase-hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.ikbase-hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ikbase-hero-section {
        padding: 60px 15px;
    }
    
        .ikbase-hero-back-button {
        top: 15px;
        right: 15px;
    }

    .ikbase-back-to-site {
        padding: 6px 12px;
        font-size: 13px;
        gap: 4px;
    }

    .ikbase-back-icon {
        font-size: 12px;
    }

    .ikbase-hero-logo {
        top: 15px;
        left: 15px;
    }

    .ikbase-hero-logo-img {
        max-height: 40px;
        max-width: 150px;
    }
    
    .ikbase-hero-title {
        font-size: 2rem;
    }
    
    .ikbase-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .ikbase-hero-search-form {
        flex-direction: column;
        gap: 15px;
        border-radius: 15px;
        padding: 15px;
    }
    
    .ikbase-hero-search-input,
    .ikbase-hero-search-button {
        border-radius: 15px;
    }
    
    .ikbase-hero-stats {
        gap: 20px;
    }
    
    .ikbase-hero-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ikbase-hero-title {
        font-size: 1.75rem;
    }
    
    .ikbase-hero-subtitle {
        font-size: 1rem;
    }
    
    .ikbase-hero-search-input,
    .ikbase-hero-search-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Animation Effects */
.ikbase-hero-section {
    animation: ikbaseHeroFadeIn 0.8s ease-out;
}

@keyframes ikbaseHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ikbase-hero-search-form {
    animation: ikbaseHeroSearchSlide 0.8s ease-out 0.3s both;
}

@keyframes ikbaseHeroSearchSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ikbaseHeroLogoFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Custom scrollbar for hero section */
.ikbase-hero-section::-webkit-scrollbar {
    width: 8px;
}

.ikbase-hero-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.ikbase-hero-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.ikbase-hero-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Enhanced Hero Section Features */

/* Background Image Overlay */
.ikbase-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above overlay */
.ikbase-hero-content {
    position: relative;
    z-index: 2;
}

/* Admin Interface Styling for Enhanced Features */

/* Color Picker Wrapper */
.ikbase-color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.ikbase-color-preview {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
}

.ikbase-gradient-preview {
    width: 200px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #ddd;
    margin-top: 10px;
}

/* Background Type Selector */
.ikbase-background-type-selector select {
    min-width: 200px;
}

/* Image Upload Wrapper */
.ikbase-image-upload-wrapper {
    max-width: 400px;
}

.ikbase-image-preview {
    margin-bottom: 15px;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    background: #fafafa;
}

.ikbase-image-placeholder {
    color: #999;
}

.ikbase-image-placeholder p {
    margin: 10px 0 0 0;
    font-style: italic;
}

.ikbase-image-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Opacity Slider */
.ikbase-opacity-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ikbase-opacity-slider {
    width: 200px;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.ikbase-opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007cba;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ikbase-opacity-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007cba;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ikbase-opacity-display {
    min-width: 50px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* Subsection Styling */
.ikbase-subsection {
    margin-bottom: 40px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ikbase-subsection-title {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.ikbase-subsection-title .dashicons {
    color: #007cba;
    font-size: 18px;
}

/* Toggle Switch Styling */
.ikbase-toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.ikbase-toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ikbase-toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.ikbase-toggle-slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ikbase-toggle-switch input:checked + .ikbase-toggle-slider {
    background-color: #007cba;
}

.ikbase-toggle-switch input:checked + .ikbase-toggle-slider:before {
    transform: translateX(26px);
}

.ikbase-toggle-label {
    font-weight: 500;
    color: #333;
}

/* Conditional Display */
#hero-header-override-options {
    transition: all 0.3s ease;
}

#hero-header-override-options.hidden {
    display: none;
}

/* Background Option Rows */
#hero-background-color-row,
#hero-gradient-color-row,
#hero-background-image-row,
#hero-background-opacity-row {
    transition: all 0.3s ease;
}

/* Enhanced Hero Section Responsive Design */
@media (max-width: 768px) {
    .ikbase-subsection {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .ikbase-color-picker-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ikbase-gradient-preview {
        width: 100%;
        max-width: 300px;
    }
    
    .ikbase-opacity-slider-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ikbase-opacity-slider {
        width: 100%;
        max-width: 300px;
    }
    
    .ikbase-image-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ikbase-subsection {
        padding: 15px 10px;
    }
    
    .ikbase-subsection-title {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .ikbase-image-controls .button {
        width: 100%;
        text-align: center;
    }
}

/* Simple Header Styles (when header override is enabled but hero section is disabled) */
.ikbase-simple-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e5e9;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ikbase-simple-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ikbase-simple-header-left {
    display: flex;
    align-items: center;
}

.ikbase-simple-header-logo {
    display: flex;
    align-items: center;
}

.ikbase-simple-header-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.ikbase-simple-header-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.ikbase-simple-header-right {
    display: flex;
    align-items: center;
}

.ikbase-simple-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #007cba;
}

.ikbase-simple-back-button:hover {
    background: #005a87;
    border-color: #005a87;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
}

.ikbase-simple-back-icon {
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ikbase-simple-back-button:hover .ikbase-simple-back-icon {
    transform: translateX(-2px);
}

/* Responsive styles for simple header */
@media (max-width: 768px) {
    .ikbase-simple-header {
        padding: 12px 0;
    }
    
    .ikbase-simple-header-content {
        padding: 0 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ikbase-simple-header-title h1 {
        font-size: 20px;
    }
    
    .ikbase-simple-back-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ikbase-simple-header-title h1 {
        font-size: 18px;
    }
    
    .ikbase-simple-back-button {
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }
}

.ikbase-hero-section.hero-style-particle_space {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%) !important;
    position: relative;
    overflow: hidden;
}

.ikbase-hero-section.hero-style-particle_space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
}

.ikbase-hero-section.hero-style-neon_cyber {
    background: linear-gradient(135deg, #0f3460 0%, #e94560 50%, #f16272 100%);
    position: relative;
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
}

.ikbase-hero-section.hero-style-neon_cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(233, 69, 96, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 69, 96, 0.3) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: neonGridMove 4s linear infinite;
    pointer-events: none;
}

.ikbase-hero-section.hero-style-nature_flow {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 50%, #093637 100%);
    position: relative;
}

.ikbase-hero-section.hero-style-nature_flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(78, 205, 196, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, rgba(68, 160, 141, 0.15) 0%, transparent 40%);
    animation: organicFlow 8s ease-in-out infinite;
    pointer-events: none;
}

.ikbase-hero-section.hero-style-aurora_lights {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 75%, #f5576c 100%);
    background-size: 400% 400%;
    animation: auroraGradient 8s ease infinite;
    position: relative;
}

.ikbase-hero-section.hero-style-aurora_lights::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: auroraWave 3s ease-in-out infinite;
    pointer-events: none;
}

/* Additional keyframes for enhanced hero styles */
@keyframes particleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
}

@keyframes neonGridMove {
    0% { transform: translate(0, 0); opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { transform: translate(25px, 25px); opacity: 0.3; }
}

@keyframes organicFlow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

@keyframes auroraGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes auroraWave {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

@keyframes glassFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes lineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes vibrantPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.01); filter: brightness(1.1); }
} 
/* Custom CSS */
.ikbase-style-opt-in-focus .ikbase-hero-overlay{
   position: relative !important;
   pointer-events: unset !important;
}
.ikbase-style-opt-in-focus .ikbase-hero-search-form{
    display: block !important;
}
.ikbase-style-opt-in-focus .ikbase-breadcrumbs {
    background: rgb(13 130 204);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 20px 0;
    display: inline-block;
    position: absolute;
    z-index: 9999;
    top: 20px;
    left: 20px;
}
.ikbase-style-opt-in-focus .ikbase-plugin{
    position: relative;
}
.ikbase-style-opt-in-focus .ikbase-breadcrumbs a, .ikbase-header-override .ikbase-breadcrumbs a{
    color: #fff;
}
.ikbase-style-opt-in-focus .ikbase-breadcrumb-separator{
    color: #fff;
}
.ikbase-style-opt-in-focus .ikbase-breadcrumb-current{
    color: #fff;
}
.ikbase-style-opt-in-focus input#ikbase-hero-search {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #000 !important;
}