* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    /*background: #f6f9fc;*/
    color: #1a2639;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
    color: #21b0d2;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center {
    text-align: center;
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

/* navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 50, 80, 0.05);
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.logo i {
    color: #bc4e9c;
    background: linear-gradient(145deg, #2b5f8a, #1e3b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.logo span {
    background: linear-gradient(145deg, #1f3e5c, #11212e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    cursor: pointer;
    color: #1f3e5c;
}

.nav-links a:hover {
    border-bottom-color: #21b0d2;
    color: #0f2b3b;
}

.lang-switch {
    display: flex;
    gap: 0.3rem;
    margin-left: 1rem;
    background: #eef3f8;
    padding: 0.3rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 60, 120, 0.1);
}

.lang-option {
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s;
    color: #1f3e5c;
}

.lang-option.active {
    background: #1f3e5c;
    color: white;
}

/* ============================================
   LANGUAGE VISIBILITY - COMPLETE FIX
   ============================================ */

/* Default: Show both languages */
.lang-it,
.lang-en {
    display: block;
}

/* For inline elements (spans inside buttons, etc.) */
.lang-it-inline,
.lang-en-inline {
    display: inline;
}

/* For flex elements */
.lang-it-flex,
.lang-en-flex {
    display: flex;
}

/* ============================================
   HIDE BASED ON LANGUAGE
   ============================================ */

/* When language is Italian - hide English */
html[data-lang="it"] .lang-en,
html[data-lang="it"] .lang-en-inline,
html[data-lang="it"] .lang-en-flex {
    display: none !important;
}

/* When language is Italian - show Italian */
html[data-lang="it"] .lang-it,
html[data-lang="it"] .lang-it-inline,
html[data-lang="it"] .lang-it-flex {
    display: block !important;
}

html[data-lang="it"] .lang-it-inline {
    display: inline !important;
}

html[data-lang="it"] .lang-it-flex {
    display: flex !important;
}

/* When language is English - hide Italian */
html[data-lang="en"] .lang-it,
html[data-lang="en"] .lang-it-inline,
html[data-lang="en"] .lang-it-flex {
    display: none !important;
}

/* When language is English - show English */
html[data-lang="en"] .lang-en,
html[data-lang="en"] .lang-en-inline,
html[data-lang="en"] .lang-en-flex {
    display: block !important;
}

html[data-lang="en"] .lang-en-inline {
    display: inline !important;
}

html[data-lang="en"] .lang-en-flex {
    display: flex !important;
}

.btn-pdf span.lang-it,
.btn-pdf span.lang-en {
    display: none;
}

html[data-lang="it"] .btn-pdf span.lang-it {
    display: inline !important;
}

html[data-lang="en"] .btn-pdf span.lang-en {
    display: inline !important;
}

.features-mini span.lang-it,
.features-mini span.lang-en {
    display: none;
}

html[data-lang="it"] .features-mini span.lang-it {
    display: inline !important;
}

html[data-lang="en"] .features-mini span.lang-en {
    display: inline !important;
}

.partner-row span span.lang-it,
.partner-row span span.lang-en {
    display: none;
}

html[data-lang="it"] .partner-row span span.lang-it {
    display: inline !important;
}

html[data-lang="en"] .partner-row span span.lang-en {
    display: inline !important;
}

.nav-links a.lang-it,
.nav-links a.lang-en {
    display: none;
}

html[data-lang="it"] .nav-links a.lang-it {
    display: inline !important;
}

html[data-lang="en"] .nav-links a.lang-en {
    display: inline !important;
}

.contact-info h3.lang-it,
.contact-info h3.lang-en {
    display: none;
}

html[data-lang="it"] .contact-info h3.lang-it {
    display: block !important;
}

html[data-lang="en"] .contact-info h3.lang-en {
    display: block !important;
}

.contact-form h3.lang-it,
.contact-form h3.lang-en {
    display: none;
}

