:root {
    --primary-color: #2176AE;
    --dark-blue: #12486B;
    --light-blue: #4A90E2;
    --green: #68B678;
    --teal: #5EB3B0;
    --purple: #7755B2;
    --gray: #F5F5F5;
    --dark-gray: #333333;
    --text-gray: #666666;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

section {
    padding: 60px 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn.decline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.cookie-more {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 10px;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-gray);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
}

/* Hero Section */
.hero {
    background-color: var(--dark-blue);
    color: white;
    padding: 80px 0;
    background-image: url('./assets/meeting-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--dark-blue);
}

/* Chi Siamo Section */
.chi-siamo {
    background-color: white;
}

.chi-siamo-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.chi-siamo-text {
    flex: 1;
}

.chi-siamo-text h2 {
    text-align: left;
}

.chi-siamo-text p {
    margin-bottom: 15px;
}

.chi-siamo-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

/* Servizi Section */
.servizi {
    background-color: var(--gray);
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.servizio-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.servizio-card:hover {
    transform: translateY(-5px);
}

.servizio-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.servizio-card:nth-child(1) .servizio-number {
    color: var(--green);
}

.servizio-card:nth-child(2) .servizio-number {
    color: var(--light-blue);
}

.servizio-card:nth-child(3) .servizio-number {
    color: var(--purple);
}

.servizio-card:nth-child(4) .servizio-number {
    color: var(--teal);
}

.servizio-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Metodo Section */
.metodo-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.metodo-image {
    flex: 1;
    overflow: hidden;
    max-width: 350px;
}

html {
    scroll-behavior: smooth;
}

.metodo-text {
    flex: 1.5;
}

.metodo-text h2 {
    text-align: left;
}

.metodo-step {
    margin-bottom: 30px;
}

.step-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Testimonianze Section */
.testimonianze {
    background-color: var(--gray);
}

.testimonianze-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonianza-card {
    padding: 25px;
    border-radius: 10px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonianza-card.green {
    background-color: var(--green);
}

.testimonianza-card.blue {
    background-color: var(--primary-color);
}

.testimonianza-card.teal {
    background-color: var(--teal);
}

.testimonianza-card.purple {
    background-color: var(--purple);
}

.testimonianza-card p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonianza-author {
    font-weight: 500;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: white;
}

.contact h2 {
    color: white;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
}

textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 14px;
}

.footer-links a {
    color: white;
    margin-left: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .servizi-grid, .testimonianze-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chi-siamo-content, .metodo-content {
        flex-direction: column;
    }
    
    .chi-siamo-image, .metodo-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .servizi-grid, .testimonianze-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    section {
        padding: 40px 0;
    }
}