/*
Theme Name: Job Academy UP Landing Theme
Theme URI: https://www.jobacademyup.it/ (Esempio)
Author: Il Tuo Nome/Azienda
Author URI: https://www.tuosito.it/ (Esempio)
Description: Tema WordPress basato sulla landing page di Job Academy UP.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-layout, one-page
Text Domain: jobacademyup
*/

/*
Aggiungi qui tutto il CSS custom presente nel tag <style> del file HTML.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
  padding: 0;
  list-style-position: inside;
}

:root {
    --primary-blue: #0a3d62;
    --secondary-blue: #2980b9;
    --accent-blue: #3daef5;
    --gold: #f39c12;
    --red: #e74c3c;
    --green: #27ae60;
    --dark: #2c3e50;
    --light-gray: #ecf0f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: -100px;
    width: 100%;
    background: rgba(10, 61, 98, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.navbar.scrolled {
    top: 0;
    opacity: 1;
    padding: 12px 0;
    background: rgba(10, 61, 98, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    position: relative; /* Necessario per attivare lo z-index */
    z-index: 1002; /* Deve essere maggiore di .nav-menu (che è 1000) */
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.nav-cta {
    background: var(--gold);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative; /* Necessario per attivare lo z-index */
    z-index: 1002; /* Deve essere maggiore di .nav-menu (che è 1000) */
}

.nav-cta:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.nav-menu.open {
    display: flex; /* MOSTRA QUANDO APERTO */
    transform: translateX(0); /* Fai entrare il menu */
    overflow-y: auto; /* Permette lo scroll se il menu è lungo */
}

/* Stile base per l'hamburger (nascosto di default su desktop) */
.hamburger-menu {
    display: none; /* Nascosto di default */
    font-size: 1.8em;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Sopra ogni cosa */
}

/* Il Titolo rimane centrato */
.page-title {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 2.5em; 
    font-weight: 700;
    text-align: center; /* Centra il testo del titolo */
}

/* Il Contenuto viene centrato come blocco, ma allineato a sinistra internamente */
.page-content {
    color: #555;
    line-height: 1.9;
    font-size: 1.05em;
    
    max-width: 1000px; margin: 0 auto 50px; text-align: left; padding: 40px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a3d62 0%, #1e5f8c 50%, #2980b9 100%);
    color: white;
    padding: 20px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 174, 245, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    /* max-width: 900px; */
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    height: 240px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4em;
    margin: 30px 0 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitle {
    font-size: 2.2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: white;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.6);
}

