* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Loghi */
header {
    background: white;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-grid {
    display: flex;
    justify-content: space-between;
}

.logo-grid img {
    height: 60px; /* Altezza fissa per tutti i loghi */
    width: auto;  /* La larghezza si adatta */
    object-fit: contain; /* Mantiene il rapporto d'aspetto */    
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Buoy Image Section */
.buoy-image {
    background: white;
    padding: 40px 0;
    text-align: center;
}

.buoy-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Main Content */
main {
    padding: 50px 20px;
}

.content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.content h2 {
    color: #1e3c72;
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
}

.content p {
    margin-bottom: 20px;
    text-align: justify;
}

.content ul {
    margin: 20px 0 20px 40px;
}

.content ul li {
    margin-bottom: 15px;
    text-align: justify;
}

/* Dashboard Link */
.dashboard-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn-dashboard {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.btn-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 60, 114, 0.5);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.btn-dashboard .icon {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Info Section */
.info-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.info-section h2 {
    color: #1e3c72;
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
}

.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #2a5298;
}

.info-box p {
    margin-bottom: 15px;
}

.budget-box {
    background: #e8f4f8;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
}

.budget-box h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.budget-box ul {
    list-style: none;
    margin-left: 0;
}

.budget-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.budget-box ul li:last-child {
    border-bottom: none;
}

/* Deliverables Section */
.deliverables {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.deliverables h2 {
    color: #1e3c72;
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.deliverable-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.deliverable-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #2a5298;
}

.deliverable-item h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.deliverable-item p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.btn-download {
    display: inline-block;
    background: #2a5298;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #1e3c72;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .buoy-image {
        padding: 30px 0;
    }
    
    .buoy-image img {
        max-height: 350px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }
    
    .logo-grid img {
        max-width: 130px;
        max-height: 90px;
    }
    
    .content, .info-section, .deliverables {
        padding: 25px;
    }
    
    .content h2, .info-section h2, .deliverables h2 {
        font-size: 1.5rem;
    }
    
    .btn-dashboard {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .deliverable-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .buoy-image {
        padding: 20px 0;
    }
    
    .buoy-image img {
        max-height: 250px;
    }
    
    .content, .info-section, .deliverables {
        padding: 20px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}