html[data-lang="it"] .contact-form h3.lang-it {
    display: block !important;
}

html[data-lang="en"] .contact-form h3.lang-en {
    display: block !important;
}

.about-text h2.lang-it,
.about-text h2.lang-en {
    display: none;
}

html[data-lang="it"] .about-text h2.lang-it {
    display: block !important;
}

html[data-lang="en"] .about-text h2.lang-en {
    display: block !important;
}

.about-text p.lang-it,
.about-text p.lang-en {
    display: none;
}

html[data-lang="it"] .about-text p.lang-it {
    display: block !important;
}

html[data-lang="en"] .about-text p.lang-en {
    display: block !important;
}

.footer span.lang-it,
.footer span.lang-en {
    display: none;
}

html[data-lang="it"] .footer span.lang-it {
    display: inline !important;
}

html[data-lang="en"] .footer span.lang-en {
    display: inline !important;
}

.hero h1.lang-it,
.hero h1.lang-en {
    display: none;
}

html[data-lang="it"] .hero h1.lang-it {
    display: block !important;
}

html[data-lang="en"] .hero h1.lang-en {
    display: block !important;
}

.hero .sub.lang-it,
.hero .sub.lang-en {
    display: none;
}

html[data-lang="it"] .hero .sub.lang-it {
    display: block !important;
}

html[data-lang="en"] .hero .sub.lang-en {
    display: block !important;
}

.project-tag span.lang-it,
.project-tag span.lang-en {
    display: none;
}

html[data-lang="it"] .project-tag span.lang-it {
    display: inline !important;
}

html[data-lang="en"] .project-tag span.lang-en {
    display: inline !important;
}

/* banner */
.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 500px;
    background: #000;
}

.banner-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(31, 62, 92, 0.5);
    padding: 3rem 2rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

/* hero */
.hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(145deg, #11212e, #3d2b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero .sub {
    font-size: 1.3rem;
    color: #2f4b70;
    max-width: 700px;
    margin: 1rem auto 2rem;
    font-weight: 300;
}

/* partner badges */
.partner-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0 3rem;
    font-weight: 500;
    color: #2b4b6f;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.2rem 2rem;
    border-radius: 80px;
    backdrop-filter: blur(4px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 60, 120, 0.1);
}

.partner-row i {
    margin-right: 8px;
    color: #ac4e8c;
}

/* projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 2rem 1.8rem;
    box-shadow: 0 20px 35px -8px rgba(0, 30, 50, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 45px -12px rgba(18, 52, 77, 0.2);
    border-color: #bc9ec0;
}

.card-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2565ae, #3b2c5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
}

.project-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    color: #11212e;
}

.project-tag {
    font-size: 0.9rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    color: #bc4e9c;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    gap: 1.2rem;
    margin: 0.5rem 0 1rem;
    flex-wrap: wrap;
}

.stat-bubble {
    background: #e0eefa;
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #11212e;
}

.stat-bubble i {
    margin-right: 5px;
    color: #2565ae;
}

.project-desc {
    color: #1f3e5c;
    margin: 0.8rem 0 1.5rem;
    flex: 1;
}

.features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0 1.5rem;
}

.features-mini span {
    background: #e6f0fa;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1c3e5e;
}

.pdf-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-pdf {
    background: white;
    border: 1px solid #a0c2d9;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    color: #1f3e5c;
    text-decoration: none;
    transition: 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-pdf i {
    color: #d44c66;
}

.btn-pdf:hover {
    background: #1f3e5c;
    border-color: #1f3e5c;
    color: white;
}

.btn-pdf:hover i {
    color: white;
}

.btn-download {
    background: #1f3e5c;
    border-color: #1f3e5c;
    color: white;
}

.btn-download i {
    color: white;
}

.btn-demo {
    background: #ffffff;
    border: 1.5px solid #bc4e9c;
    color: #bc4e9c;
}

.btn-demo i {
    color: #bc4e9c;
}

.btn-demo:hover {
    background: #bc4e9c;
    border-color: #bc4e9c;
    color: white;
}

.btn-demo:hover i {
    color: white;
}

#projects {
    padding: 3rem 0 0;
}

/* about section */
.about-section {
    /* background: linear-gradient(115deg, #ffffff 0%, #f2f9ff 100%);
    padding: 3rem 0; */
    /* margin: 4rem 0; */
    /* border-top: 1px solid rgba(80, 140, 200, 0.2);
    border-bottom: 1px solid rgba(80, 140, 200, 0.2); */

    background: #11212e;
    color: white;
    padding: 3rem 0 2rem;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 2;
    min-width: 280px;
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 650;
    background: linear-gradient(145deg, #173e5c, #462b62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
}

.ethics-badge {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ethics-item {
    background: rgba(43, 95, 138, 0.08);
    border-radius: 60px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border: 1px solid rgba(90, 140, 200, 0.3);
}

/* contact section */
.contact-section {
    background: #11212e;
    color: white;
    padding: 3.5rem 0;
    /* margin: 4rem 0; */
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info i {
    width: 36px;
    color: #beb4e6;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
    font-size: 1.1rem;
}

.contact-form {
    flex: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 2.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-group {
    flex: 1 1 200px;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-family: inherit;
    color: white;
    font-size: 1rem;
    transition: 0.15s;
}

textarea {
    margin-top: 1.5rem;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #bc4e9c;
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: white;
    color: #11212e;
    border: none;
    border-radius: 60px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.banner-content .btn-primary {
    background: white;
    color: #11212e;
    border: none;
    border-radius: 60px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 2rem;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.footer {
    text-align: center;
    padding: 3rem 0;
    color: #2f4b70;
    border-top: 1px solid rgba(0, 40, 70, 0.1);
    /* margin-top: 3rem; */
    background: #f0f4f8;
}

.collab-section {
    padding: 3rem 0;
    background-color: #11212e;
    color: white;
    text-align: center;
}

.collab-title {
    font-weight: 600;
    margin-bottom: 1rem;

}

.collab-logos {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;

}

.collab-logos img {

    height: auto;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: all 0.3s;
    display: block;
    position: relative;
    z-index: 10;
}

.collab-logos img:hover {
    filter: grayscale(0);
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a0b9ce, transparent);
    margin: 2rem 0;
}


/* Scroll Offset Fix */
section[id] {
    scroll-margin-top: 120px;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 2rem;
}

.next-arrow {
    right: 2rem;
}

/* Event page specific styles */
.event-banner-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #091520 0%, #17324c 100%);
    padding: 3.5rem 0 2rem;
    border-bottom: 4px solid #21b0d2;
}

.event-banner-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.event-banner-text {
    color: white;
    text-align: center;
}

.event-banner-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.event-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
    justify-content: center;
}

.btn-filter {
    background: #f0f4f8;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    color: #1f3e5c;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
}

.btn-filter:hover {
    background: #e0eefa;
    transform: translateY(-2px);
}

.btn-filter.active {
    background: #1f3e5c;
    color: white;
    box-shadow: 0 8px 25px rgba(31, 62, 92, 0.2);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 0 0 4rem;
}

.event-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 35px -8px rgba(0, 30, 50, 0.1);
    border: 1px solid rgba(0, 40, 80, 0.05);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -12px rgba(18, 52, 77, 0.2);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #eef3f8;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.03);
}

.event-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    backdrop-filter: blur(8px);
}

.event-status.upcoming {
    background: rgba(33, 176, 210, 0.9);
}

.event-status.past {
    background: rgba(100, 100, 100, 0.7);
}

.event-status.ongoing {
    background: rgba(188, 30, 35, 0.9);
}

.event-content {
    padding: 1.8rem;
}

.event-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #11212e;
    margin-bottom: 0.8rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin: 0.8rem 0 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid #eef3f8;
    border-bottom: 1px solid #eef3f8;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a6a8a;
}