.btn-secondary {
    background: var(--secondary-blue);
    color: white;
    border: 3px solid white;
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-ternary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-ternary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* Trust Indicators */
.trust-bar {
    background: white;
    padding: 40px 20px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-number {
    font-size: 3em;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.trust-label {
    font-size: 1.1em;
    color: #555;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Value Proposition */
.value-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #fff 100%);
    padding: 80px 20px;
}

.value-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.value-title {
    font-size: 2.8em;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 800;
}

.value-subtitle {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 60px;
    line-height: 1.8;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 1.5em;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05em;
}

/* Section Styles */
.section {
    margin-bottom: 100px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

.section-icon {
    font-size: 3em;
    margin-right: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--accent-blue);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(61, 174, 245, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-left-width: 8px;
}

.service-card:hover::before {
    transform: translate(20px, -20px) scale(1.5);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05em;
    position: relative;
    z-index: 1;
}

/* Service List */
.service-list {
    list-style: none;
    margin-top: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.service-list li {
    padding: 18px 0;
    padding-left: 40px;
    position: relative;
    color: #555;
    line-height: 1.9;
    font-size: 1.05em;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    padding-left: 50px;
    color: var(--primary-blue);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.4em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-list li:hover::before {
    transform: scale(1.3);
    color: var(--gold);
}

.service-list strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '❝';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    top: -50px;
    left: 50px;
    font-family: Georgia, serif;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-blue);
}

/* Social Feed Section */
.social-feed-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 20px;
    position: relative;
}

.social-feed-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-feed-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 800;
}

.social-feed-subtitle {
    text-align: center;
    font-size: 1.3em;
    color: #666;
    margin-bottom: 60px;
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.platform-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.platform-header img {
    width: 40px;
    height: 40px;
}

.platform-header h3 {
    font-size: 1.8em;
    color: var(--primary-blue);
    font-weight: 700;
}

.platform-header .live-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #27ae60;
    font-weight: 600;
}

.platform-header .live-dot {
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 200px;
}

.mini-post {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

.mini-post:hover {
    background: #e9ecef;
    border-left-color: var(--accent-blue);
    transform: translateX(5px);
}

.mini-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mini-post-date {
    font-size: 0.85em;
    color: #999;
}

.mini-post-text {
    color: #555;
    line-height: 1.7;
    font-size: 0.95em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-post-stats {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    font-size: 0.9em;
    color: #777;
}

.mini-post-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 30px;
    color: #e74c3c;
    font-weight: 600;
}

.api-info {
    background: linear-gradient(135deg, rgba(61, 174, 245, 0.1), rgba(41, 128, 185, 0.1));
    border-radius: 15px;
    padding: 25px;
    margin-top: 50px;
    border-left: 5px solid var(--accent-blue);
}

.api-info h4 {
    color: var(--primary-blue);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.api-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.api-info code {
    background: rgba(10, 61, 98, 0.1);
    padding: 2px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--primary-blue);
}

.view-all-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.social-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.social-tab {
    padding: 15px 40px;
    border-radius: 50px;
    border: 3px solid var(--primary-blue);
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-tab img {
    width: 24px;
    height: 24px;
}

.social-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.2);
}

.social-tab.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.3);
}

.social-tab.active img {
    filter: brightness(0) invert(1);
}

.social-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.social-post {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.social-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-blue);
}

.post-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    color: var(--primary-blue);
    font-size: 1.1em;
    margin-bottom: 3px;
}

.post-info .post-date {
    color: #999;
    font-size: 0.9em;
}

.post-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e0e7ee, #f0f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.social-post:hover .post-image img {
    transform: scale(1.05);
}

.post-placeholder {
    font-size: 4em;
    color: rgba(10, 61, 98, 0.1);
}

.post-content {
    padding: 25px;
}

.post-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.post-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 0.95em;
}

.post-stat-icon {
    font-size: 1.2em;
}

.post-cta {
    display: block;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-cta:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.view-more-btn {
    display: inline-block;
    margin: 50px auto 0;
    padding: 18px 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
}

.view-more-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.3);
}

.view-more-container {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0a3d62, #2980b9);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 174, 245, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3em;
    margin-bottom: 25px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.4em;
    margin-bottom: 50px;
    opacity: 0.95;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.contact-label {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 1.2em;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgb(234, 239, 242);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-link img {
    width: 48px;
    /* height: 24px; */
    /* filter: brightness(0) invert(1); */
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

.social-link:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-blue); /* Sfondo pieno */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%); /* Nascosto fuori dallo schermo */
    }

    .hamburger-menu {
        display: block; /* MOSTRA SU MOBILE */
    }
    
    /* .nav-cta {
        display: none; /* Opzionale: puoi nascondere il CTA o spostarlo nel menu */
    /*} */

    .nav-logo {
        position: relative; /* Necessario per attivare lo z-index */
        z-index: 1002; /* Deve essere maggiore di .nav-menu (che è 1000) */
    }

    .nav-logo img {
        height: 40px;
    }

    .hero-logo img {
        height: 80px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero .subtitle {
        font-size: 1.5em;
    }

    .hero .mega-logo {
        font-size: 48px;
    }

    .hero .mega-logo .arrow {
        font-size: 60px;
    }

    .section-title {
        font-size: 1.8em;
    }

    /* .service-grid {
        grid-template-columns: 1fr;
    } */

    .value-title {
        font-size: 2em;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .btn {
        padding: 15px 35px;
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
