/*!
Theme Name: perugia
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: perugia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

perugia is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

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

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



body{
	font-family: "Inter", sans-serif;
	font-style: 18px;
	color: #000;
}
.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1270px;
  }
}

a.custom-logo-link {
    width: 200px;
    display: block;
}
a.custom-logo-link img{
  width: 100%;
  height: auto;
}


.BannerContainer {
  position: relative;
  background: url('images/section#hero.jpg') no-repeat center center/cover;
  height: 600px;
  display: flex;
  align-items: center;
}

/* Overlay fade (left white gradient) */
/*.BannerContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0));
}*/
.BannerContainer .col-lg-6 {
  width: 50%;
}

.banner-heading {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #303030;
}

.banner-subheading {
  font-size: 34px;
  line-height: 43px;
  margin-bottom: 15px;
  color: #303030;
}

.banner-text {
  font-size: 21px;
  font-weight: 400;
  color: #303030;
  margin-bottom: 25px;
  margin-top: 25px;
}

/* Buttons */
.btn {
  display: inline-flex;
  padding: 0px 15px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 10px;
  text-align: center;
  width: 250px;
  height: 75px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 23px;
}

.btn-demander {
  background-color: #d9002c;
  color: white;
}

.btn-demander:hover{
  background-color: #000000;
  color: white;
}

.btn-documentation {
  background-color: #FFF;
  color: #333;
  border: 1px solid #000;
}

.btn-documentation:hover {
  background-color: #d9002c;
  color: #FFF;
  border: 1px solid #FFF;
}

.btn:hover {
  opacity: 0.9;
}



.map-section {
  background-color: #FAF7F7;
}
/*
.map-section .section-title {
  font-size: 33px;
  font-weight: 400;
  color: #333;
  line-height: 40px;
}*/

.map-section .feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.map-section .feature-list li {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.map-section .check {
  color: #d9002c;
  font-size: 22px;
  margin-right: 12px;
  font-weight: bold;
}

.map-section .map-img {
  max-width: 100%;
  height: auto;
}


.solution-section {
  background-color: #f5f5f5;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #222;
  margin-bottom: 22px;
}

.section-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 30px;
}

/* Cards */
.step-card{
  background-color: #FFFFFF;
  height: 100%;
}
.step-card img {
  border-radius: 0px;
  margin-bottom: 15px;
}

.step-content {
  text-align: left;
  position: relative;
  padding-left: 70px;
}

/* Big number */
.step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 45px;
  color: #ddd;
  font-weight: 400;
  line-height: 40px;
}

/* Text */
.step-content h4 {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 15px;
}

.step-content p {
  font-size: 15px;
  color: #555;
  line-height: 24px;
}


.why-section {
  background-color: #EFECEC;
}

/*.why-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.why-section .section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}*/

/* Feature Box */
.feature-box {
  align-items: flex-start;
  padding-left: 30px;
}

.feature-box .icon-box {
  background-color: #d9002c;
  color: #fff;
  font-size: 22px;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  margin-right: 20px;
}

.feature-text h4 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #333;
}

.feature-text p {
  font-size: 18px;
  color: #555;
  line-height: 28px;
}

.feature-box-item{
  margin-bottom: 30px;
}

.feature-box-item-picture{
  height: 400px;
}
.feature-box-item-picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.feature-box-item:nth-child(odd) .feature-box-item-picture{
  order: 2;
}

.feature-box-item:nth-child(odd) .feature-box-item-cont{
  order: 1;
}



.audience-section {
  background-color: #FAF7F7;
}

/*.audience-section .section-title {
  font-size: 32px;
  font-weight: 600;
  color: #222;
}
*/
/* Box */
.audience-box {
  padding: 20px;
  display: flex;
  align-items: center;
}

/* Icon */
.audience-box .icon-box {
  width: 60px;
  height: 60px;
  background-color: #d9002c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px 0;
  border-radius: 0px;
  font-size: 24px;
  flex:0 0 60px;
  margin-right: 20px;
}

/* Text */
.audience-box h4 {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 10px;
  color: #333;
  flex: 1;
  text-align: left;
  font-weight: 300;
}

p.audience_text {
  font-size: 15px;
  color: #666;
  max-width: 250px;
  margin: 0 auto;
  text-align: left;
}



