/*
Theme Name: Medical Cloud Theme
Theme URI:
Author: Domenico Lupo
Author URI: https://www.domenicolupo.it
Description: Medical Cloud Theme
Tags: blog, one-column, two-columns, right-sidebar,  custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 2.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dl

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



  /* NAVBAR
  ---------------------------------*/

  .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  .navbar-brand img {
    display: block;
    height: 44px;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .navbar-nav {
    align-items: center;
  }

  
  

  /* FRONT PAGE
  ---------------------------------*/

body {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #364153;
  background: #F9FAFB;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mc-hero {
  background: #fff;
  padding: 150px 0 40px 0;
  text-align: center;
}
.mc-hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff !important;
  margin-bottom: 16px;
}
.mc-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1491EA;
  margin-bottom: 24px;
}
.mc-hero-cta {
  background: #FFFFFF;
  color: #1D5175;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.3px;
  display: inline-block;
  text-decoration: none;
}
.mc-hero-cta:hover {
  background: #FFFFFF;
  color: #1491EA;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mc-section {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(29, 81, 117, 0.08);
}
.mc-section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #1D5175;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.2;
}
.mc-section-text {
  color: #364153;
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.mc-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.mc-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 48px 36px;
  width: 320px;
  box-shadow: 0 10px 40px rgba(29, 81, 117, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(29, 81, 117, 0.06);
  position: relative;
  overflow: hidden;
}
.mc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1D5175 0%, #1491EA 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(29, 81, 117, 0.15);
  border-color: rgba(20, 145, 234, 0.2);
}
.mc-card:hover::before {
  transform: scaleX(1);
}
.mc-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1D5175;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.mc-card-text {
  color: #364153;
  font-size: 1.0625rem;
  margin-bottom: 0;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .mc-features { flex-direction: column; align-items: center; }
  .mc-card { width: 90%; }
  .mc-news-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    justify-items: center;
  }
}

  
  
  /*------------------------------------
  | MEDIA QUERY
  --------------------------------------*/

  @media (max-width: 575.98px) {

  }

  @media (max-width: 767.98px) {

  }

  @media (max-width: 991.98px) {

  }

  @media (max-width: 1199.98px) {
    
  }

/* HERO MODERNO ED ELEGANTE */
.mc-hero-gradient {
  background: linear-gradient(135deg, #1D5175 0%, #1491EA 100%);
  padding: 160px 0 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.mc-hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(20, 145, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(29, 81, 117, 0.3) 0%, transparent 50%);
  pointer-events: none;
}
.mc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.mc-hero-left {
  flex: 1 1 55%;
  min-width: 0;
  color: #fff;
}
.mc-hero-logo {
  width: 80px;
  margin-bottom: 24px;
}
.mc-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff !important;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.mc-hero-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
  line-height: 1.4;
}
.mc-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
  font-weight: 400;
}


