/* ! ROOT */
:root {
  --primary-gradient: #030672;
  --second-gradient: #019efd;
  --third-gradient: #2fb0ff;

  --blue-color: #d9f0fe;
  --red-color: #a90000;
  --orange-color: #ff820b;
  --secondary-color: #e6e6e6;

  --bg-color: rgba(0, 1, 41, 0.55);
  --footer-bg-color: rgba(0, 1, 41, 0.8);

  --cta-btn-color: #00c27a;
  --cta-btn-color-hover: #009961;
}

/* ! UTILS */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: 0.05cm;
}

img {
  max-width: 100%;
}

.centeredRow {
  align-items: center;
}

.imgCol {
  text-align: center;
}

.btn {
  font-size: 1.3rem;
  min-width: 18rem;
  border-radius: 25px;
  font-weight: bold;
  color: var(--secondary-color);
  background-color: var(--cta-btn-color);
  border-bottom: 5px solid var(--cta-btn-color-hover);
  border-right: 5px solid var(--cta-btn-color-hover);
  border-top: none;
  border-left: none;
  padding: 0.8rem 0;
}

.btn:hover {
  color: var(--secondary-color);
  background-color: var(--cta-btn-color-hover);
  border-bottom: 5px solid var(--cta-btn-color-hover);
  border-right: 5px solid var(--cta-btn-color-hover);
  border-top: none;
  border-left: none;
}

.btn:active {
  color: var(--secondary-color) !important;
  background-color: var(--cta-btn-color-hover) !important;
  border-bottom: 5px solid var(--cta-btn-color-hover) !important;
  border-right: 5px solid var(--cta-btn-color-hover) !important;
  border-top: none !important;
  border-left: none !important;
}

main .card {
  box-shadow: 6px 6px 12px gray;
}

.list-group-item {
  padding: 1rem 0.2rem;
  background-color: transparent;
}

.sectionTitle {
  max-width: fit-content;
  text-align: center;
  padding: 0;
}

.titleLine {
  min-height: 2px;
  background-color: gray;
}

.heroSection,
.problemSolutionSection,
.teamSection,
.faqSection,
.contactUsSection {
  margin-bottom: 10rem;
}

#features,
#faq,
#chooseUs,
#contattaci {
  scroll-margin-top: 120px;
}

/* * INIZIO HEADER SECTION */
/* ! NAVBAR */
.navbar {
  width: 100%;
  position: fixed;
  z-index: 1000;
  background-color: #ffffff;
}

.navLogo {
  max-width: 3.5rem;
}

.navLinks {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-weight: bolder;
  font-size: 1.2rem;
  gap: 1rem;
}

.nav-link {
  border-radius: 20px;
  flex-basis: 12%;
  padding: 0.5rem;
  min-width: 150px;
}

.navbar-toggler {
  background-color: var(--second-gradient);
  border: 2px solid var(--second-gradient);
}

.navbar-toggler:hover {
  background-color: var(--third-gradient);
  border: 2px solid var(--third-gradient);
}

/* ! HERO SECTION */
.heroSection {
  /* min-height: 100vh; */
  padding-top: 12rem;
  padding-bottom: 5rem;
  margin-bottom: 0;
  font-size: 1.5rem;
  background-image: url("../img/bg_1.png");
  background-color: var(--bg-color);
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-size: cover;
}

.jumboContent {
  align-items: center;
}

.jumboSubtitle {
  color: var(--secondary-color);
  font-size: 1.5rem;
  padding-bottom: 10rem;
}

.jumboTitle {
  font-size: 4rem;
  text-transform: uppercase;
}

.jumboText {
  color: var(--secondary-color);
  background-color: hsla(203, 100%, 59%, 0.4);
  border-radius: 15px;
  text-align: left;
  padding: 2rem;
}

.jumboText .list-group-item {
  color: var(--secondary-color);
  align-items: center;
  border: none;
  display: flex;
  font-weight: bold;
}

.jumboText .list-group-item i {
  margin-right: 1rem;
  color: var(--cta-btn-color);
}

.heroSection .btn {
  font-size: 1.5rem;
  padding: 1.5rem 0;
}

.heroSection .col-xl-4 {
  display: flex;
  justify-content: end;
}

