/* ========================================
   PERSONALIZZAZIONE COLORI E STILI
   Modifica questi valori per cambiare l'aspetto del sito
   ======================================== */

:root {
    /* COLORI PRINCIPALI */
    --primary-color: #FFCC00;        /* Giallo - Usato per pulsanti, titoli, accenti */
    --secondary-color: #134395;      /* Blu scuro - Sfondo navbar, footer */
    --accent-color: #ff6b6b;         /* Rosso - Accenti secondari (opzionale) */
    
    /* COLORI TESTO */
    --text-color: #ffffff;           /* Bianco - Testo su sfondi scuri */
    --text-dark: #333333;            /* Grigio scuro - Testo su sfondi chiari */
    
    /* COLORI SFONDO */
    --bg-dark: #134395;             /* Nero - Sezioni scure (hero, services) */
    --bg-light: #f5f5f5;            /* Grigio chiaro - Sezioni chiare (about, tourism) */
    
    /* ALTRI STILI */
    --transition: all 0.3s ease;     /* Velocità animazioni */
    --font-family: 'Poppins', sans-serif;  /* Font principale */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.7rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-navbar {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-navbar:hover {
    transform: scale(1.05);
}

.nav-brand a:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero.jpeg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo-hero {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.word-rotator h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-date {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.hero-streaming {
    margin-top: 2.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-streaming-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #ffe066 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    transition: var(--transition);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.hero-streaming-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.hero-streaming-arrow {
    transition: transform 0.3s ease;
}

.hero-streaming-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 35px rgba(255, 204, 0, 0.55);
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-streaming-btn:hover .hero-streaming-arrow {
    transform: translateX(6px);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 204, 0, 0.7);
    }
}

.video-embed-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.about {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    font-size: 2.5rem;
    min-width: 50px;
    text-align: center;
}

.highlight-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder img,
.image-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vertical-placeholder {
    height: 700px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
}

.vertical-placeholder video {
    position: relative;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-image: url('../images/placeholder_promo.png');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.vertical-placeholder:hover .video-overlay {
    transform: scale(1.02);
}

.play-icon {
    font-size: 3.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-overlay:hover .play-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.promo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.program {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-color);
}

.program .section-title {
    color: var(--text-color);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 204, 0, 0.1);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 204, 0, 0.3);
    border-color: var(--primary-color);
}

.program-card:hover .program-header {
    background: linear-gradient(135deg, #ffaa00 0%, var(--primary-color) 100%);
}

.program-card-full {
    grid-column: 1 / -1;
}

.program-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffaa00 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.program-date {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.program-body {
    padding: 2rem;
}

.program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.program-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.activity {
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.program-fisr-badge {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 600;
}

.program-item--highlight {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.15) 100%);
    border-radius: 8px;
    padding: 1rem !important;
}

.program-item--highlight .activity {
    font-weight: 700;
    color: #4CAF50;
}

.program-item--meal {
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.3) 0%, rgba(255, 235, 59, 0.15) 100%);
    border-radius: 8px;
    padding: 1rem !important;
}

.program-item--meal .activity {
    font-weight: 700;
    color: #FDD835;
}

.program-disclaimer {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

.program-note {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 204, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
    font-size: 0.9rem;
    font-style: italic;
}

.awards-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.categories {
    padding: 100px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.track {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-color);
}

.track .section-title {
    color: var(--text-color);
}

.track-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.track-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.track-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.track-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.track-image {
    width: 100%;
}

.track-image .image-placeholder {
    width: 100%;
    height: 500px;
}

.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.gallery-lightbox-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.6rem;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
}

.tourism {
    padding: 100px 0;
    background: var(--bg-light);
}

.tourism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tourism-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tourism-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tourism-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tourism-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.tourism-card p {
    color: #666;
    font-size: 0.9rem;
}

.tourism-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.services {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-color);
}

.services .section-title {
    color: var(--text-color);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.services-grid--two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    margin: 0;
    gap: 2rem;
}

.services-grid--two .service-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.25rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 5px;
}

.service-link:hover {
    background: rgba(255, 204, 0, 0.1);
    padding-left: 1rem;
}

.service-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 1rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 0, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.service-item:hover {
    border-color: rgba(255, 204, 0, 0.3);
}

.service-card {
    cursor: pointer;
    padding: 2rem;
}

