/**
 * Template: ms-lms-starter-theme
 * Theme Name: MasterStudy Templates Child
 * Theme URI: https://starter.stylemixthemes.com/
 * Author: StylemixThemes
 * Author URI: https://stylemixthemes.com/
 * Description: MasterStudy Templates Child Theme is the child theme for the MasterStudy Templates. With this child theme, you can customize your eLearning website appearance without changing the original templates.
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: classes, courses, Education, education center, e-commerce, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
 * Text Domain: starter-text-domain
 * Version: 1.0.0
 */

/* ======================
   VARIABILI GLOBALI
   ====================== */
:root {
  /* Colori primari */
  --color-primary: #5C3CFF;
  --color-primary-light: #8B67FF;
  --color-primary-lighter: #AE77FF;
  --color-primary-lightest: #D89EFF;
  --color-primary-dark: #492AE5;
  --color-accent: #ff8c42;
  --color-accent-dark: #ff571f;
  
  /* Testo e sfondi */
  --color-text: rgba(255, 255, 255, 0.95);
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-overlay-dark: rgba(73, 42, 229, 0.7);
  
  /* Font */
  --font-main: 'Montserrat', sans-serif;
  --fs-h1: 3rem;
  --fs-h2: 2.5rem;
  --fs-h3: 1.5rem;
  --fs-body: 1rem;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 10px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  --transition-default: all 0.3s ease;
}

/* ======================
   RESET E BASE
   ====================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 25%, 
                              var(--color-primary-lighter) 50%, var(--color-primary-lightest) 75%, 
                              rgba(255, 205, 255, 1) 100%) !important;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Contenitori del tema */
.site-content,
.elementor-section,
.container,
.wrap,
.page-wrapper {
  background: transparent !important;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: #ffffff;
}

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

/* ======================
   ANIMAZIONI GLOBALI
   ====================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes oscillation {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes appear {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ======================
   UTILITY CLASSES
   ====================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.highlight {
  color: var(--color-accent);
  text-shadow: 0 0 15px rgba(255, 159, 41, 0.7);
}

.text-orange {
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.sign-up-btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: white !important;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition-default);
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 159, 41, 0.6);
}

.sign-up-btn:hover {
  background-color: var(--color-accent-dark);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* ======================
   HEADER E NAVIGAZIONE
   ====================== */
header {
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
}

header .logo {
  display: flex;
  align-items: center;
  color: white !important;
  font-family: var(--font-main) !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  color: white !important;
  font-family: var(--font-main) !important;
  text-transform: uppercase;
  font-size: 1rem !important;
  margin: 0 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-accent) !important;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent) !important;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100% !important;
}

.icon-circle {
  background: #2c2c54 !important;
  color: white !important;
  border-radius: 50%;
  padding: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: var(--transition-default);
  margin-left: 15px;
}

.icon-circle:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
}

.header-btn {
  background: var(--color-accent) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-family: var(--font-main) !important;
  font-weight: bold;
  text-transform: uppercase !important;
  transition: var(--transition-default);
  text-decoration: none !important;
}

.header-btn:hover {
  background: var(--color-accent-dark) !important;
  transform: scale(1.1) !important;
}

/* ======================
   SFONDO ANIMATO
   ====================== */
#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Dietro al contenuto ma non troppo basso */
  background: transparent;
  pointer-events: none; /* Non blocca interazioni con elementi sottostanti */
}

/* ======================
   SEZIONE HERO / INTRO
   ====================== */
.arc8-section {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  color: white;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.arc8-header h1 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 10px;
  animation: fadeIn 1s ease-out;
}

.arc8-header p {
  font-size: 1.5rem;
  margin: 0 0 30px;
  animation: fadeIn 1.2s ease-out;
}

.arc8-content {
  position: relative;
  margin-bottom: 30px;
  animation: fadeIn 1.4s ease-out;
}

.arc8-character img {
  width: 300px;
  height: auto;
  animation: float 4s infinite ease-in-out;
}

.arc8-button {
  margin-top: 20px;
  animation: fadeIn 1.6s ease-out;
}

/* ======================
   HERO SECTION ALTERNATIVA
   ====================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  margin-top: 10px;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.hero-textbox {
  flex: 1 1 50%;
  padding: 20px;
}

.hero-textbox h1 {
  font-size: 3rem;
  line-height: 1.3;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 25px;
  animation: fadeIn 0.8s ease-out;
}

.hero-textbox p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-out;
}

.hero-image {
  flex: 1 1 40%;
  padding: 10px;
  text-align: center;
  animation: fadeIn 1.2s ease-out;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  animation: float 5s infinite ease-in-out;
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.05) rotate(2deg);
}

.hero-highlighted-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 20px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-highlighted-text span {
  color: var(--color-accent);
  font-weight: bold;
  text-decoration: underline;
}

/* Linea divisoria verticale */
.divider-vertical {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  height: 150px;
  top: calc(100% - 200px);
  z-index: 1;
}

/* ======================
   SEZIONE COLLABORAZIONI
   ====================== */
