/* ===================================================================================

* Theme Name: Morat Child
* Theme URI: https://twinkletheme.com/rrdevs/morat/
* Author: RRdevs
* Author URI: https://themeforest.net/user/rrdevs/portfolio
* Description: Morat Child – Software & Solution WordPress Theme
* Version: 1.0.0
* Template: morat
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */
:root{
	--primary-font: "Gabarito", serif;
	--mt-color-theme-primary: #FF8A3A !important;
	--mt-color-theme-secondary: #BECBC4 !important;
	--blue-green: #92B6BC;
	--green: #BECBC4;
	--green2: #cfd9d4;
	--pink: #C69E9F;
	--cream: #E8DFCF;
	--cream2: #FFFBF4;
	--cream3: #FFF6E6;		
	--orange: #FF8A3A;
	--font-color1: #2A1B1E;
}

/* HEADER SECTION =================================================================================== */

.header .primary-header-inner {
    background-color: transparent !important;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li a {
    font-family: var(--primary-font);
    color: #222;
    padding: 20px 0;
}
/*
body.home .header .primary-header-inner .header-menu-wrap .sub-menu li a {
	color:#fff;
}
body.home .header .primary-header-inner .header-menu-wrap .sub-menu .menu-item-has-children ul li a{
    color: #222;
} */
.header-logo {
    padding: 20px 0 !important;
}

.header-logo img.custom-logo {
    width: 170px;
    height: auto;
}
/*
body.home .header.sticky-active.fixed .primary-header-inner {
	background-color: rgba(42,27,30, 0.5) !important;
	
} */

.header.sticky-active.fixed .primary-header-inner {
	background-color: rgba(255,255,255, 1) !important;
	
}
.header .primary-header-inner .header-right .header-btn {
	display: none !important;
}

/* END OF HEADER SECTION =================================================================================== */



/* HERO SECTION =================================================================================== */

.video-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; /* Ensure video fills horizontally */
    min-height: 100%; /* Ensure video fills vertically */
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover; /* Crop the video to fit container */
}

/* Overlay Text */
.overlay-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* Higher than video */
    color: white;
	width:80%;
}

.overlay-text h1 {
    font-size: 4.5vw; /* Adjust for responsiveness */
    line-height: 4.5vw;
	margin: 0;
}

.overlay-text p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Optional: Overlay Background for Contrast */
.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
}

/* END OF HERO SECTION =================================================================================== */

.sub-menu-icon{
	width:40px;
	height:40px;
}
.menu-description {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.menu-item a {
    display: block;
    font-weight: bold;
    color: #333;
}

.menu-item a:hover {
    color: #0073aa; /* Replace with your brand color */
}
.menu-icon {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: #333; /* Adjust color for icons */
}

.menu-image {
    width: 20px; /* Adjust size as needed */
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle; /* Align with text */
}

.menu-item a {
    display: flex;
    align-items: center;
}


/* Style the parent container for the submenu 

.header .primary-header-inner .header-menu-wrap .sub-menu li ul * */
ul.main-menu__list ul.sub-menu{
    display: none; /* Hide submenu by default */
    position: absolute !important;
    top: 100% !important; /* Position the submenu below the parent */
    left: auto; /* Remove left positioning */
    transform: translateX(-100%);
    width: 90vw !important; /* Set submenu width to 90% of the viewport */
    max-width: 1400px !important;  /* Optional: Add a max-width for large screens */
    background: #fff !important; /* Submenu background color */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1) !important; /* Add subtle shadow */
    padding: 25px !important; /* Add spacing inside the submenu */
    z-index: 1000 !important; /* Ensure it appears above other elements */
    border-radius: 8px !important; /* Optional: Rounded corners */
}

/* Show the submenu on hover */
.main-menu__list > li:hover > .sub-menu {
    display: block;
}

/* Submenu items styling */
.main-menu__list .sub-menu .menu-item {
    display: flex;
    align-items: center; /* Align text and icons/images */
    margin-bottom: 10px; /* Add spacing between items */
}

.main-menu__list .sub-menu .menu-item:last-child {
    margin-bottom: 0;
}

/* Add spacing and icon alignment */
.main-menu__list .sub-menu .menu-item img {
   width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 5px;
    padding: 20px;
    background-color: var(--cream3);
    border: 1px solid var(--cream);
	float: left;
}

/* Submenu links styling */
.main-menu__list .sub-menu .menu-item a {
    color: #333; /* Link color */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    flex: 1; /* Allow link text to grow */
}

.main-menu__list .sub-menu .menu-item a:hover {
    color: #f76c6c; /* Hover color for links */
}

/* Description styling */
.main-menu__list .sub-menu .menu-item .menu-description {
    font-size: 14px;
    color: #666;
    margin-top: 2px; /* Add slight space below the title */
}

.header .primary-header-inner .header-menu-wrap .sub-menu .menu-item-has-children ul li {
    margin: 0;
    padding-left: 25px;
    float: left;
    width: 30%;
}

.header .primary-header-inner .header-menu-wrap .sub-menu li li {
    border-bottom: 1px dashed #aeaeae !important;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li:hover{
	background-color: var(--green) !important;
}
/* Responsive: Adjust for smaller screens */
@media screen and (max-width: 768px) {
    ul.main-menu__list ul.sub-menu {
        width: 100vw; /* Full screen width on small screens */
        left: 0; /* Align to the left edge */
    }
}



/* FONTS SECTION =================================================================================== */
h1, h2, h3, h4, h5{
	font-family: var(--primary-font);
}
h2{
	font-size: 5vw;
	line-height: 5vw;
}
h3{
	font-size: 1.5vw;
}

.video-container h1{
	color: #fff;
	font-family: var(--primary-font);
}

body, p, li {
	font-size: 0.9vw;
	line-height:1.1vw;
	font-weight:400;
  font-family: var(--primary-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
	color: #222;
}
li{
	margin-bottom: 7px;
}
ul.list1{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	margin-top:40px;
}
ul.list1 li{
	margin-bottom: 20px;
	border-bottom: 1px solid #fff;
	padding-bottom: 20px;
}
ul.list1 li.last{
	border-bottom: 0 solid #fff;
}
.font-10vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 10vw;
	font-weight: 800;
	line-height: 9vw;
	color: var(--font-color1);
}
.font-9vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 9vw;
	font-weight: 800;
	line-height: 9vw;
	color: var(--font-color1);
}
.font-6vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 6vw;
	font-weight: 600;
	line-height: 5vw;
	color: var(--font-color1);
}
.font-5vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 5vw;
	font-weight: 600;
	line-height: 4.5vw;
	color: var(--font-color1);
}
.font-4vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 4vw;
	font-weight: 600;
	line-height: 4vw;
	color: var(--font-color1);
}
.font-2vw,
.subtitle{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 2vw;
	font-weight: 400;
	line-height: 2.4vw;
	color: var(--font-color1);
}

