
body {
    background: linear-gradient(to bottom, #edf0f5, #0bbc75) !important;
cursor: url(images/images.png) 10 10, auto;
}
/* Reset & font ---------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fadeUp 1.9s linear;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff !important;

}

/* Container -------------------------------------------------------------- */

.container {
  max-width: 100%!important;
  width: 100%;
  margin: auto;
}

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

.navbar {
  width: 100%!important;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #edf0f5 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  position: relative;
  width: 100%!important;
}

/* HAMBURGER MENU -------------------------------------------------------- */

.nav-container .checkbox {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.line2 {
  transition: transform 0.2s ease-in-out;
}

.line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

/* MENU ITEMS ------------------------------------------------------------ */

.navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding-top: 120px;
  background: #edf0f5;
  transform: translateX(-150%);
  display: flex;
  flex-direction: column;
  padding-left: 50px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  backdrop-filter: blur(2px);
  z-index: 9999;
}

.navbar .menu-items li {
  list-style: none;
  margin-bottom: 4rem;
}

.navbar .menu-items a {
  text-decoration: none;
  color: #0e2431;
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar .menu-items a:hover {
  font-weight: 700;
}

/* MENU OPEN ANIMATIONS -------------------------------------------------- */

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

/* CLOSE BUTTON ---------------------------------------------------------- */

.close-menu {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  z-index: 99999;
}

.nav-container input[type="checkbox"]:checked ~ .close-menu {
  display: block;
}

/* BLUR BACKGROUND WHEN MENU IS OPEN ------------------------------------- */

.page-content {
  transition: filter 0.4s ease;
}

.nav-container input[type="checkbox"]:checked ~ .page-content {
  filter: blur(30px) brightness(0.2);
}

/* LOGO (senza positioning assoluto!) ------------------------------------ */

.logo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: 280px;
  object-fit: contain;
}

/* LOGO BUTTON (flottante sopra la navbar) ------------------------------- */

.logo-button {
  width: 220px;
  height: 140px;
  background: #edf0f5!important;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  position: absolute;
  top: 5px;
  right: 15px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.logo-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

/* BUTTON STYLE ---------------------------------------------------------- */

.btn {
  position: relative;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.5em;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-weight: 500;
  background-color: #edf0f5 !important;
  color: black;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.btn::after {
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #fff;
  transition: all 0.4s;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}
/* MENU CENTRATO SU MOBILE */
@media (max-width: 768px) {
  .navbar .menu-items {
    text-align: center;
    padding-left: 0;        /* rimuove lo spostamento a sinistra */
    align-items: center;    /* centra verticalmente e orizzontalmente */
  }

  .navbar .menu-items li {
    width: 100%;
  }

  .navbar .menu-items a {
    font-size: 1.8rem;      /* opzionale: più leggibile su mobile */
    display: block;
    width: 100%;
  }
}

/* END NAVBAR */
/* blog card section */
/* -----------------------------------
   Blog Card Section
------------------------------------ */

:root {
  --red: hsl(0, 78%, 62%);
  --cyan: hsl(180, 62%, 55%);
  --orange: hsl(34, 97%, 64%);
  --blue: hsl(212, 86%, 64%);

  --varyDarkBlue: hsl(234, 12%, 34%);
  --grayishBlue: hsl(0, 0%, 0%);
  --veryLightGray: hsl(0, 0%, 98%);

  --weight1: 200;
  --weight2: 400;
  --weight3: 600;
}

body {
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  background-color: var(--veryLightGray);
}

/* Fix: width: 600x → 600px */
.attribution {
  font-size: 11px;
  text-align: center;
  width: 600px;
  margin: 0 auto;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

h1:first-of-type {
  font-weight: var(--weight1);
  color: var(--varyDarkBlue);
}

h1:last-of-type {
  color: var(--varyDarkBlue);
}

@media (max-width: 400px) {
  h1 {
    font-size: 1.5rem;
  }
}

.header {
  text-align: center;
  line-height: 0.8;
  margin-bottom: 50px;
  margin-top: 100px;
  font-size: 26px;
  font-weight: 600;
}

.header p {
  margin: 0 auto;
  line-height: 2;
  color: var(--grayishBlue);
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* softer style */
}


.box p {
  color: var(--grayishBlue);
}


.box {
  border-radius: 5px;
  box-shadow: 0px 30px 40px -20px var(--grayishBlue);
  padding: 30px;
  margin: 20px;
  background: #fff;
}


img {
  float: right;
}

@media (max-width: 450px) {
  .box {
    height: 200px;
  }
}

@media (max-width: 950px) and (min-width: 450px) {
  .box {
    text-align: center;
    height: 180px;
  }
}

.cyan {
  border-top: 3px solid var(--cyan);
}
.red {
  border-top: 3px solid var(--red);
}
.blue {
  border-top: 3px solid var(--blue);
}
.orange {
  border-top: 3px solid var(--orange);
}

h2 {
  color: var(--varyDarkBlue);
  font-weight: var(--weight3);
}

@media (min-width: 950px) {
  .row1-container,
  .row2-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .box-down {
    position: relative;
    top: 150px;
  }

  .box {
    width: 20%;
  }

  .header p {
    width: 30%;
  }
}

/* --- PROJECTS SECTION --- */

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
  width: 100%;
}

.card {
  width: 250px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18),
              0 4px 12px rgba(0,0,0,0.08);
}

.card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #0e2431;
}

/* Divider lucido */
.divider-glass {
  width: 100%;
  height: 1px;
  margin: 90px 0; /* AUMENTATO per più spazio */
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.15), transparent);
}