.collab-section {
  text-align: center;
  padding: 20px 20px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.collab-section h3 {
  font-size: var(--fs-h2);
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.collab-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.collab-logos img {
  max-width: 150px;
  max-height: 80px;
  filter: brightness(1.2);
  transition: var(--transition-default);
}

.collab-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
}

/* ======================
   SEZIONE CARDS
   ====================== */
.cards-section {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.cards-section h2 {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.card {
  width: 450px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.15));
  color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-default);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.card img.card-image {
  margin: 20px auto;
  max-width: 100px;
  height: auto;
  display: block;
  filter: brightness(1.2);
  transition: var(--transition-default);
}

.card img.card-image:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
}

/* ======================
   SEZIONE VISION
   ====================== */
.vision-section {
  text-align: center;
  padding: 60px 20px;
  color: white;
  position: relative;
  z-index: 1;
}

.vision-section h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.vision-section h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 50px;
}

.vision-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 50px;
  align-items: center;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.vision-center {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-image {
  max-width: 180px;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.vision-image:hover {
  transform: scale(1.05);
}

.vision-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-default);
}

.vision-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.vision-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.vision-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

/* ======================
   SEZIONE PROTOCOLLO
   ====================== */
.protocol-section {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.protocol-section h2 {
  font-size: 2.8rem;
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.protocol-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.protocol-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

.step-box {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.step-box.left {
  text-align: right;
  padding-right: 55%;
}

.step-box.right {
  text-align: left;
  padding-left: 55%;
}

.step-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 15px;
}

.step-box h3 {
  font-size: 1.8rem;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-box p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ======================
   SEZIONE RICOMPENSE
   ====================== */
.exclusive-section {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  z-index: 1;
}

.exclusive-astronaut {
  position: absolute;
  top: -30px;
  right: 20px;
  z-index: 2;
}

.exclusive-astronaut img {
  width: 160px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

.exclusive-header h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FF7F50;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.exclusive-subtitle p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ddd;
}

.reward-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.reward-item {
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.reward-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: var(--transition-default);
  cursor: pointer;
}

.reward-item img:hover {
  transform: scale(1.1);
  box-shadow: 0px 15px 25px rgba(255, 255, 255, 0.6);
}

.reward-item p {
  font-size: 1rem;
  color: #fff;
  font-weight: normal;
  text-transform: none;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
}

/* ======================
   SEZIONE APP/GAMES
   ====================== */
.arc9-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin: 60px 0;
  z-index: 1;
}

.arc9-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(5px);
}

.arc9-phone-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.arc9-phone-image {
  max-width: 400px;
  max-height: 600px;
  display: block;
}

.arc9-game-thumbnails {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  z-index: 1;
  animation: scrollThumbnails 80s linear infinite;
}

.arc9-thumbnail {
  width: 250px;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 1.7s ease;
}

.arc9-thumbnail:hover {
  transform: scale(1.1);
}

.arc9-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arc9-thumbnail-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes scrollThumbnails {
  0% {
    transform: translateX(calc(-50% + 600px));
  }
  100% {
    transform: translateX(calc(-50% - 1500px));
  }
}

/* ======================
   SEZIONE LIVE TRAINING
   ====================== */
.live-training-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.live-training-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.live-training-text {
  flex: 1;
  max-width: 600px;
}

.live-training-text h2 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.live-training-text h2 .highlight {
  color: var(--color-accent);
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.live-training-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  line-height: 1.8;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.live-training-text ul {
  list-style: none;
  padding: 0;
}

.live-training-text ul li {
  margin-bottom: 15px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.live-training-text ul li strong {
  color: var(--color-accent);
}

.live-training-image {
  flex: 1;
  max-width: 500px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.live-training-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.live-training-image img:hover {
  transform: scale(1.05);
}

/* ======================
   SEZIONE FAQ
   ====================== */
.faq-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  color: #fff;
  z-index: 1;
}

.faq-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.faq-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.faq-text h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.faq-text p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.faq-button {
  display: inline-block;
  padding: 16px 40px;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-default);
  box-shadow: 0 8px 20px rgba(255, 159, 41, 0.6);
}

.faq-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 159, 41, 0.9);
}

.faq-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-items details {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-default);
}

.faq-items details:hover {
  transform: translateY(-2px);
  border: 1px solid var(--color-accent);
  background: rgba(0, 0, 0, 0.3);
}

.faq-items summary {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  list-style: none;
}

.faq-items summary::-webkit-details-marker {
  display: none;
}