.font-1-7vw{
	font-family: var(--primary-font);
	font-optical-sizing: auto;
	font-size: 1.7vw;
	font-weight: 400;
	line-height: 2.2vw;
	color: var(--font-color1);
}

.align-right-desktop{
	text-align:right;
}
.dark-brown-color{
	color: var(--font-color1);
}
/* END OF FONTS SECTION =================================================================================== */




/* BACKGROUNDS SECTION =================================================================================== */

.bg-blue-green{
	background-color: var(--blue-green);
}
.bg-green{
	background-color: var(--green);
}
.bg-green2{
	background-color: var(--green2);
}
.bg-pink{
	background-color: var(--pink);
}
.bg-cream{
	background-color: var(--cream);
}
.bg-cream2{
	background-color: var(--cream2);
}
.bg-cream3{
	background-color: var(--cream3);
}
.bg-cream-orange{
	 background: linear-gradient(220deg, var(--orange) 50%, var(--cream) 50%);
}
/* END OF BACKGROUNDS SECTION =================================================================================== */




/* PADDING / MARGIN =================================================================================== */

.padding-100-t-b{
	padding-top:10vw;
	padding-bottom: 10vw;
}
.padding-5vw-t-b{
	padding-top:5vw;
	padding-bottom: 5vw;
}
.card-item-content-padding{
	padding-top: 1vw;
	padding-bottom: 1vw;
}
.padding-2vw-t-b{
	padding-top:2vw;
	padding-bottom: 2vw;
}
.padding-3vw-t-1vw-b{
	padding-top: 3vw;
	padding-bottom: 1vw;
}
.padding-30px{
	padding:30px;
}
.padding-top-20px{
	padding-top: 20px;
}
.padding-bottom-20px{
	padding-bottom: 20px;
}
.padding-bottom-30px{
	padding-bottom: 30px;
}
.margin-bottom-40px{
	margin-bottom: 40px;
}
.margin-top-30px{
	margin-top: 30px;
}
.margin-top-40px{
	margin-top: 40px;
}
.margin-top-60px{
	margin-top: 60px;
}
.margin-bottom-60px{
	margin-bottom: 60px;
}
/* END OF PADDING / MARGIN =================================================================================== */



/* DIVs =================================================================================== */

