/* 
    Theme Name: Hello Elementor Child
    Theme URI: https://github.com/elementor/hello-theme/
    Description: Hello Elementor Child is a child theme of Hello Elementor
    Author: PomTech
    Author URI: https://pomtech.com/
    Template: hello-elementor
    Version: 1.0.0
    Text Domain: hello-elementor-child
    License: GNU General Public License v3 or later.
    License URI: https://www.gnu.org/licenses/gpl-3.0.html
    Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ===== Industries We Serve page ===== */
.hover-box{
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
}

.hover-box::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1) 5%,
        rgba(0,0,0,0.85) 50%,
        rgba(0,0,0,0.40) 100%
    );

    z-index:1;

    transform: scaleY(0.2);
    transform-origin: bottom; 
    transition: transform .5s ease;
}
.hover-box:hover::before{
    transform: scaleY(1);
}

.hover-content{
    position:absolute;
    bottom: 0px;
    left:0;
    width:100%;
    padding:0 20px;
    display:flex;
    flex-direction:column;
    gap:10px;
    z-index:2;
    transition:transform .45s ease;
}

.hover-content .elementor-widget-text-editor,
.hover-content .elementor-widget-button{
    opacity:0;
    transform:translateY(20px);
    max-height:0;
    overflow:hidden;
    transition:all .45s ease;
}

.hover-box:hover .hover-content{
    transform:translateY(-40px);
}

.hover-box:hover .elementor-widget-text-editor,
.hover-box:hover .elementor-widget-button{
    opacity:1;
    transform:translateY(0);
    max-height:200px;
}
.hover-box:hover {
    box-shadow:10
}

.hover-box{
    transition: transform .35s ease, box-shadow .35s ease;
}

.hover-box:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 90, 255, 0.45);
}
.hover-box:hover{
    box-shadow: 0 10px 0 0 #a82122 !important;
}


/**
 * Contact Form 7 styles.
 */
.aes-field,
.aes-field-checkbox {
    margin-bottom: 20px;
}

.aes-field label,
.aes-field-checkbox > label {
    margin-bottom: 10px;
    font-weight: 500;
}

span.wpcf7-list-item.first {
    margin: 0;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border-color: #c7c7c7;
	border-radius: 0;
}
.cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.cf7-col {
  flex: 1;
}

.cf7-col-full {
  flex: 1 1 100%;
}
.wpcf7 textarea {
    max-height: 120px;
}

.quote-form-terms {
    margin-bottom: 15px;
}

.wpcf7-submit {
    border-radius: 0;
    text-transform: uppercase;
}
span.wpcf7-form-control-wrap {
    display: block;
}
.quote-form-consent > span {
    margin: 20px 0 5px;
}

/**
 * Responsive styles.
 */
@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
  }
}