.expertise-section {
  background-color: #f5f5f5;
}
/*
.expertise-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}
*/
/*.expertise-section .section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}*/

/* Image Cards */
.expertise-section .image-card {
  position: relative;
  overflow: hidden;
  /*border-radius: 6px;*/
  height: 256px;
}

.expertise-section .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Year badge */
.expertise-section .badge-year {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #d9002c;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 3px;
}

/* Bottom text */
.expertise-section .project-info h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.expertise-section .project-info p {
  font-size: 17px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}


.contact-section {
  background-color: #EFECEC;
}

/*.contact-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.contact-section .section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}*/

/* Contact Info */
.contact-section .contact-item h6 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

.contact-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.contact-section .icon-box {
  width: 50px;
  height: 50px;
  background-color: #d9002c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border-radius: 0px;
  font-size: 20px;
}

/* Form Box */
.contact-section .form-box {
  background-color: #f2f2f2;
}

.contact-section .form-control,
.contact-section .form-select {
  height: 49px;
}

.contact-section .form-note {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 10px;
}

.homepage-form-container{
  max-width: 914px;
  margin-left: auto;
  margin-right: auto;
}


.contact-section .form-control, .contact-section .form-select{
  border: 1px #d1d5dc solid;
  border-radius: 0px;
}

.contact-section .mb-3{
  margin-bottom: 24px !important;
}

.form-box label{
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #1a1a1a;
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
  font-size: 16px;
}

.select-selected {
  padding: 12px 15px;
  border: 1px solid #d1d5dc;
  border-radius: 0px;
  cursor: pointer;
  background: #fff;
  transition: 0.3s;
}

/* Focus effect */
.custom-select.active .select-selected {
  /*border-color: #d9002c;*/
  /*box-shadow: 0 0 0 2px rgba(217, 0, 44, 0.15);*/
}

/* Arrow */
.select-selected::after {
  content: "▼";
  position: absolute;
  right: 15px;
  color: #000000;
}

/* Options */
.select-options {
  display: none;
  position: absolute;
  width: 100%;
  background: #fff;
  border: 0px solid #ccc;
  border-radius: 0px;
  margin-top: 5px;
  z-index: 999;
}

.select-options div {
  padding: 10px;
  cursor: pointer;
}

.select-options div:hover {
  background: #ee2848;
}
.select-options div:first-child {
  background: #ffdfe4;
}
.select-options div:first-child:hover {
  background: #ee2848;
}


/* Active dropdown */
.custom-select.active .select-options {
  display: block;
}



/* Smooth sections */
#docSection,
#devisSection {
  transition: all 0.3s ease;
}

button.btn.btn-submit{
  padding: 16px 32px;
  border-radius: 30px;
  width: auto;
  height: auto;
  background-color: #C8102E;
  font-size: 16px;
  line-height: 19px;
  color: #FFF;
}

button.btn.btn-submit img{
  margin-left: 10px;
}

