/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");

.et_pb_row {
	width: 90%;
	padding: 0;
}

@media only screen and (min-width: 1600px) {
    .et_pb_row {
        padding: 0 0;
    }
}

h1, h2, h3, h4, h5, h6 {
	padding-bottom: 0;
}

body {
	overflow-x: hidden;
}
/*-----------------------------------------------------
// Header
//---------------------------------------------------*/
.et_pb_fullwidth_menu .et_pb_menu__wrap {
	height: 100%;
	margin: auto;
}

.et_pb_fullwidth_menu .et-menu-nav>ul,
.et_pb_menu .et-menu {
	margin: 0;
}
.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li {
	padding: 0;
	margin-left: 51px;
}

.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li:first-child {
	padding: 0;
	margin-left: 0;
}

.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a,
.et-db #et-boc .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a {
	background-color: #D62828;
	color: #ffffff !important;
	border: 1px solid #D62828;
	border-radius: 16px;
	padding: 15px 25px !important;
	transition: all 300ms ease 0ms;
	font-weight: 500 !important;
}

.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a:hover,
.et-db #et-boc .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a:hover{
	background-color: transparent !important;
	color: #D62828 !important;
	border: 1px solid #D62828;
	font-weight: 500;
}

.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 0 !important;
	position: relative;
}

.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:hover,
.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.current_page_item>a {
	font-weight: 700 !important;
}

.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:after,
.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.current_page_item>a:after {
	content: '';
	height: 3px;
	width: 100%;
	position: absolute;
	top: 100% !important;
	left: 0;
	background-color: transparent;
	transition: all 300ms ease 0ms;
}

.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.btn-menu>a:after {
	display: none !important;	
}

.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:hover:after,
.et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.current_page_item>a:after {
	background-color: #D62828;
}

.home .header-section.et_pb_section--with-menu {
	background-color: #D62828 !important;
}

.home .et_pb_section--with-menu .et_pb_menu__logo-wrap .et_pb_menu__logo img{
	filter: brightness(0) invert(1);
}

.home .et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	color: #FFFFFF !important;
}

.home .et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:hover,
.home .et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.current_page_item>a {
	font-weight: 700 !important;
	color: #FFFFFF !important;
}

.home .et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:hover:after,
.home .et_pb_fullwidth_menu--with-logo .et_pb_menu__menu>nav>ul>li.current_page_item>a:after{
	background-color: #FFFFFF;
}

.home #et-boc .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a {
	background: #19181B !important;
}

.home #et-boc .et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu a:hover {
	color: #19181B !important;
	background: #ffffff !important;
	border-color: #FFFFFF;
}

.home .et_pb_fullwidth_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
	color: #FFFFFF !important;
}

@media only screen and (max-width: 1200px) {
	.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li,
	.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li.btn-menu {
		padding: 0;
		margin-left: 32px;
	}
}

/*-----------------------------------------------------
// Footer
//---------------------------------------------------*/
footer .et_pb_menu .et_pb_menu__menu>nav>ul>li {
	margin: 0;
	padding: 0;
}


footer .et_pb_menu .et_pb_menu__menu>nav>ul {
	gap: 20px 51px;
	display: flex;
}

footer .et_pb_menu .et_pb_menu__menu>nav>ul>li:last-child,
footer .et_pb_menu .et_pb_menu__menu>nav>ul>li:first-child{
	margin: 0;
}

footer .et_pb_menu .et_pb_menu__menu>nav>ul>li a{
	padding: 0;
}

footer .et_pb_menu .et_pb_menu__menu>nav>ul>li.btn-menu {
	display: none !important;
}

footer .fluentform form .ff-el-group {
  margin: 0;
}

footer .fluentform form .ff-el-group input {
  font-size: 18px;
  font-weight: 500;
  padding: 11px 11px 12px;
  border-radius: 5px 0 0 5px;
}

footer .frm-fluent-form .ff-t-container {
  gap: 0 !important;
}

footer .fluentform form .ff-btn-submit {
    margin: 0 !important;
    background-color: #D62828 !important;
    color: #FFFFFF !important;
    border: 1px solid #D62828 !important;
    border-radius: 0 5px 5px 0;
    padding: 10px 26px !important;
    font-size: 18px;
    font-weight: 500;
    width: auto;
    min-width: auto;
}

footer .fluentform form .ff-btn-submit:hover {
  background-color: #ffffff !important;
	color: #D62828 !important;
  border-color: #D62828 !important;
  min-width: auto;
	opacity: 1;
}

footer .et_pb_menu__menu {
	display: flex !important;
}

footer .et_mobile_nav_menu {
	display: none !important;
}

@media only screen and (max-width: 980px) {
	footer .et_pb_menu .et_pb_menu__wrap {
		justify-content: flex-start;
	}
	
	footer .et_pb_menu .et_pb_menu__menu>nav>ul {
		flex-direction: column;
		gap: 24px;
		padding: 0;
	}
	
	footer .et_pb_menu .et_pb_menu__menu>nav>ul>li {
		margin: 0;
	}
	
	footer .fluentform form .ff-el-group input,
	footer .fluentform form .ff-btn-submit {
	  border-radius: 5px;
	}
	
	footer .fluentform form .ff-btn-submit {
		margin-top: 16px !important;
	}
	
	footer .frm-fluent-form .ff-t-container {
		flex-direction: column;
	}
}

