/**
Theme Name: Ownershift Advisory
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: ownershift-advisory
Template: astra
*/

/*---- Global Header ----*/

/* #header.scrolled .e-con-inner{
 padding-top: 15px !important;
} */

#header{
	border-radius: 20px !important;
	transition: 0.5s ease-in-out;
}

#header.scrolled {
    background: #041e4263;
    backdrop-filter: blur(10px);
}

/* #header .e-con-inner{
 transition: 0.5s ease-in-out;
}

#header .drop-down-padding .e-con-inner{
	padding: inherit !important;
}
 */

/*---- Global CSS ----*/

.global-btn svg{
    width: 22px;
    transition: 0.5s ease-in-out;
}

.global-btn .elementor-button:hover svg{
    transform: rotate(-45deg)
}

.global-btn .elementor-button-content-wrapper{
    align-items: center !important;
}

.ast-separate-container .ast-article-post{
	border: 0 !important;
}

.site-content .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ast-separate-container #primary{
	margin: 0 !important;
	padding: 0 !important;
}  

#ast-scroll-top {
	background-color: #041e42 !important;
    color: #ffffff !important;
	border: 1px solid #ffffff !important;
}

/*--- Hover Box ---*/

.hover-box{
	cursor: pointer;
}

.hover-box h6, .hover-box .hover-text{
    transition: 0.5s ease-in-out;
}

.hover-box:hover h6{
    color: #ffffff !important;
}

.hover-box:hover .hover-text{
    color: #ffffff !important;
}

.hover-box::after {
    transform: rotateY(0deg);
    opacity: 0;
}

.hover-box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #041E42;
    top: 0;
    left: 0;
    border-radius: 12px;
    pointer-events: none;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    opacity: 0;
    z-index: 1;
}

.hover-box:hover::after {
    transition: 0.5s;
    transform: rotateY(180deg);
    background-color: #041E42;
    opacity: 1;
}

.counter-hover, .elementor-counter-title, .elementor-counter-number-wrapper{
	transition: 0.5s ease-in-out;
}

.counter-hover:hover{
	background-color: #041E42 !important;
}

.counter-hover:hover .elementor-counter-title{
    color: white !important;
}

.counter-hover:hover .elementor-counter-number-wrapper{
    color: white !important;
}

.counter-hover:hover .color-chnage-counter h4{
    color: white !important;
}


/*---- Contact Us Form ----*/

.contact-form {
	position: relative;
}

.contact-form input::placeholder{
	color: #ffffff !important;
	opacity: 1 !important;
}

.contact-form textarea::placeholder{
	color: #ffffff !important;
	opacity: 1 !important;
}


@media(max-width: 1024px){

.contact-form .elementor-field-group {
    margin-bottom: 20px !important;
}


}

@media(max-width: 767px){

 .global-btn svg {
    width: 16px;
}
	
}

/* Parent container stays absolute as per your design */
.contact-form .elementor-field-type-upload {
    position: absolute;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
    bottom: 0;
    top: auto;
    left: 180px;
    width: 200px; /* same as input */
    box-sizing: border-box;
}

/* Hide the actual file input but keep clickable */
.contact-form .elementor-field-type-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0; /* hides input */
    cursor: pointer;
    z-index: 20; /* above pseudo-element */
}

/* Use ::before on the parent, works in all browsers */
.contact-form .elementor-field-type-upload::before {
    content: "Upload File";
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: #041e42;
    border-radius: 6px;
    padding: 9px 30px;
    border: 1px solid #041e42;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* Hover effect */
.contact-form .elementor-field-type-upload:hover::before {
    background: #54575c;
    color: #fff;
}

/* Position the uploaded file name absolutely under the button */
.contact-form .elementor-field-type-upload {
    position: absolute; /* already absolute */
}

.contact-form .elementor-field-type-upload .file-upload-message {
    position: absolute;
    top: 100%; /* directly under the button */
    left: 0;
    color: #fff; /* white text */
    font-size: 14px;
    margin-top: 5px; /* space under button */
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* .contact-form.file-upload .elementor-message{
	position: absolute;
	bottom: -20px;

} */

/* Responsive adjustments */
@media(max-width: 1024px){
    .contact-form .elementor-field-type-upload {
        left: 160px;
        width: 250px !important;
    }
    .contact-form .elementor-field-type-upload::before {
        padding: 10px 25px;
        font-size: 16px;
		bottom: -15px;
    }
	.contact-form .elementor-field-type-upload::before {
    	width: 60%;
	}
	
	.contact-form .elementor-field-type-upload .file-upload-message {
    	margin-top: 15px;
    	width: 80%;
	}
}

@media(max-width: 767px){

	.contact-form .elementor-field-type-upload{
		position: relative;
	}

	.contact-form .elementor-field-type-upload::before {
    	width: 100%;
	}

	.contact-form .elementor-field-type-upload::before{
		bottom: 0px;
    }

    .contact-form .elementor-field-group {
        margin-bottom: 15px !important;
    }
    .contact-form .elementor-field-type-upload {
        position: initial !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        padding-left: calc(35px / 2) !important;
        padding-right: calc(35px / 2) !important;
    }
    .contact-form .elementor-field-type-upload::before {
        padding: 8px 25px;
        font-size: 15px;
    }

	.contact-form .elementor-field-type-upload .file-upload-message {
    	position: absolute;
    	top: 88%;
	}

    .contact-form .elementor-field-type-upload .file-upload-message {
        margin-top: 0px;
	}
}





  