/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/

/*
    Add your custom styles here
*/



body {
  touch-action: pan-x pan-y;
}

@-ms-viewport{
  width: device-width;
}


.align-center {
	text-align: center;
}

.auto-width img {
	width: auto;
}

.pointer-none * {
	pointer-events: none;
}

.aaa-logo:after {
    content: 'Highest Creditworthiness Rating';
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 8px;
	
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

@media only screen and (max-width: 480px) {
	.aaa-logo:after {
		bottom: 20px;
		right: auto;
	}
}









/**
 * Header & footer
 */

.elementor-widget-theme-site-logo.elementor-widget-image a img[src$=".svg"] {
	width: auto;
}

.elementor-nav-menu--dropdown {
	border-radius: 2px;
	
	position: absolute;
	top: 50px;
	right: 0;
}

.elementor-nav-menu--dropdown .elementor-nav-menu {
	width: 125px;
}

@media only screen and (min-width: 1025px) and (max-width: 1070px) {
	.elementor-widget-theme-site-logo img {
		max-width: 350px !important;
	}
}











/**
 * Headings
 */

@media only screen and (min-width: 1441px) {
	.elementor-heading-title.elementor-size-large {
		font-size: 160px !important;
	}
}

/*add leaves to headings*/
.custom-heading-widget:before {
    content: '';
	background: transparent url(media/small-leafs.svg) no-repeat;
	background-size: contain;
    position: absolute;
}

.products-heading:before {
	width: 140px;
	height: 140px;
    left: -100px;
    top: -80px;	
}

.brands-heading:before,
.company-heading:before {
	width: 130px;
	height: 130px;
    left: -80px;
    top: -40px;	
}


@media only screen and (max-width: 767px) {
	.custom-heading-widget:before {
		width: 65px;
		height: 65px;
		left: -50px;
		top: -40px;
	}
}

@media only screen and (max-width: 480px) {
	.custom-heading-widget:before {
		width: 55px;
		height: 55px;
		left: -40px;
		top: -20px;
	}

}

/*cut titles on bottom*/
.custom-heading-widget h2:after {
    content: '';
	background: #fff;
	
    position: absolute;
	bottom: -15px;
	left: 0;
	
	width: 100%;
	height: 50px;
	
	clip-path: polygon(0 0, 0 0, 100% 100%, 0 100%);
}

.products-heading h2:after {
	clip-path: polygon(5% 100%, 100% 0, 100% 100%, 0 100%);
}


@media only screen and (max-width: 767px) {
	.custom-heading-widget h2:after {
		height: 30px;
	}
	
	.products-heading h2:after {
		bottom: -10px;
	}
}







/**
 * Flip cards
 */

.flip-card-grid {
	width: 500px;
	height: 500px;
	display: grid;
	grid-template-columns: repeat(2, 250px);
	margin: 0 auto;
}

.flip-card {
  border: 2px solid transparent;
  perspective: 1000px;
  display: inline-block;
  margin: 15px;
}

.flip-card div {
  border-radius: 50%;
}

/*to position the front and back side*/
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/*do horizontal flip*/
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/*position the front and back side*/
.flip-card-front, 
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/*front side inner positioning & styling*/
.flip-card-front {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--e-global-color-accent);
}

.flip-card h3 {
    color: var(--e-global-color-accent);
    font-size: 40px;
    font-weight: 500;
    font-family: var(--e-global-typography-primary-font-family);
    margin: 0 0 10px 0;
}

    /*horzontal lines on title*/
    .flip-card h3:before,
    .flip-card h3:after {
        content: "";
        width: 45%;
        height: 2px;
        background: var(--e-global-color-accent);
        position: absolute;
    }
    
    .flip-card h3:before {
        top: 25%;
        left: 50%;
        transform: translateX(-50%)
    }
    
    .flip-card h3:after {
        bottom: 25%;
        left: 50%;
        transform: translateX(-50%)
    }

/*back side inner styling**/
.flip-card-back {
    transform: rotateY(180deg);
    background-size: cover;
    background-repeat: no-repeat
}

.flip-card-1 .flip-card-back {
    background-image: url(media/bars.jpg);
}
.flip-card-2 .flip-card-back {
    background-image: url(media/functionals.jpg);
}
.flip-card-3 .flip-card-back {
    background-image: url(media/snacks_dubai.jpg);
}
.flip-card-4 .flip-card-back {
    background-image: url(media/dragees.jpeg);
}


/*flip card responsivness*/
@media only screen and (max-width: 1366px) {
	.flip-card-grid {
		width: 450px;
		height: 450px;
		grid-template-columns: repeat(2, 225px);
	}
	
	.flip-card h3 {
		font-size: 32px;
	}
}