/* --- PROJECTS SECTION --- */

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
  width: 100%;
}

.card {
width: 250px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18),
              0 4px 12px rgba(0,0,0,0.08);
}

.card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #0e2431;
}
/* ---- CONTACT SECTION ---- */

.container {
  flex: 0 1 700px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.screen {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #ffffff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #000000;
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #000000;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 10px;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #030000;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;/* ---- CONTACT SECTION — VERSIONE APPLE INSPIRED ---- */

.container {
  flex: 0 1 850px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 40px;
}

/* ------------------------------
   SCREEN (Apple glassmorphism)
------------------------------ */

.screen {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .1);
}

.screen:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  bottom: 0;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .25);
  z-index: -1;
}

/* ------------------------------
   HEADER — stile macOS Sonoma
------------------------------ */

.screen-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
}

.close { background: #ff605c; }
.maximize { background: #ffbd44; }
.minimize { background: #00ca4e; }

.screen-header-ellipsis {
  width: 4px;
  height: 4px;
  background: #777;
  border-radius: 50%;
  margin-left: 3px;
}

/* ------------------------------
   BODY
------------------------------ */

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------
   TITLE — Apple minimalist
------------------------------ */

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #0e2431;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.app-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 35px;
  height: 4px;
  background: #99f2c8;
  border-radius: 2px;
}

.app-contact {
  margin-top: auto;
  font-size: 10px;
  color: #666;
}

/* ------------------------------
   FORM — Floating label Apple
------------------------------ */

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

.app-form-group.message {
  margin-top: 40px;
}

/* Floating label */
.app-form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.85rem;
  color: #5c6975;
  pointer-events: none;
  transition: 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

/* Input style */
.app-form-control {
  width: 100%;
  padding: 14px 0 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  color: #000;
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text";
}

.app-form-control::placeholder {
  color: transparent;
}

.app-form-control:focus {
  border-bottom-color: #007aff;
}

/* Floating animation */
.app-form-control:focus + label,
.app-form-control:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #99f2c8;
}

/* SELECT */
.app-form-group select:not([value=""]) + label {
  top: -10px;
  font-size: 0.75rem;
  color: #007aff;
}

/* ------------------------------
   BUTTON
------------------------------ */

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-button {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: .25s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-form-button:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.app-form-button:active {
  transform: scale(0.95);
}

/* --------------------------------------------- */
/* RESPONSIVE <520px                              */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 22px;
  }

  .app-title:after {
    bottom: -8px;
    width: 28px;
  }

  .app-form-control {
    font-size: 14px;
    padding: 10px 0 4px 0;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 12px;
  }
}

  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #0bbc75;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #050c31;
}

/* --------------------------------------------- */
/* RESPONSIVE VERSION FOR MOBILE (<520px)        */
/* --------------------------------------------- */

@media screen and (max-width: 520px) {

  .screen-body {
    flex-direction: column;
  }

  .screen-body-item {
    padding: 25px 20px;
  }

  .app-title {
    font-size: 20px;
  }

  .app-title:after {
    bottom: -8px;
    width: 20px;
  }

  .app-form-control {
    font-size: 13px;
    padding: 8px 0;
  }

  .app-form-group.message {
    margin-top: 25px;
  }

  .app-form-button {
    font-size: 13px;
  }

  .container {
    padding: 0 10px;
  }

  .screen {
    border-radius: 10px;
  }

  .screen:after {
    left
  }
}


/* carousel with icons */
@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0;
  white-space: nowrap;
  position: relative;
}

.logo_items {
  display: inline-flex;
  animation: slides 20s linear infinite;
}

.logo_items img {
  height: 100px;
  display: block;
  filter: grayscale(85%);
  opacity: 0.85;
  transition: 0.3s ease;
}

.logo_items img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* end carousel with icons */
/* ---- FOOTER ---- */

.footer {
  background: #0e0e0e;
  color: #fff;
  padding: 55px 0 35px;  /* PIÙ SPAZIO SOPRA */
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 22px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 18px 0;
}

.social-icon {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: 0.25s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.instagram:hover { color: #ff4f9a; }
.whatsapp:hover { color: #25d366; }

.footer-copy {
  font-size: 13px;
  opacity: 0.55;
  margin-top: 25px;
}
/* --- APPLE / MACOS BUTTON STYLE --- */
/* --- APPLE / MACOS BUTTON STYLE (SMALL) --- */

.apple-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;

  padding: 8px 24px;
  border-radius: 10px;

  font-size: 13px;              
  font-weight: 500;
  color: #1c1c1e;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);

  cursor: pointer;
  text-decoration: none;

  transition: 0.22s ease;

  box-shadow:
    0 3px 8px rgba(0,0,0,0.12),
    inset 0 0 10px rgba(255,255,255,0.5);
}

.apple-btn:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.apple-btn:active {
  transform: scale(0.97);
}
/* -------------------------------------------------
   FLOWING DOTS (React Canvas Background)
------------------------------------------------- */

.flow-section {
  position: relative;
  width: 100%;
  height: 100vh; /* o 80vh se preferisci */
  overflow: hidden;
}

/* Punto di mount React */
#react-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* dietro al contenuto */
}

/* Wrapper React */
.flow-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Canvas */
.flow-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}