.event-meta-item i {
    color: #21b0d2;
    width: 18px;
    font-size: 0.9rem;
}

.event-desc {
    color: #4a6a8a;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.event-modal-content {
    background: white;
    border-radius: 32px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.event-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #4a6a8a;
    transition: 0.2s;
}

.event-modal-close:hover {
    color: #11212e;
    transform: rotate(90deg);
}

.event-modal-content h2 {
    color: #11212e;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.event-modal-content .form-group {
    margin-bottom: 1rem;
}

.event-modal-content input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #dce4ec;
    border-radius: 40px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: 0.2s;
    color: #11212e;
    background: white;
}

.event-modal-content input:focus {
    outline: none;
    border-color: #21b0d2;
    box-shadow: 0 0 0 3px rgba(188, 78, 156, 0.1);
}

.event-modal-content .btn-primary {
    width: 100%;
    background: #1f3e5c;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 1rem;
}

.event-modal-content .btn-primary:hover {
    background: #bc4e9c;
    transform: translateY(-2px);
}



/* ===== EVENTO DETAIL PAGE STYLES ===== */
.event-banner-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #091520 0%, #17324c 100%);
    padding: 2rem 0 1.5rem;
    border-bottom: 4px solid #21b0d2;
}

.event-banner-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.festival-graphic-box {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.festival-graphic-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



.event-banner-text span {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.evento-detail-page {
    padding-bottom: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f3e5c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    margin: 2rem 0 1.5rem;
}

.back-link:hover {
    color: #21b0d2;
    gap: 12px;
}

/* Header Card */
.event-header-card {
    background: linear-gradient(135deg, #1f3e5c 0%, #1f3e5c 100%);
    color: white;
    padding: 2.5rem 2.5rem 2rem;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.event-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #93c5fd;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-header-card h1 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: white;
}

.event-subtitle {
    font-size: 1.05rem;
    color: #93c5fd;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.event-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
}

.header-meta-item {
    color: #e2e8f0;
    font-size: 0.95rem;
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.meta-key {
    font-weight: 700;
    color: #60a5fa;
}

/* Intro Card */
.intro-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 30, 60, 0.05);
    border: 1px solid rgba(0, 40, 80, 0.06);
}

.intro-card p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.intro-card p:last-child {
    margin-bottom: 0;
}

/* Section title */
.section-title-premium {
    font-size: 1.8rem;
    font-weight: 700;
    color: #11212e;
    margin: 2.5rem 0 1.5rem;
    position: relative;
    padding-left: 18px;
}

.section-title-premium::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 5px;
    background: #21b0d2;
    border-radius: 4px;
}

/* Program */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 30, 60, 0.05);
    border: 1px solid rgba(0, 40, 80, 0.06);
    margin-bottom: 2.5rem;
}

.program-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.program-item:last-child {
    border-bottom: none;
}

.program-item:hover {
    background: #f8fafc;
}

.program-time {
    min-width: 110px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #21b0d2;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    text-align: center;
    height: fit-content;
    white-space: nowrap;
}

.program-body {
    flex: 1;
}

.program-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.program-speakers {
    font-size: 0.9rem;
    color: #21b0d2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-speakers i {
    margin-right: 6px;
    color: #bc1d23;
}

.program-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.roundtable-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.roundtable-list li {
    font-size: 0.9rem;
    color: #334155;
    padding-left: 1rem;
    position: relative;
}

.roundtable-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #bc1d23;
    font-weight: bold;
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 8px 20px rgba(0, 30, 60, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 30, 60, 0.1);
}

.speaker-card-wide {
    grid-column: span 2;
}

.speaker-icon {
    font-size: 1.5rem;
    color: #bc1d23;
    margin-bottom: 0.6rem;
}