.contact-section textarea.form-control{
  height: 122px;
}



    .news-section {
      background: #f3f3f3;
      padding: 80px 0;
    }

    .news-title {
      font-weight: 700;
      font-size: 2.2rem;
      margin-bottom: 10px;
    }

    .news-subtitle {
      color: #6c757d;
      font-size: 1rem;
    }

    .news-card {
      border: none;
      border-radius: 0px;
      overflow: hidden;
      background: #fff;
      transition: all 0.3s ease;
      height: 100%;
    }

    .news-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

    .news-img {
      height: 210px;
      object-fit: cover;
      width: 100%;
    }

    .badge-source {
      position: absolute;
      top: 12px;
      left: 12px;  
      z-index: 9;    
    }
     .badge-source a{
      background: #fff;
      color: #e30613;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 6px 10px;
      border-radius: 0px;
      text-decoration: none;
      transition: .25s;
     }

     .badge-source a:hover{
      background-color: #e30613;
      color: #FFF;
     }


    .news-body {
      padding: 22px;
    }

    .news-date {
      font-size: 0.8rem;
      color: #8a8a8a;
      margin-bottom: 10px;
      display: flex;
    align-items: center;
    }

    .news-date img{
      display: inline-block;
      width: 16px;
      height: 16px;
      margin-right: 7px;
      vertical-align: middle;
    }



    .news-title-card {
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 10px;
    }

    .news-text {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.5;
      margin-bottom: 15px;
    }

    .read-more {
      font-size: 0.9rem;
      color: #e30613;
      text-decoration: none;
      font-weight: 500;
      display: block;
      transition: .25s;
    }

    .read-more:hover {
      color: #e30613;
      text-decoration: underline;
    }

    .read-more img{
      margin-left: 4px;
      transition: .25s;
    }

    .read-more:hover img{
      margin-left: 7px;
    }


    .source_btn {
      font-size: 0.9rem;
      color: #e30613;
      text-decoration: none;
      font-weight: 500;
      display: inline-block;
      transition: .25s;
    }

    .source_btn:hover {
      color: #e30613;
      text-decoration: underline;
    }


    @media (max-width: 768px) {
      .news-title {
        font-size: 1.8rem;
      }
    }


 .footer-section {
    background: #111;
    color: #bbb;
    padding: 60px 0 30px;
  }

  .footer-logo {
    color: #e30613;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  .footer-text {
    font-size: 0.95rem;
    color: #888;
    max-width: 420px;
  }

  .footer-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }

  .footer-links a:hover {
    color: #fff;
  }

  .footer-divider {
    border-color: #2a2a2a;
    margin: 40px 0 20px;
  }

  .footer-copy {
    font-size: 0.85rem;
    color: #777;
  }

  @media (max-width: 768px) {
    .footer-section {
      text-align: center;
    }
    .footer-text {
      margin: 0 auto;
    }
  }


.page-id-111 .entry-title{
  display: none;
}


.page-id-111  h3{
  font-size: 36px;
  margin-bottom: 30px;
}


.page-id-111  h4{
  font-size: 24px;
  margin-bottom: 30px;
}


/* Navbar base */
.navbar {
  padding: 15px 0;
}

/* Nav links */
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  margin-left: 38px;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #d9002c;
}

/* Active link */
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item > a {
  color: #d9002c;
  font-weight: 600;
}

/* Optional underline animation */
.navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #d9002c;
  transition: width 0.3s;
  margin-top: 3px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .current-menu-item > a::after {
  width: 100%;
}

/* Last menu item as button */
.navbar-nav li:last-child a {
  background-color: #d9002c;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 7px;
  margin-left: 38px;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar-nav li:last-child a:hover {
  background-color: #b80024;
  color: #fff !important;
}

/* Remove underline animation for button */
.navbar-nav li:last-child a::after {
  display: none;
}






/* Hamburger */
.hm-menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 1002;
  display: none;
}

@media (max-width: 991px) {
  .hm-menu-btn {
    display: block;
  }
}

.hm-menu-btn span {
  display: block;
  height: 3px;
  background: #111;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.4s;
}

.hm-menu-btn.hm-hide {
  opacity: 0;
  visibility: hidden;
}

/* Overlay */
.hm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 1000;
}

.hm-overlay.hm-active {
  opacity: 1;
  visibility: visible;
}

/* Sliding Menu */
.hm-full-menu {
  position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .50);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: left 0.4s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    padding-left: 5vh;
    padding-right: 5vh;
}

.hm-full-menu.hm-active {
  left: 0;
}

/* Close button */
.hm-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
}

/* Links */
.hm-full-menu a {
  color: white;
  text-decoration: none;
  font-size: 22px;
  margin: 12px 0;
  transition: 0.3s;
}

.hm-full-menu a:hover {
  color: #00c6ff;
}

/* Contact */
.hm-contact {
  position: absolute;
  bottom: 30px;
  font-size: 13px;
  color: #ccc;
}

.hm-contact p {
  margin: 5px 0;
  color: #FFF;
}

.hm-contact .icon-box{
width: 50px;
    height: 50px;
    background-color: #d9002c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 0px;
    font-size: 20px;
}


.hm-contact  .contact-item h6 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #FFF;
}

.hm-contact p {
    font-size: 14px;
    margin: 0;
}

/* Disable body scroll */
body.hm-no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Allow menu scroll */
.hm-full-menu {
  overflow-y: auto;
}