.faq-items summary::before {
  content: "+";
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.faq-items details[open] summary::before {
  content: "−";
}

.faq-items details[open] {
  background: rgba(255, 159, 41, 0.2);
  border: 1px solid var(--color-accent);
}

.faq-items details[open] summary {
  color: var(--color-accent);
}

.faq-items details p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* ======================
   SEZIONE CRYPTO CHOICE
   ====================== */
.choice-section {
  text-align: center;
  padding: 60px 20px;
  z-index: 1;
}

.choice-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.choice-buttons {
  margin-bottom: 30px;
}

.choice-btn {
  padding: 15px 30px;
  font-size: 1.2rem;
  margin: 0 15px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.choice-btn:hover {
  background: #ffcc80;
  color: #000;
}

.choice-btn.active {
  background: #ffcc80;
  color: #000;
  transform: scale(1.05);
}

.choice-contents {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.choice-content {
  display: none;
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: #fff;
  text-align: left;
}

.choice-content h3 {
  font-size: 2rem;
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  margin-bottom: 15px;
}

.choice-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #f5f5f5;
}

/* ======================
   SEZIONE PAYMENT CARD
   ====================== */
.payment-card {
  background: linear-gradient(135deg, #7e57c2, #ab47bc);
  border-radius: 16px;
  padding: 30px;
  max-width: 450px;
  margin: 30px auto;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition-default);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.payment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(135deg, #ff9800, #ffcc80);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}

.payment-card .icon {
  position: relative;
  z-index: 2;
}

.payment-card .icon img {
  max-width: 80px;
  margin-bottom: 20px;
}

.payment-card h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.payment-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f5f5f5;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.payment-card .card-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6f00, #ffa726);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-default);
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.payment-card .card-button:hover {
  background: linear-gradient(135deg, #ffcc80, #ffa726);
  transform: scale(1.05);
}

.payment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.popup-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.popup-content .popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.popup-content .popup-close:hover {
  color: #f00;
}

/* ======================
   SEZIONE TIMELINE
   ====================== */
.timeline-section {
  padding: 60px 20px;
  text-align: center;
  background: none;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 20px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background-color: var(--color-accent);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  margin-right: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 15px;
  width: 2px;
  height: calc(100% - 15px);
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.timeline-date {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin-right: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex: 1;
  text-align: left;
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.timeline-content p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}

/* ======================
   SEZIONE DISTRIBUZIONE
   ====================== */
.distribution-section {
  padding: 60px 20px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #ffcc80;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.distribution-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.chart {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
      #ffcc80 0% 30%,
      #2ecc71 30% 60%,
      #3498db 60% 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: pulse-chart 2.5s ease-in-out infinite;
}

.chart-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chart-value {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.distribution-details ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.distribution-details li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.bullet {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
}

.bullet-blue { background: #3498db; }
.bullet-green { background: #2ecc71; }
.bullet-orange { background: var(--color-accent); }

@keyframes pulse-chart {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  }
}

/* ======================
   SEZIONE DOCUMENTI
   ====================== */
.documents-section {
  padding: 60px 20px;
  text-align: center;
  z-index: 1;
}

.section-description {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 40px;
}

.text-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
  text-align: left;
  margin: 0 auto 40px;
  max-width: 800px;
}

.text-content p {
  margin-bottom: 15px;
}

.text-content a {
  color: var(--color-accent);
  font-weight: bold;
  text-decoration: underline;
}

.documents-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.document-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 200px;
  text-align: center;
  transition: var(--transition-default);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.document-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.document-icon {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.document-icon img {
  width: 60px;
  height: auto;
}

.document-title {
  font-size: 1rem;
  color: #333333;
  font-weight: bold;
}

.document-card:hover .document-icon img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ======================
   SEZIONE CRYPTO
   ====================== */
.crypto-section {
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  position: relative;
  z-index: 1;
}

.crypto-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  padding: 40px;
}

.crypto-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--color-accent);
}

.crypto-subtitle {
  font-size: 2rem;
  margin: 30px 0 20px;
  color: var(--color-accent);
}

.crypto-description,
.crypto-conclusion {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffffff;
  margin: 20px 0;
}

.crypto-list {
  text-align: left;
  margin: 20px 0;
  padding-left: 20px;
  color: #ffffff;
  list-style: none;
}

.crypto-list li {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.crypto-list li span {
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* ======================
   SEZIONE STRATEGIA
   ====================== */
.strategy-section {
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 1;
}

.strategy-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.strategy-description {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #ffffff;
}

.strategy-images {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.strategy-images .background-image {
  width: 100%;
  border-radius: 15px;
  filter: brightness(0.6) blur(3px);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.foreground-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.foreground-wrapper .dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  z-index: 1;
  filter: blur(4px);
}

.foreground-wrapper .foreground-image {
  position: relative;
  width: 100%;
  z-index: 2;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.foreground-wrapper:hover .foreground-image {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.strategy-images:hover .background-image {
  transform: scale(1.02);
  filter: brightness(0.5);
  opacity: 0.9;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.action-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.action-button:hover {
  background: #ff8f00;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ======================
   SEZIONE FEATURE
   ====================== */
.feature-section {
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.feature-combined {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.4), rgba(122, 87, 255, 0.3));
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.feature-description {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
  padding-right: 20px;
}

.feature-title {
  flex: 0 0 30%;
  text-align: right;
}

.feature-title h3 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.feature-title h3 .highlight {
  color: #000;
}

.feature-group:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 20px;
}

/* ======================
   SEZIONE INDICE PAGINA
   ====================== */
.index-section {
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.3), rgba(122, 87, 255, 0.3));
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 40px auto;
  z-index: 1;
  position: relative;
}

.index-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-list li {
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-align: left;
  color: #ffffff;
}

.index-list a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
}

.index-list a:hover {
  color: var(--color-accent);
  background: rgba(255, 167, 38, 0.3);
  transform: translateX(5px);
}

/* ======================
   FOOTER
   ====================== */
.custom-footer {
  background-color: transparent; /* Rimosso lo sfondo */
  color: rgba(255, 255, 255, 0.9);
  padding: 40px 20px 20px; /* Aggiunta spaziatura inferiore */
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 1;
}

/* Container del footer */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap; /* Mantiene tutto in una riga */
  justify-content: space-between;
  align-items: flex-start; /* Allineamento superiore */
  gap: 20px; /* Ridotto lo spazio tra le sezioni */
  position: relative; /* Per gestire il posizionamento del copyright */
  padding-bottom: 40px; /* Spazio per il copyright */
}

/* Logo e Social */
.footer-logo-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; /* Meno spazio tra logo e icone */
}

.footer-logo img {
  max-width: 150px; /* Logo più compatto */
}

.footer-social {
  display: flex;
  gap: 10px; /* Ridotto lo spazio tra le icone */
}

.footer-social a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: rgb(234, 144, 26);
}

/* Colonne dei Link */
.footer-links {
  flex: 2; /* Occupano più spazio */
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  min-width: 180px; /* Uniformità di larghezza */
}

.footer-column h3 {
  font-size: 1.1rem;
  color: rgb(234, 144, 26);
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

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

.footer-column ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: rgb(234, 144, 26);
}

/* Copyright */
.footer-copyright {
  position: absolute; /* Posizionato sotto il contenitore */
  bottom: 0; /* Allineato in basso */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6); /* Testo meno evidente */
  width: 100%;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
  }

  .footer-logo-container {
    flex: 100%;
    margin-bottom: 20px;
    align-items: center;
  }

  .footer-links {
    flex: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-column {
    margin-bottom: 20px;
  }
  
  .footer-column h3 {
    text-align: center;
  }
}


/* ======================
   PAGINA CORSO
   ====================== */
.page-corso .hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: white;
  text-align: left;
  padding: 0 20px;
  overflow: hidden;
}

.page-corso .hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.page-corso .hero-text {
  flex: 1;
}

.page-corso .hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-corso .hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.page-corso .cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 15px 40px;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 8px 15px rgba(234, 144, 26, 0.5);
  transition: var(--transition-default);
}

.page-corso .cta-button:hover {
  background: rgb(204, 123, 20);
  transform: scale(1.05);
}

.page-corso .hero-image {
  flex: 1;
  text-align: right;
}

.page-corso .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.perche-section {
  padding: 80px 20px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  z-index: 1;
}

.perche-section h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.perche-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.perche-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-default);
}

