/*!
Theme Name: kosmas
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kosmas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary-color: #c00000;
    --secondary-color: #ffcd36;
	--standard-text-contrast: #eee;
	--standard-text: #444;
	--standard-text-over: #666;
}

body {
	font-family: "Manrope", sans-serif!important;
	position: relative;

}

/* header {
	background-color: #fff;
} */

header {
	background-color: transparent !important;
	position: relative;
	z-index: 10;
}

a {
	text-decoration: none;
}

/* subheading */
h5 {
	font-size: 14px;
	font-weight: lighter!important;
	text-transform: uppercase;
}

.logo-top {
	height: 55px;
}

.logo-bottom {
	height: 80px;
}

.standard-cta-link {
	font-size: 18px;
	font-weight: bold;
	color: var(--primary-color);
	text-decoration: none;
}

.standard-cta-link:hover {
	color: var(--standard-text);
}

/* .info-top {
	border-bottom: solid 1px #eee;
	padding: 8px 50px 10px 50px;
} */

.info-top {
	background-color: rgba(255, 255, 255, 0); 
	position: relative;
	z-index: 10;
  }

.info-top-text {
	font-size: 14px;
	color: var(--standard-text-contrast)!important;
}

.info-top a {
	color: var(--standard-text-contrast)!important;
	text-decoration: none;
}

.info-top a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

nav a {
	color: var(--primary-color);
	text-decoration: none;
}

.nav a:hover {
	color: var(--standard-text-over);
	text-decoration: none;
}

footer h5 {
	font-size: 18px;
}

footer p, li {
	font-size: 14px;
}

footer a {
	text-decoration: none;
}

.copy-text {
	font-size: 12px;
}

.copy-text p a {
	color: #aaa;
	font-weight: bold;
}




.nav-link {
	font-size: 20px!important;
	padding-right: 30px!important;
	color: #fff!important;
	font-weight: bold!important;
}




.nav-lang {
	font-size: 14px;
}

.info-image-container {
	background-color: #fff; 
	border-radius: 20px;
	padding: 50px;
}

.image-wrapper {
position: relative;
}

.info-image-1 {
	width: 500px;
	position: relative;
	z-index: 1;	
}

.info-image-2 {
	width: 200px;
	position: absolute;
	top: 70px;
	left: 50px;
	z-index: 2;	
}

.sections-overview {
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sections-overview-content {
	cursor: pointer;
	position: relative;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.sections-overview-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2); /* Default overlay */
	transition: background-color 1s ease;
	z-index: 1;
}

.sections-overview-title {
position: relative;
z-index: 2;
color: #fff;
font-size: 2rem;
text-transform: uppercase;
text-align: center;
}

.sections-overview-content:hover {
/* transform: scale(1.01);  */
}

.sections-overview-content:hover::before {
background-color: rgba(0, 0, 0, 0.6); /* Increased opacity on hover */
}

.sections-overview-row {
	width: 100%;
	height: 100%;
}


.navbar-nav .dropdown {
    position: static; /* Ensure the dropdown container is not positioned */
}

/* .navbar {
    background-color: transparent !important;
    position: relative;
    z-index: 10;
} */
 

.megamenu-area {
    position: absolute; /* Absolute positioning relative to the dropdown */
    left: 0!important; /* Align to the left of the navbar */
    right: 0!important; /* Extend to the right of the viewport */
    top: 90px!important; /* Position below the navbar */
    width: 100%!important; /* Ensure full width of the viewport */
    padding: 30px!important; /* Padding for spacing */
    /* background-color: #f8f9fa!important; Background color */
	background-color: rgba(248, 249, 250, 0.9) !important;
    border: none!important; /* Remove default border */
    border-top: solid 1px #efefef!important; /* Remove default border */
    border-radius: 0!important; /* Remove border radius */
    z-index: 1000!important; /* Ensure it appears above other elements */
    transform: translateY(-20px)!important; /* Start slightly above the visible area */
    transition: opacity 0.3s ease, transform 0.3s ease!important; /* Transition effects */
    margin: 0!important;
}

.main-content {
	position: relative;
	z-index: 1;
	background-color: #fff; /* or any color you prefer */
	margin-top: 100vh; /* Adjust based on your header height */
}

