/* Reset e variabili */
:root {
    --primary-color: #198754;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --danger-color: #dc3545;
}

/* Sistema di Selezione Multipla Scorrevole */
.scrollable-multiselect {
    position: relative;
    width: 100%;
}

.scrollable-display {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    padding: 0;
    min-height: 140px;
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    backdrop-filter: blur(10px);
}

.scrollable-display:hover {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.scrollable-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    min-height: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.scrollable-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
    color: rgba(255, 255, 255, 1);
}

.scrollable-option.selected {
    background: #0d6efd;
    color: #ffffff;
    font-weight: 500;
    border-left: 4px solid #0a58ca;
}

.scrollable-option.selected::before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 8px;
    color: #ffffff;
}

.scrollable-option.selected:hover {
    background: #0b5ed7;
    color: #ffffff;
}

.scrollable-option:last-child {
    border-bottom: none;
}

.selected-count {
    position: absolute;
    top: -25px;
    right: 0;
    background: #0d6efd;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

/* Scrollbar personalizzata */
.scrollable-display::-webkit-scrollbar {
    width: 8px;
}

.scrollable-display::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-display::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.scrollable-display::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Nascondi scrollbar orizzontale */
.scrollable-display::-webkit-scrollbar:horizontal {
    display: none;
}

.scrollable-display {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

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

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



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #34495e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Shell Interface Styles */
.shell-container {
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'Courier New', monospace;
    margin: 2rem 0;
    border: 1px solid #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.shell-header {
    background: linear-gradient(90deg, #2c2c2c, #3a3a3a);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
    position: relative;
}

.shell-controls {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.shell-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shell-close {
    background: #ff5f56;
}

.shell-minimize {
    background: #ffbd2e;
}

.shell-maximize {
    background: #27ca3f;
}

.shell-control:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.shell-title {
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.shell-body {
    padding: 20px;
    background: #0d1117;
    min-height: 400px;
    color: #f0f6fc;
    font-size: 16px;
    line-height: 1.6;
}

.shell-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.shell-line:nth-child(1) { animation-delay: 0.5s; }
.shell-line:nth-child(2) { animation-delay: 1s; }
.shell-line:nth-child(3) { animation-delay: 1.5s; }
.shell-line:nth-child(4) { animation-delay: 2s; }
.shell-line:nth-child(5) { animation-delay: 2.5s; }
.shell-line:nth-child(6) { animation-delay: 3s; }
.shell-line:nth-child(7) { animation-delay: 4s; }
.shell-line:nth-child(8) { animation-delay: 4.5s; }
.shell-line:nth-child(9) { animation-delay: 5s; }
.shell-line:nth-child(10) { animation-delay: 5.5s; }
.shell-line:nth-child(11) { animation-delay: 6s; }
.shell-line:nth-child(12) { animation-delay: 6.5s; }

.shell-prompt {
    color: #58a6ff;
    font-weight: bold;
    margin-right: 10px;
    min-width: 20px;
}

.shell-text {
    color: #f0f6fc;
}

.shell-command {
    color: #7ee787;
    font-weight: 500;
    margin-right: 5px;
}

.shell-cursor,
.shell-cursor-2 {
    color: #7ee787;
    animation: blink-caret 1s infinite;
    font-weight: bold;
}

.shell-output {
    margin-left: 30px;
    color: #79c0ff;
}

.shell-command-line {
    background: rgba(56, 139, 253, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    border-left: 3px solid #58a6ff;
}

.typing-command {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    animation: typing-command 3s steps(40, end) 3.5s forwards;
}

.typing-command-2 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    animation: typing-command-2 3s steps(40, end) 7s forwards;
}

@keyframes typing-command {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes typing-command-2 {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23198754" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

/* Animated Background Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(25, 135, 84, 0.3);
    border-radius: 50%;
    animation: particle-float 15s infinite linear;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 90%;
    animation-delay: 8s;
    animation-duration: 19s;
}

.particle-6 {
    width: 6px;
    height: 6px;
    top: 10%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 24s;
}

.particle-7 {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 30%;
    animation-delay: 12s;
    animation-duration: 17s;
}

.particle-8 {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 60%;
    animation-delay: 14s;
    animation-duration: 21s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(25, 135, 84, 0.4);
    font-size: 2rem;
    animation: floating-icon-float 8s ease-in-out infinite;
}

.floating-icon-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icon-3 {
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.floating-icon-4 {
    top: 70%;
    right: 15%;
    animation-delay: 3s;
}

.floating-icon-5 {
    top: 85%;
    left: 25%;
    animation-delay: 4s;
}

.floating-icon-6 {
    top: 45%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes floating-icon-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.8;
    }
}

/* Hero Content Animations */
.hero-content {
    position: relative;
    z-index: 3;
}

.animated-logo {
    animation: logo-bounce 2s ease-in-out infinite;
}

@keyframes logo-bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid #198754;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #198754;
    }
}

.fade-in-text {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.fade-in-text-delayed {
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.pulse-text {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

.animated-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.animated-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.animated-btn:hover::before {
    left: 100%;
}

.animated-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
}

.animated-btn-delayed {
    animation-delay: 0.5s;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    z-index: 3;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.floating-icon-main {
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(25, 135, 84, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(25, 135, 84, 0.8));
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    color: #198754;
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Tech Cards */
.tech-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.tech-card i {
    transition: transform 0.3s ease;
}

.tech-card:hover i {
    transform: scale(1.2);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-skills .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    color: white;
}

/* Custom select styling */
.contact-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.contact-form .form-select option {
    background: #2c3e50;
    color: white;
    padding: 0.5rem;
}

.contact-form .form-select option:hover {
    background: var(--success-color);
}

/* Multiple select enhancement */
.select-wrapper {
    position: relative;
}

.contact-form .custom-multiselect {
    background-image: none;
    min-height: 200px;
    max-height: 200px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.contact-form .custom-multiselect::-webkit-scrollbar {
    display: none;
}

.contact-form .custom-multiselect:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    color: white;
}

.contact-form .custom-multiselect option {
    padding: 0.75rem;
    margin: 0.25rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #2c3e50;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .custom-multiselect option:checked {
    background: var(--success-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

.contact-form .custom-multiselect option:hover {
    background: rgba(25, 135, 84, 0.3);
    transform: translateX(5px);
}

.contact-form .form-text {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%);
    border: none;
}

.btn-outline-light:hover {
    background: var(--success-color);
    border-color: var(--success-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Brand Typography */
.brand-ecoders-hero {
    background: linear-gradient(135deg, #198754 0%, #20c997 50%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(25, 135, 84, 0.3);
}

.brand-techrental-hero {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.brand-ecoders-footer {
    background: linear-gradient(135deg, #198754 0%, #20c997 50%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-techrental-footer {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-left: 0.5rem;
}

.brand-ecoders-section {
    background: linear-gradient(135deg, #198754 0%, #20c997 50%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-techrental-section {
    color: var(--dark-color);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* About Section */
.about-content {
    padding: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.about-image {
    animation: float 6s ease-in-out infinite;
}

/* Project Manager Section */
.pm-section {
    text-align: center;
    padding: 3rem 0;
}

.pm-avatar {
    animation: float 6s ease-in-out infinite;
}

.pm-feature {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.pm-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pm-feature i {
    transition: transform 0.3s ease;
}

.pm-feature:hover i {
    transform: scale(1.1);
}

.pm-avatar {
    animation: float 6s ease-in-out infinite;
}

.pm-feature {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.pm-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pm-feature i {
    transition: transform 0.3s ease;
}

.pm-feature:hover i {
    transform: scale(1.1);
}

/* Skill Cards */
.skill-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.skill-card i {
    transition: transform 0.3s ease;
}

.skill-card:hover i {
    transform: scale(1.2);
}

/* Team Approach */
.team-approach {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(32, 201, 151, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(25, 135, 84, 0.1);
}

.approach-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.approach-item i {
    transition: transform 0.3s ease;
}

.approach-item:hover i {
    transform: scale(1.1);
}

/* Service Explanation */
.service-explanation {
    padding: 2rem 0;
}

.explanation-item {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.explanation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.explanation-item i {
    transition: transform 0.3s ease;
}

.explanation-item:hover i {
    transform: scale(1.1);
}

/* Typography */
.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Additional Hero Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation classes for different elements */
.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

.zoom-in {
    animation: zoomIn 1s ease-out;
}

.rotate-in {
    animation: rotateIn 1s ease-out;
}

/* Staggered animations for hero content */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1.0s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card,
    .team-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Mobile hero animations */
    .floating-icons {
        display: none;
    }
    
    .particles-container {
        opacity: 0.5;
    }
    
    .typing-text {
        animation: none;
        width: 100% !important;
        border-right: none;
    }
    
    .hero-glow {
        width: 200px;
        height: 200px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Shell responsive adjustments */
    .shell-container {
        margin: 1rem 0;
        max-width: 95%;
    }
    
    .shell-body {
        padding: 15px;
        font-size: 14px;
        min-height: 300px;
    }
    
    .shell-line {
        margin-bottom: 6px;
    }
    
    .shell-command-line {
        padding: 3px 8px;
    }
    
                    .techrental-title {
                    font-size: 2.5rem;
                    letter-spacing: 1px;
                }
                
                .section-techrental-title,
                .section-techrental-title-white {
                    font-size: 2rem;
                    letter-spacing: 1px;
                }
                
                .footer-techrental-title {
                    font-size: 1.5rem;
                    letter-spacing: 1px;
                }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .floating-icon-main {
        font-size: 5rem !important;
    }
    
    .hero-glow {
        width: 150px;
        height: 150px;
    }
    
    .particle {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--success-color);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #20c997;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success message */
.success-message {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Error message */
.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Info message */
.info-message {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid var(--info-color);
    color: var(--info-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.selected-highlight {
    background: var(--success-color) !important;
    color: white !important;
    font-weight: 600 !important;
} 

/* Team Section */
.team-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Process Steps */
.process-step {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.process-step:hover::before {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.process-icon {
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
}

.process-step h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for process steps */
@media (max-width: 768px) {
    .process-step {
        margin-bottom: 1rem;
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
} 

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-contact-btn .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-contact-btn .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Logo Styles */
.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.section-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-right: 10px;
}

/* Brand Styles */
.brand-techrental {
    font-weight: 600;
    background: linear-gradient(45deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* TechRental Title Styles */
.hero-service-title {
    margin: 2rem 0;
}

.techrental-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(25, 135, 84, 0.8);
    margin: 0;
    letter-spacing: 2px;
    animation: techrental-glow 3s ease-in-out infinite alternate;
    font-family: 'Courier New', monospace;
    background: linear-gradient(45deg, #198754, #20c997, #198754);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: techrental-glow 3s ease-in-out infinite alternate, gradient-shift 4s ease-in-out infinite;
}

@keyframes techrental-glow {
    0% {
        text-shadow: 0 0 20px rgba(25, 135, 84, 0.6);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 40px rgba(25, 135, 84, 1), 0 0 60px rgba(25, 135, 84, 0.8);
        transform: scale(1.02);
    }
}

            @keyframes gradient-shift {
                0%, 100% {
                    background-position: 0% 50%;
                }
                50% {
                    background-position: 100% 50%;
                }
            }

            /* Section TechRental Title Styles */
            .section-techrental-title {
                font-size: 2.5rem;
                font-weight: 700;
                color: #198754;
                text-shadow: 0 0 20px rgba(25, 135, 84, 0.3);
                margin: 0;
                letter-spacing: 1px;
                font-family: 'Courier New', monospace;
                background: linear-gradient(45deg, #198754, #20c997, #198754);
                background-size: 200% 200%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                animation: techrental-glow 3s ease-in-out infinite alternate, gradient-shift 4s ease-in-out infinite;
            }

            .section-techrental-title-white {
                font-size: 2.5rem;
                font-weight: 700;
                color: #ffffff;
                text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
                margin: 0;
                letter-spacing: 1px;
                font-family: 'Courier New', monospace;
                background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff);
                background-size: 200% 200%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                animation: techrental-glow-white 3s ease-in-out infinite alternate, gradient-shift 4s ease-in-out infinite;
            }

            .footer-techrental-title {
                font-size: 1.8rem;
                font-weight: 700;
                color: #ffffff;
                text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
                margin: 0;
                letter-spacing: 1px;
                font-family: 'Courier New', monospace;
                background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff);
                background-size: 200% 200%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                animation: techrental-glow-white 3s ease-in-out infinite alternate, gradient-shift 4s ease-in-out infinite;
            }

            @keyframes techrental-glow-white {
                0% {
                    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
                    transform: scale(1);
                }
                100% {
                    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
                    transform: scale(1.02);
                }
            }

/* Componente di Selezione Multipla Personalizzato */
.custom-multiselect-container {
    position: relative;
    width: 100%;
}

.custom-multiselect-display {
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    min-height: 38px;
    display: flex;
    align-items: center;
    transition: all 0.15s ease-in-out;
}

.custom-multiselect-display:hover {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-multiselect-display:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-multiselect-display .placeholder {
    color: #6c757d;
    font-style: italic;
}

.custom-multiselect-display .selected-count {
    color: #198754;
    font-weight: bold;
}

.custom-multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.custom-multiselect-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
}

.custom-multiselect-option:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.custom-multiselect-option.selected {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: bold;
}

.custom-multiselect-option.selected::before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 5px;
}

.custom-multiselect-option.selected:hover {
    background-color: #bbdefb;
    color: #1565c0;
}

/* Indicatore per opzioni selezionate */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "Clicca per aprire il menu di selezione";
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

/* Animazioni */
.custom-multiselect-option {
    transition: all 0.2s ease;
}

.custom-multiselect-dropdown {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stili per il contatore delle selezioni */
.selection-counter {
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 0.75rem;
    color: #198754;
    font-weight: bold;
} 