@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100vw;
    box-sizing: border-box;
    max-width: 100vw;
}

.circle-container {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-required-label {
    color: red;
}

.rotating-text {
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    border-radius: 50%;
    animation: rotate 40s linear infinite;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 0;
}

@media (max-width: 480px) {
    .rotating-text {
        height: 80vw;
    }
}

.rotating-text svg {
    width: 100%;
    height: 100%;
    object-view-box: 0 0 70vh 70vh;
}

.rotating-text textPath {
    font-weight: bold;
    fill: white;
    cursor: pointer;
}

.center-image {
    width: 55vw;
    height: 55vw;
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.center-image img {
    width: 100%;
    object-fit: cover;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

a {
    font-weight: bold;
}

header {
    display: block;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}

/* #sp-header .cybercontrol {
    position: relative;
    width: 100%;
    flex: 0 0 50%;
} */

/* Contenitore principale dell'header */
#sp-header {
  position: fixed;
  top: -310px;
  left: 0;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: skewY(-2deg);
  background: #092b42;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.22);
  z-index: 100;
}

#sp-header .header-content {
  transform: skewY(2deg);
  margin-top: 340px;
  /* width: 100%;
  padding: 0 1rem;
  box-sizing: border-box; */
}

#sp-header .img-container {
  align-items: center;
  width: 100%;
  max-width: 300px;
  padding: 0 1rem;
  box-sizing: border-box;
}

#sp-header .img-container img,
#sp-header .img-container a img {
  max-height: 150px;
  height: auto;
  display: block;
}

/* Sezione colorata dinamica */
.change-color {
  background: #ed900e;
  width: 100%;
  transform: skewY(2deg);
  overflow: hidden;
}

.change-color .change-content {
  transform: skewY(-2deg);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}


ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.list {
    font-size: 1.5625rem;
}

.info {
    margin-left: 2.5%;
    list-style-type: disc;
}

.info-disc {
    list-style-type: disc;
    margin-left: 2.5%;
}

.info li {
    width: 100%;
    font-size: 1.5625rem;
    color: #dfdfdf;
}

#sp-my-footer {
    padding: 4rem 5%;
    font-family: "Lato";
    background: #EBEDF1;
}

#sp-my-footer p {
    font-size: 1.4375rem;
    color: #565655;
}

#sp-my-footer h3 {
    line-height: 2.018rem;
    font-size: 1.328125rem !important;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    color: #092B42;
}

.icon {
    display: inline-block;
    pointer-events: visible;
    text-decoration: none;
}

#menu-toggle:checked~#mobile-menu {
    display: block;
}

.menu-hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.menu-visible {
    opacity: 1;
    width: 100%;
    max-height: 500px;
    border-radius: 12%;
    transition: all 0.4s ease;
    z-index: 10;
    position: absolute;
    top: 21vh;
}

.menu-visible ul {
    padding: 5%;
    width: 100%;
    position: fixed;
    border-radius: 5%;
    align-items: left;
    background-color: #fdaf13;
}

.menu-visible ul li {
    width: 100%;
    font-size: 1.5625rem;
    color: #092B42;
    text-align: left;
    border-bottom: 1px solid #fff;
}

footer {
    z-index: 100;
}

/* Contenitore generale del form */
.cf-form-wrap {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(235, 237, 241, 1);
    /* come il tuo style inline */
}

/* Gruppi di controllo (ogni input + label) */
.cf-control-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Label a sinistra */
.cf-control-label {
    flex: 1 1 200px;
    margin-bottom: 0.5rem;
}

.cf-label {
    font-weight: 600;
    font-size: 1rem;
}

/* Input e textarea */
.cf-control-input {
    flex: 2 1 400px;
}

.cf-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.cf-input:focus {
    outline: none;
    border-color: #007BFF;
}

/* Checkbox gruppo */
.cf-list.cf-list-auto-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cf-checkbox-group {
    display: flex;
    align-items: center;
    background: #325576 !important;
    margin: 0 15px 10px 0 !important;
    padding: 3px 10px 5px 10px !important;
    color: #ffffff !important;
    border-radius: 12px;
}

.cf-checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Bottoni */
.cf-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #007BFF;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

img, svg {
  vertical-align: middle;
}

.circle--slider {
  position: relative;
}

.circle--rotate {
  width: 80%;
  height: 80%;
  margin: 0 auto !important;
  position: relative;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: center;
  transform-origin: center;
  padding: 40%;
  top: 0px;
  background-size: 99%;
}