/* Final state when the menu is visible */
.navbar-nav .dropdown-menu.show.megamenu-area {
    opacity: 1!important; /* Fade in */
    transform: translateY(0)!important; /* Slide down to its normal position */
}

.megamenu-area .container {
    max-width: 100%; /* Full width container */
}

.navbar-nav .dropdown-menu {
    display: none; /* Hide the default dropdown menu */
}

.navbar-nav .dropdown-menu.show {
    display: block; /* Show the megamenu when open */
}

/* Add the fade effect to the shown dropdown menu */
.navbar-nav .dropdown-menu.show.megamenu-area {
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 0.3s ease; /* Transition for fade-in */
}

/* .navbar-nav .dropdown-toggle::after {
    display: none;
} */

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    content: '';
    border: solid var(--standard-text-contrast);
    border-width: 0 1px 1px 0;
    padding: 3px;
    transform: rotate(45deg); /* Rotate to get the "greater than" look but 90 degrees */
    margin-left: 5px; /* Add some space between the text and the arrow */
}

.carousel-item {
	position: relative;
}
.carousel-item .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.4); /* White with 50% opacity */
	/* z-index: 10; */
	/* transition: background-color 0.3s ease; */
}


.carousel-caption {
	top: 40%;
	bottom: unset!important;
	z-index: 2; /* Ensure text is above the overlay */
	position: relative;
}

.carousel-caption h5 {
	font-size: 40px;
}

.main-activities-section {
	padding: 60px 0;
	background-color: #f8f9fa;
}
.main-activities-section .section-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 2.5rem;
	font-weight: bold;
}
.main-activities-section .section-subtitle {
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.25rem;
	color: #6c757d;
}
.main-activities-section .col-item {
	text-align: center;
	margin-bottom: 30px;
}
.main-activities-section .col-item img {
	width: 100%;
	max-width: 200px;
	height: auto;
	margin-bottom: 20px;
}
.main-activities-section .col-item h4 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}
.main-activities-section .col-item p {
	color: #6c757d;
}

.cta-section {
	height: 300px;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.cta-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5); /* Black overlay with opacity */
	z-index: 1;
}
.cta-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #444;
}
.cta-title {
	font-size: 2rem;
	margin-bottom: 10px;
}
.cta-text {
	font-size: 1.25rem;
	margin-bottom: 40px;
}
.cta-button {
	background-color: #eee;
	color: #444;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
}

.pnl_whoweare .lead div{
	font-size: 18px!important;
	line-height: 34px!important;
}


.products-section {
	position: relative;
	display: flex;
	height: 500px;
}

.products-section-left,
.products-section-right {
	position: relative;
	width: 50%;
	height: 100%;
	overflow: hidden;
}

.products-section-left {
	clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
	background-size: cover;
}

.products-section-right {
	clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
	background-size: cover;
}

.products-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
	z-index: 1;
	justify-content: center;
	align-items: center;
	align-content: center;
	cursor: pointer;
}

.products-section-left:hover .products-overlay,
.products-section-right:hover .products-overlay {
	opacity: 1;
	visibility: visible;
}

.products-section-left:hover .products-content,
.products-section-right:hover .products-content {
	opacity: 0;
	transition: opacity 0.8s ease;
}

.products-content {
	position: relative;
	z-index: 2;
	color: #fff;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	font-weight: bold;
	transition: opacity 0.8s ease;
}

/* .products-section h4 {
	font-size: 20px;
} */


.promo-section {
	height: 300px;
	background-color: #eee;
	background-size: cover;
}

.support-section {
	display: flex;
	align-items: center;
	height: 50vh;
	padding: 0;
	margin: 120px 0px;
}

.support-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 50px;
}

.support-text h2 {
	color: var(--primary-color);
}

.support-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;	
}
  

.fullscreen-video-section {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

  .video-section {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
  }
  
  .bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures the video covers the entire section */
	z-index: 1;
  }
  
  .fullscreen-video-section * {
		position: relative;
		z-index: 2;
	}

  .video-overlay {
	/* position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.3); 
	z-index: 2; */
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
    z-index: 1;
  }
  
/* Flexbox will distribute the height equally */
.products-overlay {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure it takes full height of the parent */
    width: 100%; /* Ensure full width */
}

