/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* Submenu item hover effect with icon and dashed divider */
.ast-desktop .main-header-menu .sub-menu li {
    border-bottom: 1px dashed #ADB5BD; /* Dashed divider */
}

.ast-desktop .main-header-menu .sub-menu li:last-child {
    border-bottom: none; /* Remove border from last item */
}

.ast-desktop .main-header-menu .sub-menu li a {
    position: relative;
    transition: padding 0.3s, color 0.3s;
}

.ast-desktop .main-header-menu .sub-menu li a:hover {
    padding-left: 25px; /* Shift right on hover */
    color: #fff; /* Change text color on hover */
}

.ast-desktop .main-header-menu .sub-menu li a::before {
    content: "❯"; /* Icon */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px; /* Icon size */
    color: transparent;
    transition: color 0.3s, left 0.3s;
}

.ast-desktop .main-header-menu .sub-menu li a:hover::before {
    color: #fff; /* Show icon */
    left: 10px; /* Move icon with text */
}



/* Hover color and underline for titles with the title-hover class */
.title-hover a:hover {
    text-decoration: underline !important;
}

/* Custom styling for Post Info widget with class 'styled-post-info' */
.styled-post-info a {
    display: inline-block;
    padding: 8px 12px;
    background-color: #495057; /* Button color */
    color: #fff;
    text-decoration: none;
    margin: 0 5px 5px 0;
}

.styled-post-info a:hover {
    background-color: #6C757D; /* Hover color */
}


/* Change icon color on hover for class icon-box-1 */
.icon-box-1:hover .elementor-icon {
    color: #6C757D;
}

/* Change icon color on hover for icon-box-1 container */
.icon-box-1:hover .elementor-icon {
    color: #6C757D; /* Icon hover color */
}


p:last-child {
margin-bottom: 0;
}



 /* Improved Animations Stylesheet works for the 'fade' animations */

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0,-30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInDown {
    animation-name: fadeDown
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInLeft {
    animation-name: fadeLeft
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translate3d(30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInRight {
    animation-name: fadeRight
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0,30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInUp {
    animation-name: fadeUp
}


/* 
  Infinite Scroll Effect for Image Carousel 
  Usage: Add the class 'autoscroll-logo' to the desired Image Carousel widget in Elementor
*/
.autoscroll-logo .swiper-wrapper {
    animation: scrollEffect 30s linear infinite; /* Adjust '30s' for scroll speed */
    transition-timing-function: linear !important; /* Ensure a smooth transition */
}

/* 
  Keyframes for the scrolling animation 
  This defines how the image carousel will move from start to finish 
*/
@keyframes scrollEffect {
    0% { transform: translateX(0); } /* Start position */
    100% { transform: translateX(-100%); } /* End position, fully scrolled */
}