@media only screen and (max-width: 500px) {
	.flip-card-grid {
		width: 380px;
		height: 380px;
		grid-template-columns: repeat(2, 190px);
	}
	
	.flip-card {
		margin: 10px;
	}
	
	.flip-card h3 {
		font-size: 25px;
	}
}

@media only screen and (max-width: 400px) {
	.flip-card-grid {
		width: 280px;
		height: 280px;
		grid-template-columns: repeat(2, 140px);
	}

	.flip-card h3 {
		font-size: 20px;
	}
}








/**
 * Skewed sections
 */

ul.skew-list { 
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.skew-list li {
    width: 100%;
    height: 600px;
    background: #fff url('') no-repeat;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	transition: all 1s;
}

@media only screen and (min-width: 1366px) {    
    .skew-list li:hover {
        height: 650px;
    }
}

/*backgrounds sections bcgs*/
/*to change single section bcg image position and clip path, go to Elementor editor and change values there*/
.skew-list li.skew-list-item-1 {
    background-image: url(media/modern-production.jpg);
}
.skew-list li.skew-list-item-2 {
	background-image: url(media/pl-solutions.jpg);
}
.skew-list li.skew-list-item-3 {
    background-image: url(media/turnkey-support.jpg);
}
.skew-list li.skew-list-item-4 {
    background-image: url(media/low-minimum-orders.jpg);
}
.skew-list li.skew-list-item-5 {
    background-image: url(media/research-development.jpg);
}
.skew-list li.skew-list-item-6 {
    background-image: url(media/highest-quality.jpg);
}
.skew-list li.skew-list-item-7 {
    background-image: url(media/inhouse-design-studio.jpg);
}

/*enable parallax on mobile+tablets*/
@media only screen and (max-width: 1366px)  {
    .skew-list li, 
	.skewed-section {
background-size: cover;
        background-attachment: scroll;
    }
    
    .skew-list li:before,
	.skewed-section:before {
        content: "";
        top: 0; 
        left: 0; 
        bottom: 0;
        right: 0;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        background-repeat: inherit;
        position: fixed;
        z-index: -1;
		pointer-events: none;
    }
}


/* PHONE ONLY */
@media only screen and (max-width: 480px) {
	.skew-list li:before,
	.skewed-section:before {
        position: static;
    }
}

/*skewed titles*/
/*to change single title bcg position and clip path, go to Elementor editor and change values there*/
.skew-title-wrapper {
    display: inline-block;
    position: absolute;
    top: 20%;
    left: 50px;
    color: #fff;
}

.skew-title-wrapper.position-right {
	left: auto;
	right: 50px;
}

.skew-title-wrapper.position-bottom {
	top: auto;
	bottom: 25%;
}

.skew-title-bcg {
    background: var(--e-global-color-secondary);
    width: 105%;
    height: 110px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.elementor-kit-4 h3.skew-title {
    font: normal normal 700 100px var(--e-global-typography-primary-font-family);
	text-transform: none;
    position: relative;
}

/*skewed sections responsivness*/
@media only screen and (max-width: 1200px) {
	.elementor-kit-4 h3.skew-title {
    	font-size: 70px;
	}
	
	.skew-title-bcg {
		height: 80px;
	}
}

@media only screen and (max-width: 860px) {
	.elementor-kit-4 h3.skew-title {
    	font-size: 50px;
	}
	
	.skew-title-bcg {
		height: 55px;
	}
}

@media only screen and (max-width: 767px) {
	.elementor-kit-4 h3.skew-title {
    	font-size: 35px;
		line-height: 1em;
	}
	
	.skew-list li {
		height: 600px;
	}
}

@media only screen and (max-width: 480px) {
	.skew-list li {
		height: 500px;
	}
	
	.skew-list-item-1 .skew-title-wrapper,
	.skew-list-item-7 .skew-title-wrapper {
		right: 50px;
	}
	
	.skew-list-item-1 .skew-title-wrapper .skew-title-bcg,
	.skew-list-item-7 .skew-title-wrapper .skew-title-bcg {
		height: 70px;
	}
}








/**
 * Company section
 */

.company-leafs_desktop img {
	position: absolute;
	left: -85px;
	bottom: -570px;
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
	.company-advantages-list .elementor-icon-list-text {
		font-size: 16px !important;
	}
	
	.company-leafs_desktop img {
		width: 700px !important;
		max-width: 700px !important;
		bottom: -385px;
	}
}





/**
 * Brands sections
 */