.overlay-item {
    flex: 1; /* This will make each div take an equal share of the height */
    display: flex;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    text-align: center;
    width: 100%; /* Full width */
    color: white; /* Adjust text color as needed */
    background-color: rgba(0, 0, 0, 0.1); /* Optional background for visibility */
    font-size: 28px;
	border-bottom: solid 1px #eee;
	cursor: pointer;
}

.overlay-item:hover {    
	color: var(--secondary-color);     
}

/* Adjust spacing and styles as needed */
.products-content {
    z-index: 2;
    position: relative;
}

.nav-mini {
	font-size: 16px!important;
}

/* Floating Contact Icon */
.contact-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
	width: 60px;
	height: 60px;
}

.contact-icon i {
    font-size: 24px;
	padding: 13px;
}

.close-btn:hover {
    color: #000;
}

/* Full-Screen Contact Form */
.contact-fullscreen {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: none; /* Hidden by default */
    overflow-y: auto;
}

.contact-fullscreen a {
	color: var(--primary-color);
	text-decoration: none;
}

.contact-content {
    padding: 20px;
    max-width: 600px;
    margin: 50px auto;
    position: relative;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 0px;
    right: 20px;
	color: var(--primary-color);
    font-size: 60px;
    background: none;
    border: none;
    cursor: pointer;	
}


.btn-site-primary {
    background-color: var(--primary-color)!important;
    color: #ffffff!important; /* White text */    
	border-radius: 0!important;
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
	background: var(--surface-color);
	/* box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1); */
	transition: 0.3s;
	border: solid 1px #eee;
	border-radius: 10px;
  }
  
  .recent-blog-posts .post-item .post-img img {
	transition: 0.5s;
  }
  
  .recent-blog-posts .post-item .post-date {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: var(--primary-color);
	color: var(--standard-text-contrast);
	text-transform: uppercase;
	font-size: 13px;
	padding: 6px 12px;
	font-weight: 500;
  }
  
  .recent-blog-posts .post-item .post-content {
	padding: 30px;
  }
  
  .recent-blog-posts .post-item .post-title {
	color: var(--heading-color);
	font-size: 20px;
	font-weight: 700;
	transition: 0.3s;
	margin-bottom: 15px;
  }
  
  .recent-blog-posts .post-item .meta i {
	font-size: 16px;
	color: var(--accent-color);
  }
  
  .recent-blog-posts .post-item .meta span {
	font-size: 15px;
	color: color-mix(in srgb, var(--default-color), transparent 50%);
  }
  
  .recent-blog-posts .post-item hr {
	color: color-mix(in srgb, var(--default-color), transparent 80%);
	margin: 20px 0;
  }
  
  .recent-blog-posts .post-item .readmore {
	display: flex;
	align-items: center;
	font-weight: 600;
	line-height: 1;
	transition: 0.3s;
	color: color-mix(in srgb, var(--default-color), transparent 40%);
  }
  
  .recent-blog-posts .post-item .readmore i {
	line-height: 0;
	margin-left: 6px;
	font-size: 16px;
  }
  
  .recent-blog-posts .post-item:hover .post-title,
  .recent-blog-posts .post-item:hover .readmore {
	color: var(--accent-color);
  }
  
  .recent-blog-posts .post-item:hover .post-img img {
	transform: scale(1.1);
  }
 
.lnk_footer {
	color: var(--standard-text)!important;
}

.lnk_footer:hover {
	color: var(--standard-text-over)!important;
}




.bg-black {
	background-color: #000!important;
}

.nav-link-black {
	color: #444!important;
}

.navbar-nav-black .dropdown-toggle::after {
    display: inline-block;
    content: '';
    border: solid var(--standard-text);
    border-width: 0 1px 1px 0;
    padding: 3px;
    transform: rotate(45deg); /* Rotate to get the "greater than" look but 90 degrees */
    margin-left: 5px; /* Add some space between the text and the arrow */
}


/* Contact Form 7 input, select, and textarea styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%!important;     /* Set all input and select elements to be 100% wide */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.wpcf7 label {
	width: 100%!important;
}

/* Set height for textarea */
.wpcf7 textarea {
    height: 60px!important;    /* Set the height of textarea */
}