/* * INIZIO MAIN SECTION */
/* ! MAIN */
main div {
  font-size: 1.3rem;
}

main h2 {
  font-size: 2.5rem;
}

.logo {
  max-width: 10rem;
}

/* ! PROBLEM SOLUTION SECTION */
.problemSolutionSection {
  padding-top: 5rem;
  background-image: url("../img/reteDigitale.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

.problemSolutionSection .container {
  transform: translateY(100px);
}

.problemList {
  padding-top: 2rem;
  justify-content: center;
}

.problemItem {
  display: flex;
  align-items: center;
  background-color: #fd666635;
  padding: 1rem;
  border-radius: 25px;
  height: 100%;
  width: 100%;
}

.problemSolutionSection .bg {
  padding: 0;
  background-color: #ffffff;
  border: 1px solid var(--red-color);
  border-radius: 25px;
  flex-basis: 48%;
}

.problemItem i {
  color: var(--red-color);
  margin-right: 1rem;
}

.solutionCard {
  border-radius: 25px;
  border: 2px solid var(--orange-color);
  background-color: var(--blue-color);
}

.solutionCardTitle {
  background: linear-gradient(
    90deg,
    var(--primary-gradient) 0%,
    var(--second-gradient) 80%,
    var(--third-gradient) 100%
  );
  color: var(--secondary-color);
  border: 2px solid var(--orange-color);
  width: fit-content;
  border-radius: 15px;
  padding: 0.5rem 2rem;
  transform: translate(30px, 25px);
  position: relative;
  z-index: 1;
}

/* ! STEPS SECTION */
.stepSection {
  background: linear-gradient(
    90deg,
    var(--primary-gradient) 0%,
    var(--second-gradient) 50%,
    var(--primary-gradient) 100%
  );

  margin-top: 20rem;
  padding-bottom: 8rem;
  max-height: 400px;
}

.stepSection h2 {
  color: var(--secondary-color);
  text-align: center;
  padding-top: 5rem;
}

.stepTitle {
  background-color: #ffffff;
  border: 2px solid var(--orange-color);
  border-radius: 50%;
  text-align: center;
  width: 10rem;
  transform: translateY(100px);
  position: relative;
  z-index: 1;
}

.stepTitle h3 {
  font-size: 8rem;
  color: var(--orange-color);
  font-weight: 600;
}

.stepSection .card {
  background-color: var(--blue-color);
  border: none;
  border-radius: 25px;
  box-shadow: none;
}

.stepText {
  min-height: 435px;
  min-width: 310px;
  font-size: 1.6rem;
  padding: 1.2rem;
  padding-top: 8rem;
  text-align: center;
}

.stepSection .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  margin-top: 0;
}

.stepSection .col:hover {
  transform: translateY(-8px);
}

/* * .stepSection::before {
  content: "";
  height: 100px;
  background-image: url(../img/wave-white.svg);
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotate(180deg) translateY(1px);
} */

/* .stepSection::after {
  content: "";
  height: 100px;
  background-image: url(../img/wave-white.svg);
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
} */

/* ! FEATURES SECTION */
.featsSection {
  margin-top: 20rem;
  /* margin-top: 12rem; */
  margin-bottom: 12rem;
}

.featContainer {
  max-width: 1500px;
  margin: auto;
}

.carousel-inner {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-bottom: 2.5rem;
  padding-top: 1rem;
  max-width: 1700px;
  margin: auto;
}

.featsSection .list-group {
  padding: 2rem 2rem 0 2rem;
}

.featsSection .list-group-item {
  min-height: 100px;
}

.featsSection .card {
  min-height: 565px;
  margin: 0.5rem;
  border-radius: 25px;
  border: none;
  border-left: 25px solid var(--orange-color);
  transition: transform 0.3s ease;
}

.featsSection .card:hover {
  transform: translateY(-8px);
}

.featsSection .card h5 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--orange-color);
}

/* ! CHOOSE US SECTION */
.chooseUsSection .bg {
  background: linear-gradient(
    90deg,
    var(--primary-gradient) 0%,
    var(--second-gradient) 50%,
    var(--primary-gradient) 100%
  );
}

