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

:root {
    --primary-yellow: #FFD700;
    --primary-black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    --text-gray: #666;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.header.visible {
    transform: translateY(0);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0;
}

.logo .piva {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 300;
    text-align: center;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-yellow);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop') center/cover;
}

.hero-video-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Hero Slider (sotto la hero) */
.hero-slider {
    background-color: var(--light-gray);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-slider .scroll-container {
    overflow: hidden;
}

.hero-slider .scroll-container::before {
    background: linear-gradient(to right, var(--light-gray) 0%, transparent 100%);
}

.hero-slider .scroll-container::after {
    background: linear-gradient(to left, var(--light-gray) 0%, transparent 100%);
}

.hero-slider .scroll-track {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    overflow: visible;
    animation: scrollLeft 80s linear infinite;
    width: max-content;
    /* Fix per iOS */
    -webkit-animation: scrollLeft 80s linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.hero-slider .scroll-track.reverse {
    animation: scrollRight 80s linear infinite;
    /* Fix per iOS */
    -webkit-animation: scrollRight 80s linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.hero-slider .scroll-track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@-webkit-keyframes scrollLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@-webkit-keyframes scrollRight {
    0% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.hero-slider .immagine-card {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
}

/* Chi Siamo Section */
.chi-siamo {
    padding: 5rem 0;
    background-color: var(--white);
}

.chi-siamo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.chi-siamo-text {
    grid-column: 1;
    grid-row: 1;
}

.chi-siamo-image {
    grid-column: 2;
    grid-row: 1;
}

.valori {
    grid-column: 1 / -1;
    grid-row: 2;
}

.chi-siamo-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
}

.chi-siamo-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.valori {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.valore-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valore-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.valore-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.valore-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.valore-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.chi-siamo-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.chi-siamo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Servizi Section */
.servizi {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-black);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 1rem auto 0;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servizio-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servizio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servizio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.servizio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.servizio-card:hover .servizio-image img {
    transform: scale(1.1);
}

/* Slider per Manutenzioni */
.servizio-slider {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-container .slide.active {
    opacity: 1;
}

.servizio-card:hover .servizio-slider .slide {
    transform: none;
}

.servizio-content {
    padding: 1.5rem;
}

.servizio-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.servizio-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-card {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    width: 100%;
    margin-top: 0.5rem;
}

.btn-card:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: var(--text-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #555;
}

/* Lavori Section */
.lavori {
    padding: 5rem 0;
    background-color: var(--white);
    overflow: hidden;
}


/* Horizontal Scroll Container */
.scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scroll-container::before,
.scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.scroll-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.scroll-track::-webkit-scrollbar {
    display: none;
}

.scroll-track:active {
    cursor: grabbing;
}

/* Video Grid Centered */
.video-grid-centered {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.video-card {
    width: 220px;
    background-color: var(--primary-black);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 133%; /* 3:4 aspect ratio (formato telefono più corto) */
    background-color: var(--primary-black);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--primary-black);
}

.video-wrapper video::-webkit-media-controls {
    display: none !important;
}

.video-wrapper video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-black);
    transition: transform 0.3s ease;
}

.video-play-overlay:hover .play-icon {
    transform: scale(1.1);
}

/* Immagini Grid */
.immagine-card {
    flex: 0 0 auto;
    width: 300px;
    height: 220px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.immagine-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.immagine-card:hover img {
    transform: scale(1.1);
}

.immagine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.immagine-card:hover .immagine-overlay {
    opacity: 1;
}

.immagine-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.immagine-card:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 3001;
}

.lightbox-close:hover {
    color: var(--primary-yellow);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s ease;
    user-select: none;
    z-index: 3001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-yellow);
}

/* Responsive Lavori */
@media (max-width: 768px) {
    .video-grid-centered {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        gap: 0 !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        margin-top: 0 !important;
    }

    .video-card {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    .video-wrapper {
        padding-top: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
    }

    .immagine-card {
        width: 220px;
        height: 160px;
    }

    .hero-slider .immagine-card {
        flex: 0 0 auto;
        width: 160px;
        height: 120px;
    }

    .scroll-track {
        gap: 1rem;
        padding: 1rem 15px;
    }

    .scroll-container::before,
    .scroll-container::after {
        width: 30px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .video-grid-centered {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        gap: 0 !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        margin-top: 0 !important;
    }

    .video-card {
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    .video-wrapper {
        padding-top: 0 !important;
        height: 100vh !important;
        width: 100vw !important;
    }

    .immagine-card {
        width: 180px;
        height: 130px;
    }

    .hero-slider .immagine-card {
        flex: 0 0 auto;
        width: 130px;
        height: 95px;
    }
    
    .hero-slider .scroll-track {
        gap: 0.75rem;
    }

    .play-icon {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }

    /* Stile TikTok per mobile */
    .video-card:hover {
        transform: none;
        box-shadow: none;
    }

    .video-play-overlay {
        background: rgba(0, 0, 0, 0.3);
    }


    /* Sezione lavori mobile fullscreen */
    #lavori {
        padding: 0;
    }

    #lavori .container {
        max-width: 100%;
        padding: 0;
    }

    #lavori .section-title {
        display: none;
    
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Contatti Section */
.contatti {
    padding: 5rem 0;
    background-color: var(--primary-black);
    color: var(--white);
}

.contatti .section-title {
    color: var(--white);
}

.contatti .section-title::after {
    background-color: var(--primary-yellow);
}

.contatti-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contatti-info {
    margin-bottom: 2rem;
}

.contatto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--dark-gray);
    border-radius: 10px;
}

.contatto-icon {
    font-size: 2.5rem;
}

.contatto-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

.contatto-details a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contatto-details a:hover {
    color: var(--primary-yellow);
}

.contatti-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contatti-actions .btn {
    width: 100%;
    max-width: 400px;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        display: none;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .chi-siamo-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
    }
    
    .chi-siamo-text {
        grid-column: 1;
        grid-row: 1;
    }
    
    .chi-siamo-image {
        grid-column: 1;
        grid-row: 2;
    }
    
    .valori {
        grid-column: 1;
        grid-row: 3;
    }

    .valori {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contatto-item {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .servizio-content h3 {
        font-size: 1.25rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.close {
    color: var(--text-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-black);
}

.modal-content h2 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    padding-right: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.form-actions .btn {
    flex: 1;
    max-width: 200px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        max-width: 100%;
    }
}