.mc-hero-right {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.mc-hero-video-wrapper {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-hero-video-wrapper:hover {
  transform: scale(1.02);
}
.mc-hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.mc-hero-right img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid rgba(255, 255, 255, 0.15);
}
.mc-hero-right img:hover {
  transform: scale(1.02);
}

/* VISITA SMART MODERNA E BELLA */
.mc-visita-smart {
  background: linear-gradient(135deg, #1D5175 0%, #1491EA 100%);
  margin-top: 0;
  margin-bottom: 80px;
  box-shadow: 0 20px 60px rgba(29, 81, 117, 0.15);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.mc-visita-smart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.mc-visita-smart-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px 64px 56px;
  position: relative;
  z-index: 2;
  gap: 48px;
}
.mc-visita-smart-text {
  flex: 1 1 55%;
  color: #fff;
  font-size: 1.15rem;
}
.mc-visita-smart-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff !important; 
  margin-bottom: 28px;
  letter-spacing: -1px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}
.mc-visita-smart-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.75;
  font-weight: 400;
}
.mc-visita-smart-btn {
  background: #FFFFFF;
  color: #1D5175;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 24px;
  letter-spacing: 0.3px;
  display: inline-block;
  cursor: pointer;
}
.mc-visita-smart-btn:hover {
  background: #FFFFFF;
  color: #1491EA;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.mc-visita-smart-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mc-smart-screenshot {
  width: 340px;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(29, 81, 117, 0.2);
  background: #FFFFFF;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.mc-smart-screenshot:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(29, 81, 117, 0.28);
}
@media (max-width: 991.98px) {
  .mc-visita-smart-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 8px;
  }
  .mc-visita-smart-img {
    justify-content: center;
    width: 100%;
    margin-top: 24px;
  }
  .mc-visita-smart-text {
    width: 100%;
    flex: unset;
    padding: 32px 16px;
  }
}
@media (max-width: 600px) {
  .mc-visita-smart-title { font-size: 1.3rem; }
  .mc-visita-smart-content { padding: 18px 2vw; }
  .mc-smart-screenshot { width: 95vw; border-radius: 12px; }
  .mc-visita-smart-text { padding: 18px 6px; }
}

