/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#google_translate_element {
    text-align: right; /* Posizionamento */
    margin: 10px; /* Margine */
}
.goog-te-banner-frame.skiptranslate {
    display: none !important; /* Nasconde il banner superiore */
}
body {
    top: 0px !important; /* Regola l'altezza */
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark); 
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: relative;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
 /*   border: 5px solid var(--primary);*/          /*Bordo Immagini pagine singole softwares ermes logic*/
    border-radius: 6px;
}

.img-border img {                 /*Immagini pagine singole softwares ermes logic*/
    position: relative;
    margin-top: -1rem; /* Sposta l'immagine verso l'alto */
	top: 3rem;
    left: 3rem;
 /*   width: calc(100% - 3rem);*/
 /*   height: calc(100% - 3rem);*/
 /*   object-fit: cover;
    border-radius: 6px;*/
}

/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.btn-play {
  background-color: #dc3545;   /* Rosso */
  color: #fff;
  border: none;
  border-radius: 50%;         /* Cerchio */
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-play:hover {
  background-color: #c82333;   /* Più scuro al passaggio del mouse */
  color: #fff;
  text-decoration: none;
}
.features-list {
  font-size: 14px;            /* Riduce la grandezza del testo */
  line-height: 1.4;           /* Riduce lo spazio verticale tra righe */
  margin: 0;
  padding: 0;
}

.features-list p {
  margin: 4px 0;              /* Spaziatura compatta tra paragrafi */
}
.section-drop-tube {
  color: #009CFF;
  font-weight: bold;
  margin-top: 12px;
}
/* Badge della navbar: compatto e con glow confinato */
.navbar .launcher-badge{
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;               /* più piccolo */
  border-radius: 10px;
  background: #160606;
  border: 1.25px solid #ff2b2b;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .06em;
  isolation: isolate;             /* confina gli effetti */
  overflow: hidden;               /* clippa gli effetti interni */
  box-shadow: 0 0 6px rgba(255,0,0,.45); /* glow contenuto nel badge */
}

/* Contenitore compatto e confinato */
  .launcher-badge{
    position: relative;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 6px 10px;           /* più piccolo */
    margin: 0 6px;               /* leggero distacco dagli altri link */
    border-radius: 10px;
    background: #160606;
    border: 1.5px solid #ff2b2b;
    color: #fff;
    line-height: 1.05; text-transform: uppercase; font-weight: 900;
    letter-spacing: .06em;
    isolation: isolate;          /* crea stacking context per confinare gli effetti */
    overflow: hidden;            /* clippa gli effetti interni */
    box-shadow: 0 0 8px rgba(255,0,0,.5); /* glow contenuto */
  }

/* --- Launcher badge (navbar) --- */
.navbar .launcher-badge{
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 10px;
  background: #160606;
  border: 1.25px solid #ff2b2b;
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .06em;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(255,0,0,.45);
}
.navbar .launcher-badge .top{ font-size: .85rem; }
.navbar .launcher-badge .bottom{
  margin-top: 1px;
  font-size: 1rem;
  letter-spacing: .32em;
  animation: navLiveBlink .85s ease-in-out infinite;
  text-shadow: 0 0 6px #ff2b2b, 0 0 12px #ff2b2b;
}
.navbar .launcher-badge::after{
  content:"";
  position:absolute;
  inset: 2px;
  border-radius: inherit;
  box-shadow: inset 0 0 10px rgba(255,0,0,.35);
  outline: 1px solid rgba(255,0,0,.55);
  animation: navRing 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes navLiveBlink { 50% { opacity: .3; transform: scale(1.02); } }
@keyframes navRing { 0% { opacity:.75; transform: scale(.98); } 100% { opacity:0; transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce){
  .navbar .launcher-badge .bottom{ animation: none; }
  .navbar .launcher-badge::after{ animation: none; }
}

/* (opzionale) piccoli aggiustamenti mobile */
@media (max-width: 992px){
  .navbar .launcher-badge{ padding: 3px 7px; }
  .navbar .launcher-badge .top{ font-size: .8rem; }
  .navbar .launcher-badge .bottom{ font-size: .95rem; letter-spacing: .28em; }
}
/**********************************
 * Plans & Pricing - Premium Layer
 * (solo per plans-pricing.html)
 **********************************/

/* ================================
   Plan Cards
================================ */

/* Card piani: estensione elegante senza rompere .service-item */
.plan-card {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #FFFFFF;
}

/* Manteniamo l'effetto hover del template ma più raffinato */
.plan-card:hover {
    border-color: rgba(0, 0, 0, .12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

/* Icona grande, coerente e centrata */
.plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 156, 255, .08);
    font-size: 28px;
}

/* Prezzi più leggibili e allineati */
.plan-prices p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.plan-prices .price-label {
    font-size: .95rem;
}

.plan-prices .price-value {
    font-weight: 700;
    color: var(--dark);
}

/* Card evidenziata */
.plan-highlight {
    border: 1px solid rgba(0, 156, 255, .25);
    background: linear-gradient(
        180deg,
        rgba(0, 156, 255, .06),
        transparent 35%
    ), #fff;
}

/* Ribbon "Most Popular" */
.plan-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 156, 255, .12);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ================================
   Purchase Panel
================================ */

/* Pannello acquisto più premium rispetto al semplice bg-light */
.purchase-panel {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
}

/* Step mini-card */
.purchase-step {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 14px;
    height: 100%;
}

/* ================================
   Payments
================================ */

/* Badge pagamento (pill) */
.payment-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .8rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

/* Icona leggermente più grande */
.payment-pill i {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--dark);
}

/* Brand colors (approx official palette) */
.payment-pill.paypal i {
    color: #003087;
}

.payment-pill.stripe i {
    color: #6772E5;
}

/* Optional: improve text alignment */
.payment-pill span {
    white-space: nowrap;
}

/* Logo generico (se usi class dedicata) */
.payment-logo {
    height: 32px;
    width: auto;
    display: inline-block;
}

/* Logos dentro pill: responsive-safe */
.payment-pill img {
    height: 30px;
    width: auto;
    max-width: 140px;
    display: inline-block;
}

.payment-note {
    font-size: .85rem;
    color: var(--secondary);
}

/* ================================
   Responsive micro-tuning
================================ */

@media (max-width: 768px) {
    .plan-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .plan-ribbon {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .payment-pill img {
        height: 22px;
        max-width: 110px;
    }
}