.service-expand {
    display: block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-card:hover .service-expand {
    transform: translateX(5px);
}

.service-detail-inline {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.service-detail-inline.active {
    max-height: 3000px;
    opacity: 1;
}

.service-detail-content-inline {
    padding: 2rem;
}

.service-detail-content-inline h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-detail-content-inline h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-detail-content-inline p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail-content-inline ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.service-detail-content-inline ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail-content-inline ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-contact-info {
    background: rgba(255, 204, 0, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.service-contact-info p {
    margin-bottom: 0.75rem;
}

.service-contact-info p:last-child {
    margin-bottom: 0;
}

.service-contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.service-contact-info a:hover {
    text-decoration: underline;
}

.menu-section {
    margin-top: 1.5rem;
}

.menu-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.menu-section ul {
    list-style: none;
    padding-left: 0;
}

.menu-section li {
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.menu-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 1200px;
}

.contact-form iframe {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    min-height: 900px;
    height: auto;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.sponsors {
    padding: 100px 0;
    background: var(--bg-light);

}

.sponsors .section-title {
    color: var(--secondary-color);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.sponsor-logo {
    background: white;
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sponsor-logo:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.logo-placeholder {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.5;
}

.sponsor-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 80px;
}

.footer {
    background: var(--bg-dark);
    color: var(--text-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logos {
    display: flex;
    gap: 6rem;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-footer {
    height: 100px;
    width: auto;
}

.footer-coni-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-coni {
    height: 150px;
    width: auto;
    border-radius: 15px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-institution-logo {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 0 0.75rem;
}

.footer-institution-logo--light {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 8px;
}

.footer-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
    margin: 1.25rem 0;
    --footer-card-height: 180px;
}

.footer-partners {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.footer-partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-partner-logo {
    height: 120px;
    width: 120px;
    display: block;
    flex: 0 0 auto;
    background: white;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    box-sizing: border-box;
}

.footer-partner-caption {
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
    margin: 0;
    max-width: 120px;
    line-height: 1.3;
}

.footer-partner-logo--light {
    background: white;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-image {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.footer-image-card {
    background: white;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 25%;
    min-width: 220px;
    height: var(--footer-card-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-image-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.program-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.program-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.program-header h3 {
    font-size: 1.3rem;
}

.program-body {
    padding: 1.5rem;
}

.program-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem 0;
}

.time {
    font-size: 1rem;
}

.activity {
    text-align: left;
    margin-left: 0;
}

.categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.category-card,
.tourism-card {
    padding: 1.5rem;
}

.category-icon,
.tourism-icon {
    font-size: 2.5rem;
}

.menu-section ul {
    font-size: 0.9rem;
}

.track-features {
    gap: 1rem;
}

.feature {
    flex-direction: row;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
}

.contact-form {
    padding: 1.5rem;
}

.form-group input,
.form-group textarea {
    font-size: 16px;
}

.contact-item {
    flex-direction: row;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 15px;
}

.sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sponsor-logo {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .program-header h3 {
        font-size: 1.3rem;
    }

    .program-body {
        padding: 1.5rem;
    }

    .program-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }

    .time {
        font-size: 1rem;
    }

    .activity {
        text-align: left;
        margin-left: 0;
    }

    .categories-grid,
    .tourism-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card,
    .tourism-card {
        padding: 1.5rem;
    }

    .logo-coni {
        height: 100px;
    }

    .footer-coni-section {
        justify-content: center;
        margin-top: 1rem;
    }

    .category-icon,
    .tourism-icon {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid--two {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        max-width: 100%;
        gap: 1rem;
    }

    .services-grid--two .service-card {
        min-height: 220px;
        padding: 1rem;
    }

    .service-item {
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-detail-content-inline {
        padding: 0 1.5rem 1.5rem 1.5rem;
        padding-top: 1.5rem;
    }

    .service-detail-content-inline h4 {
        font-size: 1.3rem;
    }

    .service-detail-content-inline h5 {
        font-size: 1.1rem;
    }

    .service-contact-info {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .contact-form iframe {
        min-height: 800px;
    }

    .menu-section ul {
        font-size: 0.9rem;
    }

    .track-features {
        gap: 1rem;
    }

    .feature {
        flex-direction: row;
        align-items: flex-start;
    }

    .feature-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsor-logo {
        padding: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-section {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .word-rotator h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 0.9rem;
    }

    .hero-streaming-btn {
        font-size: 1rem;
        padding: 0.9rem 1.6rem;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .program-header h3 {
        font-size: 1.1rem;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}