/* NEWS SECTION */
.mc-news-section {
  padding: 0;
}
.mc-news-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.mc-news-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(29, 81, 117, 0.08);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(29, 81, 117, 0.08);
  overflow: hidden;
  position: relative;
}
.mc-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D5175 0%, #1491EA 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
.mc-news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(29, 81, 117, 0.16);
  border-color: rgba(20, 145, 234, 0.25);
}
.mc-news-card:hover::before {
  transform: scaleX(1);
}
.mc-news-thumb-link {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.mc-news-thumb-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(29, 81, 117, 0.7) 0%, rgba(20, 145, 234, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.mc-news-card:hover .mc-news-thumb-link::after {
  opacity: 0.15;
}
.mc-news-thumb {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-news-card:hover .mc-news-thumb {
  transform: scale(1.08);
}
.mc-news-content {
  padding: 28px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.mc-news-date {
  color: #1491EA;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.mc-news-cat {
  color: #1D5175;
  font-weight: 700;
}
.mc-news-title-link {
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}
.mc-news-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1D5175;
  margin-bottom: 0;
  letter-spacing: -0.6px;
  line-height: 1.25;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-news-title-link:hover .mc-news-title {
  color: #1491EA;
}
.mc-news-desc {
  color: #5A6C7D;
  font-size: 1.0625rem;
  margin-bottom: 24px;
  line-height: 1.75;
  flex: 1;
}
.mc-news-btn {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: linear-gradient(135deg, #1D5175 0%, #1491EA 100%);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  box-shadow: 0 4px 16px rgba(29, 81, 117, 0.25);
  letter-spacing: 0.4px;
  line-height: 1.5;
  align-self: flex-start;
}
.mc-news-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(29, 81, 117, 0.4);
  color: #FFFFFF !important;
  text-decoration: none;
  background: linear-gradient(135deg, #1491EA 0%, #1D5175 100%);
}

/* Migliorie generali */
.mc-section {
  margin-bottom: 48px;
}

@media (max-width: 1100px) {
  .mc-visita-smart-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .mc-visita-smart-img {
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .mc-features { flex-direction: column; align-items: center; }
  .mc-card { width: 90%; }
  .mc-news-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    justify-items: center;
  }
}
@media (max-width: 600px) {
  .mc-hero-title { font-size: 2.1rem; }
  .mc-hero-inner { align-items: center; text-align: center; }
  .mc-visita-smart-content { padding: 32px 8px; }
  .mc-smart-screenshot { width: 90vw; }
}

/* HERO FLEX LAYOUT */
.mc-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.mc-hero-left {
  flex: 1 1 50%;
  min-width: 0;
}
.mc-hero-right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.mc-hero-video-wrapper {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  background: #0002;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 1100px) {
  .mc-hero-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .mc-hero-right, .mc-hero-left {
    width: 100%;
    flex: unset;
  }
  .mc-hero-video-wrapper {
    max-width: 100vw;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .mc-hero-video-wrapper {
    max-width: 100vw;
    border-radius: 12px;
  }
}

/* PROGETTI FLEXBOX */
.mc-projects-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}
.mc-project-card {
  flex: 1 1 340px;
  max-width: 48%;
  min-width: 280px;
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .mc-project-card { max-width: 100%; min-width: 0; }
  .mc-projects-flex { gap: 20px; }
}

/* Margin top per admin bar */
body.admin-bar .mc-header {
  margin-top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .mc-header {
    margin-top: 46px;
  }
}

/* NAVBAR STICKY CON CAMBIO COLORE (COMPATIBILE BOOTSTRAP CLASSICO) */
.mc-header.transition-navbar {
  background: linear-gradient(135deg, #1D5175 0%, #1491EA 100%) !important;
  transition: background 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
  box-shadow: none;
}
.mc-header.transition-navbar .navbar,
.mc-header.transition-navbar .navbar-brand,
.mc-header.transition-navbar .navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.4s cubic-bezier(.4,0,.2,1);
}
.mc-header.transition-navbar .js-navbar-logo {
  filter: brightness(1) drop-shadow(0 0 0 #fff);
  transition: filter 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}

.mc-header.transition-navbar.scrolled {
  background: #FFFFFF !important;
  box-shadow: 0 2px 16px rgba(29, 81, 117, 0.1);
}
.mc-header.transition-navbar.scrolled .navbar,
.mc-header.transition-navbar.scrolled .navbar-brand,
.mc-header.transition-navbar.scrolled .navbar-nav .nav-link {
  color: #1D5175 !important;
}
.mc-header.transition-navbar.scrolled .js-navbar-logo {
  filter: none;
}

/* NAVBAR LOGO E MENU ALLINEATI - DEFINITIVO */
.mc-header .navbar,
.mc-header .container {
  display: flex !important;
  align-items: center !important;
  min-height: 64px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.js-navbar-logo {
  transition: 
    transform 0.8s cubic-bezier(.4,0,.2,1),
    opacity 0.8s cubic-bezier(.4,0,.2,1);
}
.mc-logo-small {
  transform: scale(0.85);
  opacity: 0.92;
}

/* SEZIONI CHI SIAMO E MISSION A DUE COLONNE */
.mc-section-2col {
  display: flex;
  align-items: center;
  gap: 80px;
  justify-content: space-between;
  padding: 40px 0;
}
.mc-section-2col .mc-section-img {
  flex: 1 1 45%;
}
.mc-section-2col .mc-section-img img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(29, 81, 117, 0.1);
}
.mc-section-2col .mc-section-img img:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 20px 60px rgba(29, 81, 117, 0.15);
}
.mc-section-2col .mc-section-content {
  flex: 1 1 55%;
}
.mc-section-2col .mc-section-content .mc-section-title {
  font-size: 2.75rem;
  margin-bottom: 28px;
}
.mc-section-2col .mc-section-content .mc-section-text {
  font-size: 1.125rem;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .mc-section-2col {
    flex-direction: column !important;
    gap: 40px;
    padding: 20px 0;
  }
  .mc-section-2col .mc-section-img,
  .mc-section-2col .mc-section-content {
    width: 100%;
    flex: unset;
  }
  .mc-section-2col .mc-section-content .mc-section-title {
    font-size: 2rem;
  }
}

.mc-logos-flex img,
.mc-section-title + div img[style*='grayscale'] {
  filter: grayscale(1); 
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}
.mc-logos-flex img:hover,
.mc-section-title + div img[style*='grayscale']:hover {
  filter: none;
  opacity: 1;
}

.mc-logo-client {
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}
.mc-logo-client:hover {
  filter: none;
  opacity: 1;
}

.mc-contact-form {
  max-width: 420px;
  margin: 48px auto 48px auto;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(29, 81, 117, 0.1);
  padding: 40px 36px 32px 36px;
  border: 1px solid #F9FAFB;
}
.mc-form-group {
  margin-bottom: 22px;
}
.mc-contact-form label {
  display: block;
  font-weight: 700;
  color: #1D5175;
  margin-bottom: 7px;
  font-size: 1.05rem;
}
.mc-input, .mc-textarea {
  width: 100%;
  border: 2px solid #F9FAFB;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #364153;
  background: #F9FAFB;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}
.mc-input:focus, .mc-textarea:focus {
  border-color: #1491EA;
  box-shadow: 0 0 0 3px rgba(20, 145, 234, 0.1);
  background: #FFFFFF;
}
.mc-textarea {
  min-height: 120px;
  resize: vertical;
}
.mc-btn, .mc-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #1D5175 0%, #1491EA 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 32px;
  padding: 14px 40px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(29, 81, 117, 0.2);
  letter-spacing: 0.3px;
  margin-top: 10px;
}
.mc-btn:hover, .mc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(29, 81, 117, 0.3);
  color: #FFFFFF;
}


/* SEZIONI CON PADDING MAGGIORE */
.container-fluid > .container {
  padding-left: 20px;
  padding-right: 20px;
}

/* LOGHI CLIENTI CON EFFETTI MODERNI */
.mc-logo-client {
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.95);
}
.mc-logo-client:hover {
  filter: none;
  opacity: 1;
  transform: scale(1);
}

/* FOOTER MODERNO */
footer {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  border-top: 2px solid rgba(29, 81, 117, 0.08);
  padding: 80px 0 50px 0;
  margin-top: 100px;
}

footer h5 {
  color: #1D5175;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

footer .text-muted {
  color: #364153 !important;
  transition: color 0.3s ease;
  line-height: 1.9;
  font-size: 0.9375rem;
}

footer .text-muted:hover {
  color: #1491EA !important;
  text-decoration: none;
}

footer small {
  color: #364153 !important;
  font-size: 0.9375rem;
  opacity: 0.8;
}

footer img {
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.05);
}

/* SEZIONE SCELTI DA */
.mc-clients-section {
  padding: 80px 0 !important;
  background: #FFFFFF;
}

.mc-clients-section .mc-section-title {
  margin-bottom: 56px;
}

/* RESPONSIVE IMPROVEMENTS */
@media (max-width: 768px) {
  .mc-hero-gradient {
    padding: 120px 0 80px 0;
    min-height: auto;
  }
  
  .mc-hero-title {
    font-size: 2.5rem !important;
    letter-spacing: -1px;
  }
  
  .mc-hero-subtitle {
    font-size: 1.25rem;
  }
  
  .mc-hero-desc {
    font-size: 1rem;
  }
  
  .mc-hero-cta {
    padding: 14px 36px;
    font-size: 1rem;
  }
  
  .mc-section-title {
    font-size: 2rem !important;
  }
  
  .mc-visita-smart {
    min-height: auto;
    margin-bottom: 60px;
  }
  
  .mc-visita-smart-content {
    padding: 48px 20px !important;
  }
  
  .mc-visita-smart-title {
    font-size: 2rem !important;
  }
  
  .mc-visita-smart-desc {
    font-size: 1rem;
  }
  
  .mc-card {
    width: 100%;
    max-width: 400px;
  }
  
  footer {
    padding: 60px 0 40px 0;
    margin-top: 60px;
  }
}

/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

/* ANIMAZIONE FADE IN AL CARICAMENTO */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mc-hero-left > * {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.mc-hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.mc-hero-left > *:nth-child(2) { animation-delay: 0.2s; }
.mc-hero-left > *:nth-child(3) { animation-delay: 0.3s; }
.mc-hero-left > *:nth-child(4) { animation-delay: 0.4s; }

.mc-hero-right img,
.mc-hero-video-wrapper {
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}