.perche-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(234, 144, 26, 0.5);
}

.perche-card .icon img {
  max-width: 60px;
  height: auto;
  filter: brightness(1);
  transition: transform 0.3s ease;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
}

.perche-card:hover .icon img {
  transform: scale(1.1);
}

.perche-card h3 {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 10px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.perche-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.offerta-formativa {
  text-align: center;
  padding: 50px 20px;
  z-index: 1;
}

.offerta-formativa h2 {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 40px;
}

.bundle-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.bundle-card {
  width: 450px;
  height: 650px;
  background: linear-gradient(145deg, #7a3ea1, #5a2780);
  color: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-default);
}

.bundle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.bundle-card.premium {
  border: 3px solid var(--color-accent);
}

.bundle-card .icon-decorative {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
}

.bundle-card .discount {
  position: absolute;
  top: -15px;
  right: 50px;
  background: var(--color-accent);
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 15px;
  z-index: 2;
}

.bundle-card h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 70px;
  text-transform: uppercase;
}

.bundle-card .price {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 10px 0;
}

.bundle-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

.bundle-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle-card ul li {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.bundle-card ul li .check-icon {
  width: 25px;
  height: 25px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 15px;
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bundle-features li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

.bundle-features li:before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: var(--color-accent);
  font-weight: bold;
}

.bundle-card .cta-button {
  width: 100%;
  background: var(--color-accent);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px 0;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 20px;
}

.bundle-card .cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ======================
   MODIFICHE LMS
   ====================== */
/* Nascondi l'icona di ricerca */
.ms_lms_course_search_box__popup_button {
  display: none !important;
}

/* Rimuove l'icona accanto al testo */
.ms-lms-authorization-icon {
  display: none !important;
}

/* Trasforma lo span "Entra" in un pulsante ingrandito */
.ms-lms-authorization-title {
  display: inline-block;
  background-color: var(--color-accent);
  color: white !important;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-default);
}

/* Hover per il pulsante */
.ms-lms-authorization-title:hover {
  background-color: var(--color-accent-dark) !important;
  color: #ffffff !important;
  transform: scale(1.05) !important;
}

/* Allinea meglio l'intero blocco */
.ms-lms-authorization {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
}

/* Nascondi footer predefinito */
#colophon {
  display: none !important;
}

/* Nascondi la sezione "Vuoi diventare un docente?" */
.stm_lms_become_instructor {
  display: none !important;
}

/* Dimensionamento del logo */
.hfe-site-logo-container img {
  content: url();
  width: 160px;
  height: auto;
  display: inline-block;
  margin-right: 10px;
}

.hfe-site-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
}

.header-nav {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

/* ======================
   STATISTICHE STUDENTE
   ====================== */
.masterstudy-enrolled-courses-sorting {
  background: #f8faff !important;
  border-radius: 15px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
  display: flex;
  justify-content: space-between !important;
  transition: all 0.3s ease-in-out !important;
}

.masterstudy-enrolled-courses-sorting.hidden {
  display: none !important;
}

.masterstudy-enrolled-courses-sorting__block {
  text-align: center !important;
  flex: 1 !important;
  margin: 0 10px !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  background: #ffffff !important;
  transition: transform 0.3s ease, background 0.3s ease !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05) !important;
}

