/* Reset e stili base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

/* Header e Navigazione */
header {
    background-color: #f4f4f4;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd; /* Added border for separation */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

nav .logo img {
    max-height: 50px;
    width: auto;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    padding: 0.5rem;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ff9900;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: 60vh;
}

.hero {
    background-color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
    color: #ff9900;
}

/* Nuovi Stili per Sezioni Aggiuntive */

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: #333;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 5px;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff9900;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
}

/* CTA Banner */
.cta-banner {
    background: #ff9900;
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 5px;
    margin: 2rem 0;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #555;
}

/* Service Details */
.service-detail-section {
    margin-bottom: 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-detail-section h2 {
    color: #333;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style-type: none;
    margin-left: 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: "✓";
    color: #ff9900;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CEO Profile Section */
.ceo-profile {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border-left: 5px solid #ff9900;
}

.ceo-profile h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.ceo-profile h3 {
    color: #ff9900;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.ceo-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.ceo-info {
    flex: 1;
    min-width: 300px;
}

.ceo-info ul {
    list-style-type: none;
    margin-top: 1rem;
}

.ceo-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.ceo-info ul li::before {
    content: "•";
    color: #ff9900;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 5px;
    border-top: 4px solid #ff9900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.value-item h3 {
    margin: 1rem 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #ff9900;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* FAQ Accordion (Simple) */
.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 5px;
    color: #777;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button[type="submit"]:hover {
    background-color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}