.wpcf7 {
    width: 100%; /* Ensure the form container takes full width */
    max-width: 100%;
}

.txt-primary {
	color: var(--primary-color)!important;
}

@media only screen and (min-width: 992px) {
	
}

.info-bg {
	background-color: var(--primary-color);
}

.gradient-bg {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--standard-text-contrast) 100%);
}
.floating-box {
	transform: translateY(-80px);
}
.card-hover {
	transition: transform 0.3s ease;
}
.card-hover:hover {
	transform: translateY(-10px);
}
.diagonal-box {
	position: relative;
	background: #f8f9fa;
	transform: skewY(-5deg);
	margin: 60px 0;
}
.diagonal-content {
	transform: skewY(5deg);
	padding: 80px 0;
}
.custom-shape {
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.text-gradient {
	background: linear-gradient(to right, #6366f1, #a855f7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.wpcf7-form-control-wrap input {
	padding: 5px;
}

.wpcf7-list-item {
	margin: 0!important;
}




header {
	background-color: transparent!important;
}

.lnk_open_full_menu {
	cursor: pointer;
}

.video-container {
	position: relative;
	width: 100%;
	height: 95vh;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.3);
}
.video-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translateX(-50%) translateY(-50%);
	z-index: -1;
}
.header-content {
	/* position: absolute;
	top: 0;
	left: 0;
	width: 100%; */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: background-color 0.4s ease;
}

.header-content-inside {
	/* padding-bottom: 200px; */
	background-color: #fff;
}

.navbar {
	background-color: transparent !important;
	padding-top: 20px;
}
.navbar-nav .nav-link, .navbar-brand {
	color: #fff!important;            
	font-weight: normal!important;
	font-size: 20px!important;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
	border-color: rgba(255,255,255,0.5);
}
.dropdown-menu {
	background-color: rgba(0, 0, 0, 0.7);
}
.dropdown-item {
	color: #be3144!important;
}
.dropdown-item:hover, .dropdown-item:focus {
	background-color: rgba(255, 255, 255, 0.2);
	color: #be3144!important;
}

.video-overlay-alt {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.2); /* Adjust the last value (0.5) to control darkness */
	z-index: -1;
}

.navbar-nav .nav-link, .navbar-brand {
	transition: all 0.3s ease;
}

.scrolled {
	background-color: rgba(255,255,255,0.7);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.scrolled .navbar-nav .nav-link, .scrolled .navbar-brand {
	color: black !important;
	text-shadow: none;
}


/* Full-screen menu styles */
.fullscreen-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, 
		rgba(255, 255, 255, 1) 0%,     /* Fully opaque at the top */
		rgba(255, 255, 255, 0.85) 50%, /* Slight transparency in the middle */
		rgba(255, 255, 255, 1) 100%    /* Fully opaque at the bottom */
	);
	z-index: 1000;
	color: #000!important;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	transition: opacity 0.3s ease-in-out;
	opacity: 0;
	display: none;
}

/* Show the full-screen menu when active */
.fullscreen-menu.show {
	display: flex !important;
	opacity: 1;
}



.menu-column {
	flex: 1;
	text-align: left;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.menu-column a {
	color: #000;
	text-decoration: none;
	font-weight: lighter;
}

.logo-column img {
	max-width: 280px;  /* Adjust the size of the logo */
}

.main-menu ul {
	list-style: none;
	padding: 0;            
}

.main-menu li {
	margin: 15px 0;
}

.main-menu a {
	color: #000;
	text-decoration: none;
	font-size: 30px;
	transition: color 0.3s ease-in-out;
	font-weight: lighter;
}

.main-menu a:hover {
	color: #be3144 !important;
}

.text-column p {
	font-size: 20px;            
	line-height: 1.5;
}



/* Close button style */
.close-btn-menu {
	position: absolute;
	top: 16px;
	right: 24px;
	font-size: 40px;
	cursor: pointer;
	color: 000!important;
	transition: color 0.3s ease-in-out; 
}

.close-btn-menu:hover {
	color: #be3144; /* Change color on hover for a nice effect */
}

.submenu-column {
	text-align: left;
}

.top-menu_social {
	transition: color 0.3s ease-in-out; /* 0.3s for smooth effect, 0.5s delay */
}

.top-menu_social:hover {
	color: #be3144 !important;
}

.top-menu-lang {
	color: white;
	transition: color 0.3s ease-in-out;
	margin-top: 18px !important;
	position: relative;
	top: 9px;
	font-size: 20px;
	padding-right: 35px;
}

.top-menu-lang:hover {
	color: #be3144 !important;
}

.nav-social {
	position: relative;
	top: 22px;
}

.submenu_content {
	display: none;
}

.submenu_content a:hover {
	color: #be3144 !important;
}

.submenu_heading {
	font-weight: 400;
	cursor: pointer;
	text-transform: uppercase;
}

.submenu_heading:hover {
	color: #be3144 !important;            
}

.submenu {
	width: 100%;
	padding: 0 40px 0 0;	
}

.language-switcher {
	position: absolute;
	top: 35px; /* Adjust vertical alignment */
	right: 100px; /* Place to the left of the close button */
	font-size: 20px;
	font-weight: lighter;
	color: #000;
}

.language-switcher a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease-in-out;
}