.div-100per{
	position:relative;
	display: block;
	float: left;
	width: 100%;
}
.div-50per{
	position:relative;
	display: inline;
	float: left;
	width: 50%;
}
.div-30per{
	position:relative;
	display: inline;
	float: left;
	width: 30%;
}
.div-1420{
	position:relative;
	display: block;
	max-width: 1420px;
	width:90%;
	margin:0 auto;
}
.div-1280{
	position:relative;
	display: block;
	max-width: 1280px;
	width:90%;
	margin:0 auto;
}
.div-1100{
	position:relative;
	display: block;
	max-width: 1100px;
	width:80%;
	margin:0 auto;
}
.cards-container {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 2 columns for larger screens */
  	gap: 20px; /* Space between cards */
	max-width:1100px;
	width:100%;
	margin:0 auto;
}
.card-odd,
.card-even,
.card-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.card-odd {
  margin-top:0;
}
.card-even {
	margin-top:40px;
}
.card-item{
	width: 100%;
	padding:20px;
}

.boxed-content{
	width:90%;
	max-width:1280px;
	margin-right: auto;
	margin-left: auto;
}

.page-header{
	display:none;
}
.side-menu-social {
    display: none;
}
.footer-logo img, .side-menu-logo img {
    max-width: 130px;
}
.display-not{
	display: none;
}
.copyright-area {
    background-color: var(--mt-color-common-black);
    color: #fff;
    font-weight: 400;
    font-size: 17px;
}
.copyright-content{
	text-align: left !important;
}
.copyright-content p {
    color: #cccccc;
}
.text-xl-end {
    text-align: left!important;
}
.grid-container {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 1px; */
    background-color: var(--bg-green);
    padding: 0;
    border: solid 1px var(--bg-green);
    box-sizing: border-box;
}
.grid-item {
    background-color: var(--bg-green);
    text-align: center;
    padding: 20px;
    font-size: 16px;
    box-sizing: border-box;
    color: #000;
	 border: dashed 1px #f9f9f9;
}
/* END OF DIVs =================================================================================== */



/* FOOTER =================================================================================== */

footer div.container{
	width:90%;
	max-width: 90% !important;
}

/* END OF FOOTER =================================================================================== */


/* FORM =================================================================================== */
.btn1, 
[type=submit]{
	background-color: var(--orange);
	font-size: 1.5vw;
    padding: 10px 20px;
    border-radius: 1.6vw;
    color: var(--font-color1);
	margin-top:20px;
	display: inline-block;
	border: 0 !important;
}
.btn1:hover, 
[type=submit]:hover{
	background-color: #000;
	color: #fff;
	border: 0 !important;
}
input, textarea {
    outline: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    line-height: 27px;
	padding: 5px 10px;
}
/* END OF FORM =================================================================================== */


/* RESPONSIVE =================================================================================== */


/* Extra Small Screens (Phones) */
@media (max-width: 576px) {
  /* Styles for devices smaller than 576px */
	
	/* HEADER */
	.header .header-container {
		background: rgba(0,0,0,0);
		position: absolute;
    	z-index: 100; 
	}
	.header-logo {
    padding: 0 !important;
}
	.mean-nav ul li img{
		display: none;
	}
	nav.mean-nav ul li ul li {
		height: 30px !important;
		padding-bottom: 0 !important;
	}
	nav.mean-nav ul li ul li a{
		font-size: 17px !important;
	}
	nav.mean-nav ul li ul li a p{
		display: none;
		margin-bottom: 0 !important;
	}
	.mobile-side-menu p {
		margin-bottom: 0 !important;
	}
	/* END OF HEADER */
	
	/* HOME HERO */
	.overlay-text {
		width: 95%;
	}
	.overlay-text h1 {
    	font-size: 8vw;
    	line-height: 8.5vw;
	}
	/* END OF HOME HERO */
	
	/* FONTS */
	h2 {
		font-size: 6vw;
    	line-height: 7vw;
	}
	h3{
		font-size: 4.5vw;
		line-height: 5.5vw;
	}
	body, p, li {
    	font-size: 3.5vw;
    	line-height: 4vw;
	}
	.font-2vw, .subtitle {
		font-size: 4vw;
		line-height: 5vw;
	}
	
	.font-4vw {
		font-size: 6vw;
		line-height: 7vw;
	}
	ul.list1{
		margin-top:0;
	}
	.font-1-7vw {
		font-size: 4vw;
		line-height: 5.3vw;
	}
	.copyright-content p {
		line-height: 23px;
	}
	.mobile-left{
		text-align:left !important;
	}
	/* END OF FONTS */
	
	/* DIVs */
	.cards-container {
		grid-template-columns: 1fr;
	}
	
	.div-1420 {
		padding: 0;
	}
	/* END OF DIVs */
	
	/* PADDING / MARGIN */
	.padding-100-t-b {
    	padding-top: 20vw;
	}
	
	/* END OF PADDING / MARGIN */
	
	/* FORMS */
	.btn1, [type=submit] {
		font-size: 4vw;
	}
	input, 
	textarea,
	.div-30per,
	.div-50per{
		width: 100%;
	}
	/* END OF FORMS */
}