.chooseUsSection .bg .list-group-item {
  min-height: 160px;
  color: var(--secondary-color);
  border: none;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.chooseUsSection .bg .list-group-item i {
  padding-right: 3rem;
  font-size: 1.2rem;
  color: var(--orange-color);
}

/* .chooseUsSection .bg::before {
  content: "";
  height: 100px;
  background-image: url(../img/wave-white.svg);
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotate(180deg);
} */

/* * .chooseUsSection .bg::after {
  content: "";
  height: 100px;
  background-image: url(../img/wave-white.svg);
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateY(1px);
} */

.chooseUsSection .leftCol {
  padding-right: 3rem;
}

.chooseUsSection .rightCol {
  padding-left: 3rem;
}

.chooseUsSection .centeredRow .list-group-item {
  border-bottom: none;
  min-height: 160px;
  display: flex;
  align-items: center;
}

.chooseUsSection .centeredRow .list-group-item i {
  margin-right: 1rem;
  color: var(--orange-color);
}

.line {
  background-color: gray;
  position: absolute;
  min-height: 780px;
  width: 2px;
  padding: 0;
  align-self: center;
}

/* ! SOCIAL SECTION */
.socialSection {
  max-height: 450px;
}

.socialSection .container {
  background: linear-gradient(
    90deg,
    var(--second-gradient) 0%,
    var(--primary-gradient) 50%,
    var(--second-gradient) 100%
  );

  border-radius: 15px;
  padding: 5rem 5rem 8rem 5rem;
  position: relative;
  z-index: 1;
}

.socialSection h2 {
  text-align: center;
  color: var(--secondary-color);
}

.socialSection .card {
  border: 2px solid var(--orange-color);
  border-radius: 25px;
  min-height: 160px;
  box-shadow: none;
}

.socialSection .card-body {
  align-content: center;
  text-align: center;
}

/* * INIZIO FOOTER SECTION */
/* ! TEAM SECTION */
.teamSection h2 {
  text-align: center;
  color: var(--cta-btn-color);
  padding-top: 25rem;
}

.teamSection .row {
  justify-content: space-around;
}

.teamSection .col {
  display: flex;
  justify-content: center;
}

.teamSection .card {
  max-width: 200px;
  min-width: 200px;
  border: none;
  text-align: center;
  box-shadow: none;
  background-color: transparent;
  color: var(--secondary-color);
}

.imgRounded {
  border-radius: 50%;
  max-width: fit-content;
  border: 2px solid var(--orange-color);
  background-color: var(--secondary-color);
}

.teamSection .card-text {
  font-size: 1.1rem;
  font-weight: bold;
  min-height: 60px;
  align-content: center;
}

.teamSection .card-subtitle {
  color: var(--cta-btn-color);
}

/* ! FAQ SECTION */
.faqSection .accordion-button {
  font-size: 1.3rem;
}

.faqSection .accordion-button:focus {
  box-shadow: none;
}

.faqSection .accordion-body {
  color: gray;
  font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: inherit;
}

.faqSection .card {
  border: none;
  background-color: transparent;
  color: var(--cta-btn-color);
}

.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed,
.accordion-button {
  border-radius: 25px;
}

.accordion-item {
  border: 2px solid var(--orange-color) !important;
  border-radius: 25px !important;
  margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

/* ! CONTACT US SECTION */
.contactUsSection .card {
  border: none;
  background-color: transparent;
  color: var(--cta-btn-color);
}

.contactUsSection label {
  color: var(--secondary-color);
}

.contactUsSection .form-control {
  border: 2px solid var(--orange-color);
}

.contactUsSection .btn {
  padding: 0.4rem 0;
}

.form-check-label {
  text-align: justify;
  letter-spacing: normal;
}

/* ! FOOTER */

footer {
  background-image: url(../img/footerSectiontBg.png);
  background-color: var(--footer-bg-color);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 8rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* * footer::before {
  content: "";
  height: 100px;
  background-image: url(../img/wave-white.svg);
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotate(180deg) translateY(1px);
} */

.footerSection {
  color: var(--secondary-color);
  letter-spacing: normal;
}

.footerTitle {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--cta-btn-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footerList li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(230, 230, 230, 0.85);
}

.footerList li strong {
  color: var(--cta-btn-color);
  display: block;
  margin-bottom: 0.3rem;
}

.footerList i {
  color: var(--cta-btn-color);
  margin-right: 0.5rem;
  font-size: 1rem;
}

.footerLink {
  color: var(--third-gradient);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footerLink:hover {
  color: var(--cta-btn-color);
  text-decoration: underline;
}

.footerDivider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cta-btn-color),
    transparent
  );
  margin: 2rem 0;
}

.footerBottom {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.footerBottomText {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(230, 230, 230, 0.7);
}

.imgInfo {
  max-width: 20rem;
}

/* * MEDIA SCREEN */
@media screen and (max-width: 1600px) {
  .featContainer {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media screen and (max-width: 1199.5px) {
  .heroSection .col-xl-4 {
    justify-content: center;
    order: -1;
    margin-top: 0;
  }
}

/* ! MEDIA SCREEN < 992px */
@media screen and (max-width: 991.5px) {
  .navLinks {
    padding: 1rem;
  }

  .problemItem {
    flex-basis: auto;
  }

  .stepSection {
    max-height: none;
  }

  .stepText {
    min-height: 370px;
    min-width: none;
  }

  .featsSection {
    margin-top: 10rem;
  }

  .ctaCol {
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
    margin-bottom: 2rem;
    order: -1;
    transform: translateY(-50px);
  }

  .lastCol {
    display: none;
  }

  .leftCol,
  .rightCol {
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  }

  .line {
    display: none;
  }

  .socialSection .container {
    padding: 5rem 3rem 8rem 3rem;
  }

  .teamSection h2 {
    padding-top: 50rem;
  }
}

/* ! MEDIA SCREEN < 768px */
@media screen and (max-width: 768px) {
  .jumboTitle {
    font-size: 3rem;
  }

  .heroSection .btn {
    font-size: 1.4rem;
    width: 100%;
  }

  .problemSolutionSection .bg {
    flex-basis: auto;
    min-height: 90px;
  }

  .featsSection .btn {
    width: 100%;
  }
  
  .featsSection .card {
    min-height: 660px;
  }

  .featsSection .list-group {
    padding: 1rem 1rem 0 1rem;
  }

  .featsSection .card h5 {
    padding-top: 2rem;
  }

  .chooseUsSection .btn {
    width: 100%;
  }

  .socialSection .container {
    width: 95%;
  }

  .teamSection h2 {
    padding-top: 55rem;
  }

  .teamSection .row {
    min-height: 1128px;
  }

  .teamSection .col {
    align-items: center;
  }

  .faqSection .card h3,
  .contactUsSection .card h3 {
    text-align: center;
  }

  .footerTitle {
    font-size: 1rem;
    margin-top: 2rem;
  }

  .footerList li {
    font-size: 0.85rem;
  }
}

/* ! MEDIA SCREEN < 575px */
@media screen and (max-width: 575px) {
  .navbar-toggler {
    margin-right: .8rem;
  }

  .heroSection {
    font-size: 1.2rem;
    padding-top: 12rem;
  }

  .jumboText {
    padding: 1rem;
  }

  .jumboTitle {
    font-size: 2.1rem;
  }

  .jumboSubtitle {
    font-size: 1.2rem;
    padding-bottom: 8rem;
  }

  main div {
    font-size: 1.2rem;
  }

  main h2 {
    font-size: 2.2rem;
  }

  .problemList {
    padding: 1rem;
  }

  /* .problemItem {
    min-height: 120px;
  } */

  .stepText {
    font-size: 1.4rem;
  }

  .carousel-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
  }

  .featsSection .card {
    min-height: 800px;
  }

  .featsSection .card h5 {
    font-size: 1.4rem;
  }

  .featsSection .carousel-control-prev-icon,
  .featsSection .carousel-control-next-icon {
    display: none;
  }

  .stepSection .centeredRow:hover {
    transform: none;
  }

  .socialSection .container {
    padding: 5rem 1.5rem 5rem 1.5rem;
  }

  .socialSection .card {
    border: 2px solid var(--orange-color);
    border-radius: 25px;
    min-height: 180px;
    box-shadow: none;
  }

  .accordion-item {
    min-height: 90px;
    align-content: center;
  }
}
