.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Calibri", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  font-size: 16px;
}

.btn-primary {
  background-color: #2196f3;
  color: white;
}

.btn-primary:hover {
  background-color: #1976d2;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #333;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  background-color: #1a1a1a;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.logo-highlight {
  color: #2196f3;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2196f3;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background:  url(../img/hero-bg.png) center / cover no-repeat;
  padding: 120px 0 80px;
  margin-top: 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Corsi Section */
.corsi {
  background-color: #2c2c2c;
  padding: 80px 0;
  color: white;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.corsi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.corso-card {
  background-color: #e65100;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.corso-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.corso-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.corsi-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: white;
}

.features-list {
  list-style: none;
  margin-bottom: 40px;
}

.feature-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.feature-item:before {
  content: "•";
  color: #2196f3;
  font-size: 20px;
  margin-right: 15px;
  margin-top: -2px;
}

.feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.features-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.features-image img {
  width: 100%;
  border-radius: 10px;
}

/* Testimonianze Section */
.testimonianze {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.section-title {
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.testimonianze-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.testimonianza-card {
  background-color: #2c2c2c;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: left;
}

.stars {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 20px;
}

.testimonianza-text {
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonianza-author {
  font-size: 14px;
  color: #ccc;
  font-style: normal;
}

.testimonianze-cta {
  text-align: center;
}

/* Perché Investire Section */
.perche-investire {
  background-color: #2c2c2c;
  padding: 80px 0;
  text-align: center;
}

.white {
  color: white;
}

.chart-image {
  margin-top: 50px;
}

.chart-image img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
}

/* Vantaggi Section */
.vantaggi {
  background-color: #2c2c2c;
  padding: 80px 0;
}

.vantaggi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.vantaggio-card {
  background-color: #e65100;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.vantaggio-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.vantaggio-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.vantaggi-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.faq-item {
  background-color: #2c2c2c;
  padding: 40px 30px;
  border-radius: 10px;
}

.faq-question {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.faq-answer {
  font-size: 16px;
  line-height: 1.6;
  color: white;
}

.faq-cta {
  text-align: center;
}

/* Contact Section */
.contact {
  background-color: #2c2c2c;
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
}

.contact-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 25px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: white;
  font-family: inherit;
  font-size: 16px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2196f3;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  padding: 40px 0 20px;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  font-size: 16px;
}

.footer-text {
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #2196f3;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: #888;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #ddd;
  padding: 30px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.cookie-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 25px;
}

.cookie-link {
  color: #2196f3;
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background-color: white;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
}

.success-icon {
  font-size: 60px;
  color: #4caf50;
  margin-bottom: 20px;
}

.success-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.success-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #1a1a1a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 50px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .corsi-grid {
    grid-template-columns: 1fr;
  }

  .corsi-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-buttons {
    justify-content: center;
  }

  .testimonianze-grid {
    grid-template-columns: 1fr;
  }

  .vantaggi-grid {
    grid-template-columns: 1fr;
  }

  .vantaggi-buttons {
    flex-direction: column;
    align-items: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 28px;
  }

  .features-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .corso-card,
  .vantaggio-card,
  .testimonianza-card,
  .faq-item {
    padding: 30px 20px;
  }

  .success-content {
    padding: 30px 20px;
    margin: 10px;
  }

  .cookie-popup {
    padding: 20px;
  }
}

/* Smooth scrolling and animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2196f3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1976d2;
}