/* Small Screens (Tablets, Phones in Landscape) */
@media (min-width: 577px) and (max-width: 768px) {
  /* Styles for devices between 577px and 768px */
}

/* Medium Screens (Tablets and Small Laptops) */
@media (min-width: 769px) and (max-width: 992px) {
  /* Styles for devices between 769px and 992px */
}

@media only screen and (max-width: 992px){
	.header .primary-header-inner .header-right .header-right-item {
    	line-height: 1;
    	background: #222;
    	padding: 5px 7px;
    	border-radius: 5px;
	}
	.header .primary-header-inner .header-right .header-right-item .mobile-side-menu-toggle {
    	color: #fff;
    	font-size: 30px;
	}
	.header .primary-header-inner {
    	padding: 20px;
	}
	.header .header-container {
		padding: 0;
	}
}
/* Large Screens (Laptops, Desktops) */
@media (min-width: 993px) and (max-width: 1200px) {
  /* Styles for devices between 993px and 1200px */
	ul.main-menu__list ul.sub-menu {
        width: 100vw; /* Full screen width on small screens */
        left: 0; /* Align to the left edge */
    }
}

/* Extra Large Screens (Wide Desktops) */
@media (min-width: 1201px) {
  
	/* FONTS */
	h3 {
    	font-size: 2.6vw;
		line-height: 2.6vw;
	}
	h4 {
    	font-size: 1.8vw;
	}
	p, body, li {
    	font-size: 1.5vw;
    	line-height: 1.8vw;
	}
	li{
		margin-bottom: 7px;
	}
	
	/* END OF FONTS */
	
	ul.main-menu__list ul.sub-menu {
        width: 100vw; /* Full screen width on small screens */
        left: 0; /* Align to the left edge */
    }
}
@media (min-width: 1366px) {
	
	/* HOME HERO SECTION */
	.overlay-text {
		width:90%;
	}
	
	/* END OF HOME HERO SECTION */
	
	/* FONTS */
	.overlay-text h1 {
    	font-size: 5.5vw;
    	line-height: 5.5vw;
	}
	/* END OF FONTS */
	
}
/* Extra Large Screens (Wide Desktops) */
@media (min-width: 1400px) {
  
	/* FONTS */
	h2{
		font-size:4vw;
		line-height:4vw;
	}
	h3 {
    	font-size: 2.2vw;
	}
	body, p, li{
    	font-size: 1.4vw;
    	line-height: 1.7vw;
	}
	li{
		margin-bottom: 7px;
	}
	
	/* END OF FONTS */
	ul.main-menu__list ul.sub-menu {
        width: 100vw; /* Full screen width on small screens */
        left: 0; /* Align to the left edge */
    }
}

@media (min-width: 1420px) {
	ul.main-menu__list ul.sub-menu{
    display: none; /* Hide submenu by default */
    position: absolute !important;
    top: 100% !important; /* Position the submenu below the parent */
    left: auto; /* Remove left positioning */
    transform: translateX(-100%);
    width: 100vw !important; /* Set submenu width to 90% of the viewport */
    max-width: 1400px !important;  /* Optional: Add a max-width for large screens */
    background: #fff !important; /* Submenu background color */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1) !important; /* Add subtle shadow */
    padding: 25px !important; /* Add spacing inside the submenu */
    z-index: 1000 !important; /* Ensure it appears above other elements */
    border-radius: 8px !important; /* Optional: Rounded corners */
}
}

@media (min-width: 1920px) {
	/* HOME HERO SECTION */
	.overlay-text {
		width:80%;
	}
	
	/* END OF HOME HERO SECTION */
	
	/* FONTS */
	body, p, li {
    	font-size: 1vw;
    	line-height: 1.2vw;
	}
	.overlay-text h1 {
    	font-size: 4.5vw;
    	line-height: 4.5vw;
	}
	
	h2 {
    	font-size: 2.5vw;
    	line-height: 2.5vw;
	}
	h3 {
    	font-size: 1.6vw;
		line-height: 1.8vw;
	}
	h4 {
    	font-size: 1.2vw;
		line-height: 1.4vw;
	}
	.subtitle,
	.font-1-7vw{
		font-size: 1.3vw;
    	line-height: 1.5vw;
	}
	.font-9vw {
		font-size: 7vw;
		line-height: 7vw;
	}
	.font-5vw {
		font-size: 4vw;
		line-height: 3.5vw;
	}
	.font-4vw {
		font-size: 3vw;
		font-weight: 600;
		line-height: 3vw;
	}

	
	/* END OF FONTS */
	
	/* FORM */
	.btn1, [type=submit] {
		font-size: 1.2vw;
		padding: 20px 40px;
		border-radius: 1.4vw;
	}
	
	/* END OF FORM */
}