/* Body Text */
body {
    font-family: 'Inter', sans-serif;
    padding-top: 46px;
    color: #151a22;
}

strong {
    font-weight: 700;
}

/* Navbar Styling */
.navbar-nav {
    gap: 2rem;
}

.navbar-nav .nav-link {
    color: white !important;
    text-transform: uppercase;
    font-size: 1rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #c8ff00 !important;
}

/* Navbar Toggler (Mobile Burger Menu) */
.navbar-toggler {
    border: none;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c8ff00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Candidati Button */
.candidati-btn {
    position: relative;

    margin-top: -30px;
    bottom: -35px;
    background: #c8ff00;
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    padding: 0.3rem 2.2rem 0.2rem 1.8rem;
    line-height: 1.2;
    border-radius: 0.5rem 0.5rem 3rem 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.candidati-btn:hover {
    background: #c8ff00;
    color: #0000ff;
}

/* Chip Badge */
.chip {
    display: inline-block;
    background: #c8ff00;
    color: #0d0d0d;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
    border-radius: 1rem 3rem 1rem 1rem;
    margin-bottom: 1.1rem;
}

/* Global Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    color: #0000ff;
}

/* Lead text larger */
.lead {
    font-size: 1.5rem;
    line-height: 1.6;
}

.lead-small {
    font-size: 1.3rem;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    background: url('../images/Sfondo heaer.webp') no-repeat;
    background-size: 105%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}


@media (max-width: 768px) {
    .hero-section {
        margin-top: -30px;
    }
}

/* Tape */
.tape {
    background: #c8ff00;
    transform: rotate(-2deg);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.tape-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: tape-run 40s linear infinite;
}

@keyframes tape-run {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tape-word {
    font-family: 'Bebas Neue' !important;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.6;
    text-transform: uppercase;
    color: #0d0d0d;
}

.hero-container {
    color: white;
}

.hero-hackathon-image {
    max-width: 200px;
    height: auto;
    width: clamp(300px, 90vw, 900px);

}

.hero-main-title {
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 991px) {
    .hero-main-title {
        font-size: 3.2rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
}

/* Section Heading */
.sh {
   font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #0000ff;
    margin-bottom: 1.5rem;
}

.sh-big {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #0000ff;
    margin-bottom: 1.5rem;
}

/* Paragraph Text */
.it {
    font-size: 1.2rem;
    line-height: 1.82;
    color: #555555;
}

.it strong {
    color: #0d0d0d;
    font-weight: 600;
}

/* Format Cards */
.fmt-card {
    background: #0000ff;
    border-radius: 1.4rem;
    padding: 2.2rem 2rem;
    height: 100%;
    color: #ffffff;
    position: relative;
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
}

.fmt-card.left {
    border-radius: 2rem 8rem 2rem 2rem;
}

.fmt-card.right {
    border-radius: 2rem 2rem 8rem 2rem;
}

.fmt-tag {
    display: inline-block;
    background: #c8ff00;
    color: #0d0d0d;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.55rem 1.6rem;
    border-radius: 1rem 3rem 1rem 1rem;
    margin-bottom: 1.1rem;
    position: absolute;
    top: -24px;
    left: 2rem;
}

.fmt-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    min-height: 7.5rem;
}

i {
    font-size: 4rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    margin-bottom: 1rem;
}

.fmt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fmt-list li {
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    gap: 0.45rem;
    align-items: baseline;
}

.fmt-list .a {
    color: #c8ff00;
    font-weight: 700;
    flex-shrink: 0;
}

.fmt-list strong {
    color: #ffffff;
}

.fmt-card-light {
    background: #f2f3f7;
    color: #0d0d0d;
}

.fmt-card-light .fmt-title {
    color: #0d0d0d;
}

.fmt-card-light .fmt-list li {
    color: #555555;
}

.fmt-card-light .fmt-list strong {
    color: #0d0d0d;
}

.fmt-card-light .fmt-list .a {
    color: #0000ff;
}

.card-periodo-candidatura {
    background-color: transparent;
    color: #0000ff;
    border-radius: 0;
    padding: 0 0 2rem 0;
}

.periodo-text {
    margin: 0;
    border-left: 8px solid #c8ff00;
    padding-left: 2rem;
    line-height: 1.4;
}

.periodo-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem;
    color: #0000ff;
}

.periodo-date {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0000ff;
    display: block;
}

.periodo-hackathon {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem;
    color: #0000ff;
    display: block;
}

.candidati-btn-periodo {
    background: #c8ff00;
    color: #0d0d0d;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    line-height: 1.2;
    text-transform: uppercase;
    padding: 0.5rem 2.8rem 0.4rem 2.4rem;
    border-radius: 0.5rem 0.5rem 3rem 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.candidati-btn-periodo:hover {
    background: #0000ff;
    color: #c8ff00;
}

/* Accordion for Format Cards */
.accordion-fmt {
    border: none;
}

.accordion-fmt .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.8rem;
}

.accordion-fmt .accordion-item:last-child {
    border-bottom: none;
}

.accordion-fmt .accordion-button {
    background: transparent;
    color: #ffffff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 1rem 0;
    box-shadow: none;
}

.accordion-fmt .accordion-button:not(.collapsed) {
    background: transparent;
    color: #c8ff00;
}

.accordion-fmt .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-fmt .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c8ff00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-fmt .accordion-body {
    padding: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Lexend', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
}

.accordion-bullet {
    margin-right: 0.5rem;
    color: #c8ff00;
}

.fmt-card-light .accordion-fmt .accordion-button {
    color: #0d0d0d;
}

.fmt-card-light .accordion-fmt .accordion-button:not(.collapsed) {
    color: #0000ff;
}

.fmt-card-light .accordion-fmt .accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.fmt-card-light .accordion-fmt .accordion-item:last-child {
    border-bottom: none;
}

.fmt-card-light .accordion-fmt .accordion-body {
    color: #555555;
}

.fmt-card-light .accordion-bullet {
    color: #0000ff;
}

.fmt-card-light .accordion-fmt .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230000ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* Benefit Cards */
.benefit-card {
    background: #f2f3f7;
    border: 1.5px solid #f2f3f7;
    border-radius: 1rem;
    padding: 1rem 5rem 1rem 5rem;
    
    height: 100%;
    text-align: left;
    transition: 0.2s;
}

.benefit-card:hover {
    transform: scale(1.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
}

.benefit-title {
    font-family: 'Bricolage Grotesque', sans-serif;
   
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.benefit-desc {
    font-family: 'Lexend', sans-serif;
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

/* Future Week Logo Section */
.tape-section {
    position: relative;
    padding-bottom: 80px;
}

.future-week-logo-section {
    position: relative;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 40px 0 30px 0;
    /*margin-bottom: 40px;  */
}

.future-week-logo {
    position: absolute;
    width: 200px;
    right: 3rem;
}


@media (max-width: 768px) {
   

.future-week-logo {
    top: -50px;
}   

}



@media (max-width: 768px) {
    .future-week-logo {
        width: 150px;
    }
}

.loghi-header{
    height: 300px;
}

.loghi-header-orizz{
    width: 100%;
}


@media (min-width: 769px) and (max-width: 991px) {
    .loghi-header-orizz{
        width: auto;
        height: 60px;
    }

}

.card-blu{
    background: #0000ff;
    color: white;
    padding: 2rem;
    border-radius: 1.5rem 8rem 1.5rem 1.5rem;
}

.card-blu-rivolto{
    background: #0000ff;
    color: white;
    padding: 2rem;
    border-radius: 0 0 8rem 1.5rem;
}

.icon-theme{
    width: 120px;
    height: auto;
}

.icon-theme-inside{
    width: 80px;
    height: auto;
}

.icon-theme-wrapper{
    position: relative;
    top: -50px;
    margin-bottom: -30px;
}

.text-primary{
    color: #0000ff!important;
}

.text-green {
    color: #c8ff00 !important;
    list-style: none;
    padding-left: 0;
}

.text-green li {
    padding-left: 1.5rem;
    position: relative;
    margin: 0.4rem 0 0.4rem 0;
    font-weight: 700!important;
}

.text-green li::before {
    content: "— ";
    position: absolute;
    left: 0;
    color: #151a22;
    font-weight: bold;
}
/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #0000ff;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    text-align: right;
    order: 2;
}

.timeline-item:nth-child(odd) .timeline-date {
    order: 1;
    margin-bottom: 0.5rem;
    margin-left: 52%;
    margin-right: 0;
    text-align: right;
    border-radius: 1rem 1rem 1rem 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
    margin-right: 0;
    text-align: left;
    order: 2;
}

.timeline-item:nth-child(even) .timeline-date {
    order: 1;
    margin-bottom: 0.5rem;
    margin-left: 0;
    margin-right: 52%;
    text-align: left;
    border-radius: 1rem 3rem 1rem 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #0000ff;
    border: 3px solid #0000ff;
    border-radius: 50%;
    top: 0;
    z-index: 1;
}

.timeline-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #151a22;
    margin-bottom: 0.5rem;
    background-color: #c8ff00;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
}

.timeline-title {
    font-family: 'Bricolage Grotesque', sans-serif;
   
    font-weight: 700;
    color: #0000ff;
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
}

.card-grey{
    background: #f2f3f7;
    color: #000;
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.row > .col {
    display: flex;
}

.card-grey h2 {
    height: 7.3rem; 
}

.mt-9 {
    margin-top: 7rem!important;
}

.card-black{
    background-color: #000;
}

.bg-dark{
    background-color: #151a22;
}

.text-dark{
    color: #151a22;
}

.bg-grey{
    background-color: #f2f3f7!important;
}

.text-green{
    color: #c8ff00!important;
}

.timeline-wrapper{
    background-color: #f2f3f7;
    border-radius: 1.5rem;

    padding: 2rem;
    border-radius: 1.5rem;
}

.btn-primary{
    background-color: #0000ff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    padding: 1.5rem;
    border-radius: 1.5rem;
}

/* Form Labels Styling */
.form-call4ideas .form-label {
    color: #0000ff !important;
}

/* Footer Styling */
.text-yellow {
    color: #c8ff00 !important;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
   
}

.list-interni{
 font-size: 1.25rem;
}

.list-esterni{
 font-size: 0.95rem;
}

.footer-link:hover {
    color: #c8ff00;
    text-decoration: none;
}

/* Extracted Inline Styles - CSS Consolidation */

/* Typography Utilities */
.highlight-yellow {
    background-color: #c8ff00;
}

.theme-area-title {
    font-size: 1.3rem;
}

.regulation-icon {
    font-size: 1.3rem;
    margin: 0rem;
    margin-right: 1rem;
}

.required-asterisk {
    color: red;
}

.privacy-label {
    font-size: 0.75rem;
}

.footer-section-header {
    letter-spacing: 0.1em;
    font-weight: 600;
}

.copyright-text {
    font-size: 0.75rem;
}

.copyright-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Benefit Card Border Radius Variants */
.benefit-card-rounded-br {
    border-radius: 1rem 1rem 1rem 5rem;
}

.benefit-card-rounded-bl {
    border-radius: 1rem 5rem 1rem 1rem;
}

/* Logo Image Heights */
.logo-35 {
    height: 35px;
}

.logo-50 {
    height: 50px;
}

.logo-60 {
   width: 200px;
}

/* Icon Sizing */
.downarrow-icon {
    max-width: 40px;
}

/* Footer Bar */
.copyright-bar {
    background-color: #0000ff;
    padding: 0.25rem 0;
}


.logo-header {
    width: 250px;
}

.logo-pwc {
    width: 250px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .logo-header {
        width:  180px;
    }

    .logo-pwc {
        width: 180px!important;
    }
}

@media (max-width: 767px) {
     .logo-header {
        width:  140px;
    }

    .logo-pwc {
        width: 140px!important;
    }
}


.logo-collab {
    height: 70px;
}


#iniziativa{
    scroll-margin-top: 30px;
}

#temi{
    scroll-margin-top: 70px;
}

#perche{
    scroll-margin-top: 40px;
}

#chi-e-rivolto{
    scroll-margin-top: 25px;
}

#timeline{
    scroll-margin-top: 20px;
}

#call4ideas-form{
    scroll-margin-top: 280px;
}