.speaker-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.speaker-role {
    font-size: 0.85rem;
    color: #21b0d2;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.speaker-bio {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.evento-footer-note {
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    background: #f0f4f8;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    color: #4a6a8a;
    border-top: 2px solid #cbd5e1;
}

/* Register Button on Detail Page */
.register-detail-btn {
    background: white;
    color: #1f3e5c;
    border: none;
    border-radius: 60px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.register-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.register-detail-btn i {
    color: #bc1d23;
}

/* Responsive */
@media (max-width: 768px) {
    .event-header-card {
        padding: 1.8rem;
    }

    .event-header-card h1 {
        font-size: 1.4rem;
    }

    .event-header-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .program-item {
        flex-direction: column;
        gap: 0.8rem;
    }

    .program-time {
        width: fit-content;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .speaker-card-wide {
        grid-column: span 1;
    }

    .evento-detail-page {
        padding: 0 1rem 3rem;
    }
}



@media (max-width: 768px) {
    .event-banner-text h1 {
        font-size: 2.2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 180px;
    }

    .event-modal-content {
        padding: 2rem;
    }
}


@media (max-width: 768px) {
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .prev-arrow {
        left: 1rem;
    }

    .next-arrow {
        right: 1rem;
    }
}

/* Marketing Vision Section */
.marketing-vision {
    padding: 3rem 0;
    background: #11212e;
    position: relative;
}

.marketing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.marketing-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.marketing-header p {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.6;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.marketing-item {
    text-align: center;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 40px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 40, 80, 0.05);
}

.marketing-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 30, 60, 0.1);
}

.marketing-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #bc4e9c, #1f3e5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-item h3 {
    font-size: 1.5rem;
    color: #11212e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.marketing-item p {
    color: #4a6a8a;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .marketing-header h2 {
        font-size: 2.2rem;
    }

    .marketing-vision {
        padding: 4rem 0;
    }
}

/* Form Status Messages */
.status-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: none;
}

.status-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.status-success {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-error {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}


.festival-graphic-box {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #fff;
    margin-bottom: 2rem;
}

.festival-graphic-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


.event-banner-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.event-banner-text .badge {
    background: #bc1d23;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.meta-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 30, 60, 0.05);
    border: 1px solid rgba(0, 40, 80, 0.05);
    text-align: center;
}

.meta-card i {
    font-size: 2.2rem;
    color: #bc1d23;
    margin-bottom: 1rem;
}

.meta-card h4 {
    font-size: 1.2rem;
    color: #11212e;
    margin-bottom: 0.5rem;
}

.meta-card p {
    color: #4a6a8a;
    font-size: 0.95rem;
}

.section-title-premium {
    font-size: 2.2rem;
    font-weight: 700;
    color: #11212e;
    margin: 4rem 0 2rem;
    position: relative;
    padding-left: 15px;
}


.anniversary-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.timeline-item {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border-left: 4px solid #21b0d2;
    box-shadow: 0 10px 25px rgba(0, 30, 60, 0.03);
    transition: transform 0.2s;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-year {
    font-weight: 700;
    color: #21b0d2;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-item h4 {
    font-size: 1.3rem;
    color: #11212e;
    margin-bottom: 0.8rem;
}

.timeline-item p {
    color: #4a6a8a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-demo {
    background: #ffffff !important;
    border: 1.5px solid #17324c !important;
    color: #17324c !important;
    transition: all 0.2s ease;
}

.btn-demo i {
    color: #17324c !important;
}

.btn-demo:hover {
    background: #17324c !important;
    color: white !important;
}

.btn-demo:hover i {
    color: white !important;
}

.project-tag {
    color: #21b0d2 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar {
        padding: 1rem;
    }

    .logo img {
        height: 80px !important;
        /* Smaller logo on mobile */
    }

    .nav-links {
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-flex {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}