.language-switcher a:hover {
	color: #be3144; /* Change color on hover */
}

.mobile-toggler {
	border: 0!important;
}

.mobile-toggler:focus {
	border: 0!important;
	box-shadow: none!important;
}


.standard-header-container {
	position: relative;
	width: 100%;
	height: 110px;
	overflow: hidden;
	/* background-color:#333; */
}


.content {
	margin-top: 60px;
}




.main-section h1 {
	color: var(--primary-color);
	font-size: 70px;
	font-weight: bold;
}

.main-section p {
	font-size: 22px;
}

.main-section li {
	font-size: 22px;
}

.additional-text p,
.additional-text li {
	font-size: 18px;
}


.main-section-padding {
	padding: 100px 0px 0px 0px; 
}

.machinery-section-intro {  
	position: relative;
	background-size: cover;
	background-position: center;
	height: 450px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}


.machinery-section-intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
	z-index: 1; /* Places the overlay above the background image */
}

.machinery-section-intro h1,
.machinery-section-intro p {
	position: relative;
	z-index: 2;
	color: var(--standard-text-contrast);
}

.machinery-section-intro p {  
	font-size: 20px;
}

.machinery-section-container {
    background-repeat: no-repeat;
	background-position: 70px 120px;
    
}


.categories-section-intro {  
	background-color: #f5f5f5;
	color: #000;
	position: relative;
	background-size: cover;
	background-position: center;
	height: auto;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.categories-section-intro h1 {
	color: var(--primary-color);
}
.categories-section-intro p {
	position: relative;
	z-index: 2;
	color: var(--standard-text);
}

.categories-section-intro p {  
	font-size: 20px;
}

.carousel-indicators {
	bottom: -60px!important;
}

.carousel-indicators .active {
    background-color:var(--primary-color)!important; 
}

.carousel-indicators button {
    background-color: #fff !important;     
}

.carousel-item h2 {
	font-weight: lighter;
}


.rounded-top-bottom-right {
    border-top-right-radius: 20px!important;
    border-bottom-right-radius: 20px!important;
}


.text-bordered {
    -webkit-text-stroke: 1px black;
    color: white; /* Adjust text color as needed */
}

.text-light-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-content-bg {
	background-size: cover; 
	background-position: center; 
	height: 500px; 
	display: flex; 
	align-items: center; 
	justify-content: center;
}

#index-links a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 20px;
}

#index-links a:hover {
	color: var(--standard-text);
	text-decoration: none;
	font-size: 20px;
}

.btn-homepage-main-section-more {
	display: inline-block; 
	background-color: rgba(255, 255, 255, 0.5); 
	border: 1px solid #d3d3d3; 
	color: #000; 
	padding: 10px 25px; 
	border-radius: 50px; 
	text-decoration: none; 
	font-weight: bold;
	margin-top: 20px;
}


.generic-link {
	display: inline-flex;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	color: #000;
	position: relative;
	padding-bottom: 4px;
}

.generic-link::after {
	content: '›';
	font-size: 30px;
	color: #d60000;
	margin-left: 10px;
	display: inline-block;
}

.generic-link::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 20%;
	height: 6px;
	background-color: #d60000;
	transition: width 0.3s ease;
}