.rotate--circle {
  margin: 0 auto;
}

.next svg, .prev svg {
  height: 60px;
}

.prev {
    right: 16%;
}

.next {
    left: 16%;
}

.btn--arrow {
    display: inline-block;
    width: 100%;
    padding-top: 5%;
}

.btn--arrow span {
  font-size: 1.4rem !important;
  color: #092B42;
}

.btn--arrow img {
  max-width: 30px !important;
  display: inline-block;
  margin-right: 10px;
  top: -3px;
  position: relative;
}

.animate-img__in {
  position: absolute;
  background-image: url('../img/layout/cover--cyber__security.jpg');
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 30%;
  background-repeat: no-repeat;
  z-index: 0;
  -webkit-transform: rotate3d(0, 0, 0, 0deg) scale(0.85);
  transform: rotate3d(0, 0, 0, 0deg) scale(0.85);
  -webkit-transition: 0.55s ease-in-out;
  transition: 0.55s ease-in-out;
  width: 100%;
  height: 100%;
  background-size: cover;
  -webkit-box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.3);
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.3);
}

.circle--it {
    background: url("../img/circle-background-gov-risk-it.svg") no-repeat center;
    background-size: auto;
}

.animate {
    width: 100%;
    opacity: 0;
    z-index: 0;
    cursor: pointer;
    display: none;;
}

.animate.active {
    display: block;
  height: 100%;
  width: 100%;
  opacity: 1;
}

.animate.active .animate-more {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.btn--arrow span {
    font-size: 1.4rem !important;
    color: #092B42;
}

.change-text-color {
    color: #ed900e;
}

.animate-wrapper {
  width: 50%;
  height: 55%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
}

.animate-img {
  width: 25%;
  height: 25%;
  border-radius: 50%;
  overflow: hidden;
  animation: fade_in 0.25s 1;
}

.animate-more {
  opacity: 0;
  visibility: visible;
  -webkit-transition: all 0.5s 0.4s;
  transition: all 0.5s 0.4s;
  animation: fade_in 0.25s 1;
  overflow: hidden;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 15px;
  height: 50%;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}

.logo-security {
  max-width: 70%;
  display: block;
  margin: 0 auto;
  padding-top: 1rem;
}

.animate-title {
    margin-top: 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.services {
  width: 100%;
}

.interactive-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.next, .prev {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
  height: 62px;
  width: 87px;
  text-align: center;
  cursor: pointer;
}

.cf-btn:hover {
    background: #0056b3;
}

/* Spinner di invio (hidden di default finché non serve JS) */
.cf-spinner-container {
    display: none;
}

/* GDPR blocco privacy */
.control-group {
    margin: 1rem 0;
}

.control-label label {
    font-size: 0.9rem;
}

.controls input[type="checkbox"] {
    transform: scale(1.2);
}

/* Messaggio textarea più alta */
.cf-control-group textarea {
    min-height: 150px;
}

/* ReCAPTCHA invisibile badge: override posizione se serve */
.grecaptcha-badge {
    z-index: 1000;
}

/* Extra: centratura bottoni */
.cf-text-left {
    text-align: left;
    margin-top: 1rem;
}

@media screen and (max-width: 576px) {
  .circle--rotate {
    background: none;
  }

  .animate-wrapper {
    width: 80%;
    height: 100%;
  }

  .next {
    position: absolute;
    left: 0;
    padding-right: 10%;
  }

  .prev {
    position: absolute;
    right: 0;
    padding-left: 10%;
  }
}

.cta-wrapper {
    margin-top: 10vh;
    margin-bottom: 10vh;
  background: url(../img/button-left1.png), url(../img/button-right1.png);
    background-position-x: 0%, 0%;
    background-position-y: 0%, 0%;
    background-repeat: repeat, repeat;
    background-size: auto, auto;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: 148px 160px, 47px 60px;
  padding-left: 75px;
  height: 25vh;
  max-height: 30vh; 
}

.cta-wrapper a {
    font-size: xx-large;
    font-family: 'Lato', sans-serif;
    padding-right: 10%;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 25vh;
    max-height: 30vh; 
}

@media (max-width: 564px) {
  .cta-wrapper {
    background: url(../img/button-right1.png);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 47px 60px;
    padding-left: 15px;
  }
}