.social-icons {
	display: flex;
	gap: 21px;
}

.social-icons a:hover {
	opacity: 0.8;
}
.social-icons a img {
	width: auto;
}

/*-----------------------------------------------------
// Project Slider
//---------------------------------------------------*/
.project-slider-wrapper {
  margin: 0 auto;
  padding: 0;
  background-color: #ffffff;
}

/* === SLIDE LAYOUT === */
.project-slide {
  display: flex;
  justify-content: space-between;
  gap: 63px;
}

/* === IMAGE === */
.project-image {
	max-width: 614px;
	width: 100%;
}

.project-image img {
  width: 100%;
  height: auto;
  border: 5px solid #D62828; /* Red border */
  border-radius: 0 50px; /* Rounded corners */
  object-fit: cover;
  transition: transform 0.4s ease;
	aspect-ratio: 614 / 400;
}

/* === CONTENT === */
.project-content {
  color: #111827;
}

.project-content-wrapper {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	width: 100%
}
.project-content .subtitle {
	color: #A1A1A1;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	margin-bottom: 24px;
	text-align: left;
}

.project-content h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #19181B;
  margin: 0 0 14px;
	max-width: 434px;
	text-align: left;
}

.project-content .excerpt {
  font-size: 18px;
  line-height: 1.33;
	font-weight: 500;
  color: #A1A1A1;
  max-width: 593px;
	margin-bottom: 24px;
	text-align: left;
}

/* === NAVIGATION BUTTONS === */
.slider-nav {
  display: flex;
  gap: 12px;
	position: relative;
	max-width: 98px;
	margin-bottom: 13px;
}

.slider-nav button {
  background-color: #e11d48;
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
	display: inline-block;
	margin: 0 !important;
	position: relative;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
}

.slider-nav button:hover {
  background-color: #b91c1c;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .project-slide {
    flex-direction: column;
	 gap: 24px;
  }

	.project-image {
		max-width: 100%;
	}
  .project-content {
    
  }
	
	.project-content h2 {
		max-width: 100%;
		font-size: 28px;
	}

  .project-content .excerpt {
    max-width: 100%;
  }

  .slider-nav {
    justify-content: center;
  }
}

/*-----------------------------------------------------
// Latest News
//---------------------------------------------------*/
.latest-news .et_pb_blog_grid .et_pb_salvattore_content {
	display: flex;
	gap: 28px;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column {
	margin: 0 !important;
	border: 0 !important;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column article {
	border: 0 !important;	
	padding: 0 !important;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column article h3 {
	margin-bottom: 14px;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column article .post-content-inner {
	margin-bottom: 28px;
}

.latest-news .et_pb_image_container {
	margin: 0;
}

.latest-news .et_pb_image_container img {
	aspect-ratio: 408 / 283;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column article .more-link {
	background: #D62828;
	border: 1px solid #D62828;
	color: #FFFFFF !important;
	font-size: 18px;
	line-height: 0;
	padding: 11px 28px;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column article .more-link:hover {
	background: #FFFFFF;
	color: #D62828 !important;
}

@media (min-width: 981px) {
	
	.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column {
		width: calc(33.33% - 18px) !important;
	}
}

@media (max-width: 767px) {
	.latest-news .et_pb_blog_grid .et_pb_salvattore_content {
		gap: 24px;
	}
	
	.latest-news .et_pb_blog_grid .et_pb_salvattore_content > .column {
		width: 100% !important;
	}
}
.contact-link a{
	color: #212121;
}
.contact-link a:hover{
	color: #D62828;
}

.img-inline{
	display: inline-block !important;
	margin-right:23px;
	margin-top:10px;
}

.contact-form .fluentform label{
	display: none !important;
}

.contact-form .fluentform input,
.contact-form .fluentform select{
	background: #F9F9F9;
    height: 66px !important;
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 500;
}

.contact-form .fluentform .ff-el-group{
	margin-bottom: 0 !important;
}

.contact-form .fluentform button{
	width: 100%;
    margin-top: 25px;
    background: #D62828 !important;
    font-family: 'INTER';
    font-weight: 600;
    height: 66px;
}

.contact-form .fluentform button:hover{
	background: white !important;
    color: #D62828 !important;
    border: 1px solid #D62828;
    transition: .3s;
}

.contact-form .fluentform select {
  -webkit-appearance: none !important; 
  -moz-appearance: none !important;   
  appearance: none !important; 
  padding: 10px 30px 10px 10px !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0 L5 6 L10 0 Z' fill='black'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 10px 6px !important;
  cursor: pointer !important;
  font-size: 18px !important;
}

@media screen and (max-width: 980px){
	.img-inline{
		margin-right: 20px;
	}
	
	.form-row{
		flex-direction: row !important;
	}
}

@media screen and (max-width:767px){
	.form-row{
		flex-direction: column !important;
	}
}