.masterstudy-enrolled-courses-sorting__block:nth-child(1) {
  border-top: 5px solid #FFD700 !important;
}

.masterstudy-enrolled-courses-sorting__block:nth-child(2) {
  border-top: 5px solid #40C4FF !important;
}

.masterstudy-enrolled-courses-sorting__block:nth-child(3) {
  border-top: 5px solid #7C4DFF !important;
}

.masterstudy-enrolled-courses-sorting__block:hover {
  transform: scale(1.05) !important;
  background: rgba(240, 248, 255, 0.8) !important;
}

.masterstudy-enrolled-courses-sorting__block-icon {
  font-size: 24px !important;
  color: inherit !important;
  margin-bottom: 10px !important;
}

.masterstudy-enrolled-courses-sorting__block-title {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #3B517C !important;
  margin-bottom: 5px !important;
}

.masterstudy-enrolled-courses-sorting__block-value {
  font-size: 20px !important;
  font-weight: bold !important;
  color: #1E293B !important;
}

.masterstudy-enrolled-courses-tabs__block {
  background: #eef4ff !important;
  color: #3B517C !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  margin-right: 10px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.masterstudy-enrolled-courses-tabs__block_active {
  background: #B3D4FF !important;
  color: #1E293B !important;
}

.masterstudy-enrolled-courses-tabs__block:hover {
  transform: scale(1.05) !important;
  background: #D6E9FF !important;
}

/* Pulsante toggle statistiche */
.masterstudy-enrolled-courses__toggle {
  background-color: #FFD700 !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: bold !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  text-align: center !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  max-width: fit-content !important;
  transition: all 0.3s ease !important;
}

.masterstudy-enrolled-courses__toggle i {
  font-size: 18px !important;
  color: #000000 !important;
  margin-right: 6px !important;
}

.masterstudy-enrolled-courses__toggle:hover {
  background-color: #FFC107 !important;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
  transform: scale(1.02) !important;
}

/* ======================
   FLOAT MENU
   ====================== */
.float_menu_item {
  padding: 12px 20px;
  margin-bottom: 10px;
  display: block;
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition-default);
}