.generic-link:hover::before {
	width: 100%;
}

.generic-link--white {
	z-index: 10000;
	color: #fff;
}

.generic-link--white::after {
	color: #fff;
}

.generic-link--white::before {
	background-color: #fff;
}

.generic-link--small {
	font-size: 14px;
}
  
  
.select-wrapper {
	position: relative;
	display: inline-block;
	width: 100%; /* Adjust as needed */
}

.generic-select {
	appearance: none;
	background-color: #d60000;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 40px 10px 15px;
	border: 2px solid #d60000;
	border-radius: 5px;
	cursor: pointer;
	outline: none;
	transition: background 0.3s, border 0.3s;
	text-align: center;
	width: 100%; /* Ensures it fits within the wrapper */
}

/* Custom arrow */
.select-wrapper::after {
	content: '▼';
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	pointer-events: none;
	font-size: 14px;
}

.generic-select:hover,
.generic-select:focus {
	background-color: #b80000;
	border-color: #b80000;
}

  
.wpcf7-form-control.wpcf7-submit {
	background-color: #d60000; /* Red background */
	color: #fff; /* White text */
	font-size: 16px;
	font-weight: bold;
	margin: 10px auto; /* Center the button horizontally */
	padding: 10px 20px;
	border: none;
	border-radius: 5px; /* Slightly rounded corners */
	cursor: pointer;
	transition: background 0.3s ease-in-out;
	display: block; /* Ensures the margin auto takes effect */
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #b80000; /* Darker red on hover */
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	padding: 5px 10px;
	border-radius: 5px;
	border: solid 1px;
	margin-bottom: 10px;
}

#machinery-categories {
    list-style: none; /* Removes bullets */
    padding: 0;
}

#machinery-categories li {
    font-size: 1.2rem; /* Slightly bigger font */
    margin-bottom: 5px; /* Optional: Adds some spacing */
}

#machinery-categories li a {
    text-decoration: none; /* Removes underline */
    color: #333; /* Default text color */
    transition: color 0.3s ease-in-out;
}

#machinery-categories li a:hover {
    color: #d9534f;
	font-weight: bold;
}

.cat-item {
	cursor: pointer;
}

.cat-item-active {
	color: #d9534f!important;
	font-weight: bold;
}


/* MOBILE WEBSITE */
/* @media (max-width: 575.98px) { */
@media (max-width: 991px) {

	.language-switcher {
		top: 8px;
		right: 18px;
		
	}

	.logo-top {
		position: absolute;
		height: 45px;
		right: 50%;
		left: 37%;
	}

	/* Remove borders from the accordion */
	#mobileMenuAccordion .accordion-item {
		border: none;
	}

	#mobileMenuAccordion .accordion-button {
		border: none;
		box-shadow: none;
	}

	#mobileMenuAccordion .accordion-collapse {
		border: none;
	}

	#mobileMenuAccordion .accordion-body {
		border-top: none;
	}

	.direct-links ul li a {
		padding: unset!important;
		padding-left: 20px!important;
        font-size: 16px!important;
		padding-top: 0xp!important;
	}

	.accordion-button:not(.collapsed) {		
		background-color: unset!important;		
	}
	
	.accordion-button {
		padding: 8px 8px 10px 20px!important;
	}

	.standard-header-container {
		height: 80px!important;
	}

	.header-content {
		background-color: #333;
	}

	.video-container {
		position: relative;
		width: 100%;
		height: 50vh;
		overflow: hidden;
		background-color: rgba(0, 0, 0, 0.3);
	}
	.video-container video {
		position: absolute;
		top: 50%;
		left: 50%;
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: auto;
		transform: translateX(-50%) translateY(-50%);
		z-index: -1;
	}
    
	.main-section-padding {
		padding: 20px 0px 0px 0px; 
	}

	.main-section h1 {
		color: var(--primary-color);
		font-size: 40px;
		font-weight: bold;
	}

	.close-btn {
		top: 50px;
		z-index: 9999999;
	}

	.contact-content {
		top: 70px;
	}

	.machinery-section-intro {  
		position: relative;
		background-size: cover;
		background-position: center;
		height: 750px;
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
	}

	.machinery-section-intro::before {
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
		
	}
	
}