.float_menu_item:hover {
  background-color: rgba(94, 53, 177, 0.8) !important;
  color: #FFFFFF !important;
  border-left: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.float_menu_item_active {
  background-color: rgba(94, 53, 177, 0.8) !important;
  color: #FFFFFF !important;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.float_menu_item__icon {
  font-size: 18px;
  color: #FFFFFF;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.float_menu_item:hover .float_menu_item__icon {
  color: #FFFFFF !important;
}

.stm_lms_user_float_menu__scrolled_label {
  text-align: center;
  margin-top: 20px;
  color: #AAB7C4;
  cursor: pointer;
}

.stm_lms_user_float_menu__scrolled_label i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.stm_lms_user_float_menu__scrolled_label:hover i {
  transform: translateY(-2px);
  color: rgba(94, 53, 177, 0.8) !important;
}

/* ======================
   DROPDOWN MENU
   ====================== */
ul.dropdown-menu .dropdown_menu_item {
  color: #1E293B !important;
  background-color: transparent !important;
  text-decoration: none !important;
  padding: 10px 15px !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

ul.dropdown-menu .dropdown_menu_item:hover {
  background-color: rgba(94, 53, 177, 0.8) !important;
  color: #FFFFFF !important;
  border-radius: 5px !important;
}

ul.dropdown-menu .stm_lms_logout {
  color: #EF4444 !important;
  background-color: transparent !important;
  padding: 10px 15px !important;
  text-decoration: none !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

ul.dropdown-menu .stm_lms_logout:hover {
  background-color: rgba(239, 68, 68, 0.2) !important;
  color: #FFFFFF !important;
  border-radius: 5px !important;
}

/* ======================
   ALTRI ELEMENTI LMS
   ====================== */
.student_name {
  font-size: 16px !important;
  font-weight: normal !important;
  word-break: break-word !important;
  color: #1E293B !important;
  margin-bottom: 10px !important;
}

/* ======================
   GRIGLIA CORSI
   ====================== */
.stm_lms_instructor_courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.stm_lms_instructor_courses__single {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: var(--transition-default);
}

.stm_lms_instructor_courses__single:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.stm_lms_instructor_courses__single--image {
  position: relative;
  overflow: hidden;
}

.stm_lms_instructor_courses__single--image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.stm_lms_instructor_courses__single:hover .stm_lms_instructor_courses__single--image img {
  transform: scale(1.05);
}

.stm_lms_post_status.special {
  background: linear-gradient(135deg, #FFD700, #FFC300);
  color: #1E293B;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  animation: pulseGlow 2s infinite ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.stm_lms_post_status.special::before {
  content: "★";
  color: #FFD700;
  font-size: 14px;
  display: inline-block;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
  }
}

.stm_lms_instructor_courses__single--inner {
  padding: 20px;
}

.stm_lms_instructor_courses__single--title h5 {
  font-size: 18px;
  font-weight: bold;
  color: #1E293B;
  margin: 10px 0;
  transition: color 0.3s ease;
}

.stm_lms_instructor_courses__single--title h5:hover {
  color: #5C85FF;
}

.stm_lms_instructor_courses__single--terms a {
  font-size: 14px;
  color: #7C4DFF;
  font-weight: bold;
  text-decoration: none;
}

.stm_lms_instructor_courses__single--progress_bar {
  height: 10px;
  background: #F1F5F9;
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
}

.stm_lms_instructor_courses__single--progress_filled {
  height: 100%;
  background: #16A34A !important;
  width: 100%;
  transition: width 0.4s ease, background-color 0.3s ease;
}

.stm_lms_instructor_courses__single--enroll .continue {
  background: #5C85FF;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: var(--transition-default);
  display: inline-block;
}

.stm_lms_instructor_courses__single--enroll .continue:hover {
  background: #3B517C;
  transform: scale(1.05);
}

.stm_lms_instructor_courses__single--started {
  font-size: 12px;
  color: #64748B;
  margin-top: 10px;
}

/* ======================
   TABELLA
   ====================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
}

table th {
  background-color: #43C370;
  color: #fff;
  text-align: left;
  padding: 15px;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 10px 10px 0 0;
}

table td {
  background: #f9f9f9;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #555;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: var(--transition-default);
}

table tr:nth-child(even) td {
  background: #e0f7fa;
}

table tr td:first-child:before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #43C370;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
}

table tr td:first-child:after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 100%;
  background: #43C370;
  z-index: -1;
}

table tr:last-child td:first-child:after {
  display: none;
}

table tr th:first-child {
  border-radius: 10px 0 0 0;
}

table tr th:last-child {
  border-radius: 0 10px 0 0;
}

table tbody tr:hover td {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  background: #f1fff5;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 992px) {
  .hero-content, .vision-container, .faq-container, .footer-container, .collab-logos {
    flex-direction: column;
  }
  
  .hero-textbox, .hero-image, .faq-text, .faq-items {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .vision-center {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 30px;
  }
  
  .vision-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .exclusive-astronaut {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .reward-icons {
    gap: 20px;
  }
  
  .protocol-steps::before {
    left: 20px;
  }
  
  .step-box.left, .step-box.right {
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
  }

  .collab-section {
    margin-top: -100px;
  }
  
  .strategy-images .background-image {
    height: 300px;
    object-fit: cover;
  }
  
  .crypto-list {
    padding-left: 0;
  }

  .feature-group {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .feature-title {
    text-align: center;
    flex: 1 1 100%;
  }
  
  .feature-description {
    padding-right: 0;
  }
  
  .foreground-wrapper {
    width: 80%;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.3rem;
  }
  
  .arc8-header h1, .exclusive-header h1, .hero-textbox h1 {
    font-size: 2.5rem;
  }
  
  .arc8-character img, .exclusive-astronaut img {
    width: 200px;
  }
  
  .nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .icon-circle {
    width: 35px !important;
    height: 35px !important;
    padding: 8px !important;
  }
  
  .header-btn {
    font-size: 0.9rem !important;
    padding: 8px 15px !important;
  }
  
  .card, .vision-item, .perche-card {
    width: 100%;
  }
  
  .reward-item img {
    width: 150px;
    height: 150px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-dot {
    margin-bottom: 10px;
  }
  
  .timeline-date {
    margin-bottom: 10px;
  }

  .bundle-card {
    width: 100%;
    height: auto;
    min-height: 450px;
  }

  .divider-vertical {
    display: none;
  }
  
  .chart {
    width: 180px;
    height: 180px;
  }
  
  .chart-inner {
    width: 120px;
    height: 120px;
  }

  .crypto-title, .strategy-title {
    font-size: 2rem;
  }
  
  .crypto-subtitle {
    font-size: 1.5rem;
  }
  
  .foreground-wrapper {
    width: 90%;
  }
  
  .crypto-list li {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.8rem;
    --fs-h3: 1.2rem;
    --fs-body: 0.9rem;
  }
  
  .arc8-header h1, .exclusive-header h1, .hero-textbox h1 {
    font-size: 2rem;
  }
  
  .arc8-character img, .exclusive-astronaut img {
    width: 150px;
  }
  
  .reward-item img {
    width: 120px;
    height: 120px;
  }
  
  .step-box {
    padding: 15px;
  }
  
  .step-number {
    font-size: 2.5rem;
  }

  .card ul li, .bundle-card ul li {
    font-size: 1rem;
  }
  
  .bundle-card h3 {
    font-size: 2rem;
  }
  
  .bundle-card .price {
    font-size: 2.5rem;
  }
}




/* Aggiungi pulsante Entra al menu mobile */
@media (max-width: 767px) {
    /* Aggiungi il pulsante Entra come ultimo elemento del menu mobile */
    .elementor-nav-menu--dropdown ul.elementor-nav-menu,
    .elementor-menu-toggle + .elementor-nav-menu--dropdown .elementor-nav-menu--dropdown-links,
    .menu-is-active .mobile-menu-holder {
        padding-bottom: 60px !important; /* Spazio per il pulsante */
        position: relative !important;
    }
    
    /* Crea un nuovo pulsante Entra all'interno del menu mobile */
    .elementor-nav-menu--dropdown ul.elementor-nav-menu::after,
    .elementor-menu-toggle + .elementor-nav-menu--dropdown .elementor-nav-menu--dropdown-links::after,
    .menu-is-active .mobile-menu-holder::after {
        content: "Entra";
        display: block !important;
        position: absolute !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 10px 30px !important;
        background-color: var(--color-accent) !important;
        color: white !important;
        font-size: 16px !important;
        font-weight: bold !important;
        border-radius: 5px !important;
        text-align: center !important;
        margin-top: 20px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
        z-index: 9999 !important;
        cursor: pointer !important;
    }
    
    /* Aggiungi un link al pulsante */
    .elementor-nav-menu--dropdown ul.elementor-nav-menu::after,
    .elementor-menu-toggle + .elementor-nav-menu--dropdown .elementor-nav-menu--dropdown-links::after,
    .menu-is-active .mobile-menu-holder::after {
        pointer-events: auto !important;
    }
}

/* JavaScript per aggiungere il comportamento del link */
@media (max-width: 767px) {
    /* Questo viene eseguito solo in modalità di personalizzazione del tema */
    body::after {
        content: "";
        display: none;
    }
}




/* ============================================
   NASCONDI MENU DROPDOWN UTENTE
   ============================================ */
.stm_lms_account_dropdown {
    display: none !important;
}






/* ====================== 
   OTTIMIZZAZIONI FINALI FOOTER MOBILE
   ====================== */
@media (max-width: 768px) {
    /* Miglioramento della spaziatura generale */
    footer, .footer, .custom-footer {
        padding: 25px 15px 20px !important;
    }
    
    /* Miglior spaziatura tra le sezioni del footer */
    footer h3, footer h4, footer strong, 
    .footer h3, .footer h4, .footer strong,
    [class*="footer"] h3, [class*="footer"] h4 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        margin-top: 10px !important;
        display: block !important;
    }
    
    /* Ottimizzazione dei link nel footer */
    footer a:not(.social-icon), 
    .footer a:not(.social-icon) {
        padding: 6px 0 !important;
        display: inline-block !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* Miglior allineamento delle icone social */
    .social-icon, [class*="social"] a {
        margin: 0 10px 0 0 !important;
        display: inline-block !important;
    }
    
    /* Spaziatura corretta per il copyright */
    [class*="copyright"], .footer small {
        margin-top: 25px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* Miglior allineamento del logo */
    footer img, .footer img {
        max-height: 40px !important;
        margin-bottom: 15px !important;
    }
    
    /* Ottimizzazione delle aree cliccabili per touch */
    footer a, .footer a, [class*="footer"] a {
        min-height: 32px !important; /* Migliore target touch */
    }
}

@media (max-width: 480px) {
    /* Aumenta la distanza tra le sezioni su schermi molto piccoli */
    footer h3, .footer h3, [class*="footer"] h3 {
        margin-top: 20px !important;
    }
    
    /* Riduzione delle dimensioni del testo su schermi piccoli */
    footer a, .footer a {
        font-size: 13px !important;
    }
}






/* ==============================================
   SOSTITUZIONE COMPLETA STILI FOOTER PER MOBILE
   ============================================== */
@media (max-width: 768px) {
    /* Reset completo degli stili precedenti */
    body > footer, 
    body > .footer, 
    .site-footer,
    #site-footer,
    .page-footer,
    .custom-footer,
    .footer-container,
    .footer-widgets,
    #footer,
    [class*="footer-"]:not(header [class*="footer-"]),
    [id*="footer-"] {
        display: block !important;
        width: 100% !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
        position: relative !important;
        clear: both !important;
        float: none !important;
        z-index: 10 !important;
    }
    
    /* Container del footer */
    .footer-container,
    .footer-widgets,
    #footer .container,
    body > [class*="footer"] .container,
    .custom-footer .container,
    body > footer .container,
    body > .footer .container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Righe e colonne - stesse regole ma più specifiche */
    body > footer .row,
    body > .footer .row,
    .custom-footer .row,
    #footer .row,
    body > [class*="footer"] .row,
    .footer-container .row,
    .footer-widgets .row {
        display: block !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Colonne del footer - rimangono le stesse ma più specifiche */
    body > footer .row > div,
    body > .footer .row > div,
    .custom-footer .row > div,
    #footer .row > div,
    body > [class*="footer"] .row > div,
    body > footer [class*="col-"],
    body > .footer [class*="col-"],
    .custom-footer [class*="col-"],
    #footer [class*="col-"],
    body > [class*="footer"] [class*="col-"],
    .footer-column,
    .footer-widget,
    .footer-widgets .widget {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        clear: both !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    /* Logo e contenitore social - modificati per non interferire con l'header */
    .footer-logo-container,
    .custom-footer .footer-logo,
    body > footer .logo,
    body > .footer .logo,
    #footer .logo,
    body > [class*="footer"] .logo:not(header .logo):not(.elementor-location-header .logo) {
        display: block !important;
        margin: 0 auto 15px auto !important;
        text-align: center !important;
        max-width: 160px !important;
    }
    
    /* Immagini logo - modificati per non interferire con l'header */
    .footer-logo img,
    body > footer img.logo,
    body > .footer img.logo,
    body > [class*="footer"] img.logo:not(header img.logo):not(.elementor-location-header img.logo),
    #footer img.logo {
        max-width: 120px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Social icons - modificati per essere più specifici */
    body > footer .social-icons,
    body > .footer .social-icons,
    #footer .social-icons,
    .footer-social,
    body > footer [class*="social"],
    body > .footer [class*="social"],
    body > [class*="footer"] [class*="social"]:not(header [class*="social"]) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 15px auto !important;
        gap: 15px !important;
    }
    
    .social-icon,
    body > footer .social-icon,
    body > .footer .social-icon,
    .footer-social a,
    body > footer [class*="social"] a,
    body > .footer [class*="social"] a,
    body > [class*="footer"] [class*="social"] a:not(header [class*="social"] a) {
        margin: 0 5px !important;
        display: inline-block !important;
        font-size: 24px !important;
    }
    
    /* Titoli sezioni footer */
    body > footer h3,
    body > footer h4,
    body > .footer h3,
    body > .footer h4,
    body > [class*="footer"] h3:not(header h3):not(.elementor-location-header h3),
    body > [class*="footer"] h4:not(header h4):not(.elementor-location-header h4),
    .footer-column h3,
    .footer-column h4,
    .footer-widget .widget-title,
    #footer .widget-title {
        display: block !important;
        font-size: 18px !important;
        text-align: center !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        text-transform: none !important;
        position: relative !important;
        color: rgb(234, 144, 26) !important;
    }
    
    /* Liste di link */
    body > footer ul,
    body > .footer ul,
    body > [class*="footer"] ul:not(header ul):not(.elementor-location-header ul),
    .footer-column ul,
    .footer-widget ul,
    #footer ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
    
    body > footer ul li,
    body > .footer ul li,
    body > [class*="footer"] ul li:not(header ul li):not(.elementor-location-header ul li),
    .footer-column ul li,
    .footer-widget ul li,
    #footer ul li {
        display: block !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Link nel footer */
    body > footer a,
    body > .footer a,
    body > [class*="footer"] a:not(header a):not(.elementor-location-header a),
    .footer-column a,
    .footer-widget a,
    #footer a,
    body > footer ul li a,
    body > .footer ul li a,
    body > [class*="footer"] ul li a:not(header ul li a):not(.elementor-location-header ul li a),
    .footer-column ul li a,
    .footer-widget ul li a,
    #footer ul li a {
        display: inline-block !important;
        padding: 8px 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        transition: color 0.3s ease !important;
    }
    
    body > footer a:hover,
    body > .footer a:hover,
    body > [class*="footer"] a:hover:not(header a:hover):not(.elementor-location-header a:hover),
    body > footer ul li a:hover,
    body > .footer ul li a:hover,
    body > [class*="footer"] ul li a:hover:not(header ul li a:hover):not(.elementor-location-header ul li a:hover) {
        color: rgb(234, 144, 26) !important;
    }
    
    /* Copyright */
    .footer-copyright,
    body > footer .copyright,
    body > .footer .copyright,
    body > [class*="footer"] .copyright:not(header .copyright):not(.elementor-location-header .copyright),
    #footer .copyright,
    body > footer small,
    body > .footer small,
    body > [class*="footer"] small:not(header small):not(.elementor-location-header small),
    #footer small {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        margin: 20px 0 0 0 !important;
        padding: 10px 0 !important;
        line-height: 1.4 !important;
    }

    /* Fix per eventuali problemi di padding e margin */
    body > [class*="footer"] *:not(header *):not(.elementor-location-header *),
    body > footer *:not(header *):not(.elementor-location-header *),
    body > .footer *:not(header *):not(.elementor-location-header *),
    #footer *:not(header *):not(.elementor-location-header *) {
        box-sizing: border-box !important;
    }
}

/* Aggiustamenti per schermi molto piccoli */
@media (max-width: 480px) {
    /* Ulteriore riduzione delle dimensioni */
    body > footer a,
    body > .footer a,
    body > [class*="footer"] a:not(header a):not(.elementor-location-header a),
    body > footer ul li a,
    body > .footer ul li a,
    body > [class*="footer"] ul li a:not(header ul li a):not(.elementor-location-header ul li a) {
        font-size: 13px !important;
        padding: 6px 0 !important;
    }
    
    body > footer h3,
    body > footer h4,
    body > .footer h3,
    body > .footer h4,
    body > [class*="footer"] h3:not(header h3):not(.elementor-location-header h3),
    body > [class*="footer"] h4:not(header h4):not(.elementor-location-header h4) {
        font-size: 16px !important;
    }
    
    .footer-copyright,
    body > [class*="footer"] .copyright:not(header .copyright):not(.elementor-location-header .copyright),
    body > footer small,
    body > .footer small {
        font-size: 10px !important;
    }
}



/* Nascondi specificamente l'icona di ricerca mobile */
@media (max-width: 767px) {
  /* Selettore specifico per il pulsante di ricerca circolare blu in Elementor */
  .elementor-search-form__toggle,
  .elementor-search-form__submit,
  .elementor-search-button,
  /* Il selettore già esistente potrebbe necessitare di priorità più alta su mobile */
  .ms_lms_course_search_box__popup_button {
    display: none !important;
    visibility: hidden !important;
  }
}








