:root {
    --primary-color: #1abc9c;
    --text-white: #ffffff;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Lato', sans-serif;
}

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

html {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-white);
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

main {
    flex-shrink: 0;
}

/* Typography */
h1,
h2 {
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--primary-color);
    padding: 0.04em 15px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.4;
    margin: 0;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.2rem;
}

h1+.title-spacer {
    height: 100px;
    background: transparent;
}

h2+.title-spacer {
    height: 70px;
    background: transparent;
}


p {
    font-size: 1.6rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 0% 1.2% 0.25% 1.2%;
}

.highlight {
    color: var(--text-white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 1rem 5%;
    padding-top: 22px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 220px;
    width: 300px;
    margin-left: -5.8%;
    transition: all 0.4s ease;
}

.logo {
    position: absolute;
    left: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    cursor: pointer;
}

.logo-large {
    height: 220px;
    opacity: 1;
    z-index: 2;
}

.logo-small {
    height: 50px;
    opacity: 0;
    transform: scale(3);
    z-index: 1;
}

header.scrolled .logo-container {
    height: 50px;
    margin-left: 0;
}

header.scrolled .logo-large {
    opacity: 0;
    transform: scale(0.22);
    pointer-events: none;
}

header.scrolled .logo-small {
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
    z-index: 3;
    margin-top: -6px;
}

nav {
    display: flex;
    gap: 1rem;
    margin-right: -40px;
}

nav a {
    color: #5f5f5f;
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    margin-top: -0.5rem;
}

nav a.active,
nav a:hover {
    color: #fff !important;
    background-color: var(--primary-color);
}

/* Only the item hovered highlights when mouse is over the nav container */
nav:hover a.active:not(:hover) {
    color: #5f5f5f !important;
    background-color: transparent;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    color: #5f5f5f;
    z-index: 1100;
    scale: 145% 90%;
    padding-right: 15px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-section.parallax-section {
    min-height: 80vh;
    padding-top: 185px;
    padding-bottom: 95px;
}


/* sticky-section and sticky-content are no longer used */


.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: grayscale(100%);
    opacity: 0.3;
    z-index: -2;
}

@supports (-webkit-touch-callout: none) {

    /* iOS: background-attachment:fixed is broken — use scroll */
    .parallax-section::before {
        background-attachment: scroll;
    }
}

.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.content {
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    text-align: left;
}

/* Cards Section */
.cards-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.cards-container h2 {
    padding-left: 5%;
    margin-bottom: 0;
}

/* Desktop: native horizontal scroll row */
@media (min-width: 769px) {
    .cards-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 2rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 2rem 5% 2.5rem 5%;
        margin-top: 1.5rem;
        /* Thin on-brand scrollbar */
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.08);
    }

    .cards-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .cards-wrapper::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.08);
    }

    .cards-wrapper::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
}

/* Mobile: vertical column */
@media (max-width: 768px) {
    .cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
        margin-top: 1rem;
    }
}

.card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
}

.card-title {
    font-family: var(--font-title);
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
}

.card-content {
    font-family: Lato, sans-serif;
    font-weight: 500;
    background: none;
    position: relative;
    bottom: -3vw;
    color: var(--primary-color);
}

.card-icon {
    font-size: 4rem;
    color: var(--primary-color);
    left: 40%;
    position: relative;
    font-size: 12rem;
    top: 20%;
}

/* Desktop card: wide tile, slightly dimmed until focused */
@media (min-width: 769px) {
    .card {
        min-width: 65vw;
        max-width: 65vw;
        height: 65vh;
        flex-shrink: 0;
        opacity: 0.45;
    }

    .card:hover,
    .card.active {
        opacity: 1;
        box-shadow: 0 0 50px rgba(142, 142, 142, 0.4);
    }
}

/* Mobile card: full width, always fully visible */
@media (max-width: 768px) {
    .card {
        width: 100%;
        min-width: 0;
        height: fit-content;
        min-height: 180px;
        opacity: 1;
    }

    .card-content {
        font-size: 1.2rem;
    }

    .card-icon {
        left: 34%;
        font-size: 7rem;
        top: 4%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 2rem 5%;
    display: flex;
    align-items: center;
    position: relative;
    border-top: none;
    flex-grow: 1;
}

my-footer {
    display: flex;
    flex-grow: 1;
}

.social-icons {
    display: flex;
    gap: 2.2rem;
    position: absolute;
    left: 5%;
}

.social-icons a {
    color: var(--text-white);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.4);
}

.footer-text {
    flex-grow: 1;
    text-align: center;
    width: 80%;
}

.footer-text p {
    margin: 0;
    font-size: 1.2rem;
    width: auto;
    background: transparent;
}

.link-light {
    color: #ffffff;
    text-decoration: underline;
    display: inline-block;
}

.link-light:hover {
    text-decoration: none;
}

footer a:hover {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
}




/* Additions for Hero, Separator, Highlights and Interactive Borders */
.hero-section {
    padding-top: 250px;
    padding-bottom: 90px;
    min-height: 100vh;
    box-sizing: border-box;
}

.hero-section .content {
    max-width: 1080px;
}

.hero-section h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.35;
    margin-bottom: 0;
}

.hero-section .title-spacer {
    height: 35px;
}

.hero-subtitles {
    max-width: 950px;
}

.hero-lead-container {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-subtitles p {
    margin: 0;
    line-height: 1.5;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0.15em 12px;
}

.hero-subtitles .hero-lead {
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 500;
    margin-top: 20px;
}

/* Hero Tooltip - Lightbulb */
.hero-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    color: var(--primary-color);
    border: 0px solid var(--primary-color);
    border-radius: 20%;
    cursor: pointer;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    outline: none;
    animation: bulb-pulse 2.5s infinite;
    margin-bottom: -20px;
}

.hero-tooltip-wrapper:hover,
.hero-tooltip-wrapper:focus,
.hero-tooltip-wrapper.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    animation: none;
}

.hero-bulb-icon {
    transition: transform 0.25s ease;
}

.hero-tooltip-wrapper:hover .hero-bulb-icon,
.hero-tooltip-wrapper:focus .hero-bulb-icon,
.hero-tooltip-wrapper.active .hero-bulb-icon {
    transform: rotate(12deg) scale(1.1);
    color: #ffffff;
}

@keyframes bulb-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(26, 188, 156, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 188, 156, 0);
    }
}

.hero-tooltip-content {
    position: absolute;
    top: calc(100% + 14px);
    bottom: auto;
    right: -20px;
    left: auto;
    transform: translateY(-8px);
    width: min(440px, 85vw);
    background: #ffffff;
    color: #000000;
    padding: 1.1rem 1.35rem;
    font-family: var(--font-text);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
    z-index: 200;
}

.hero-tooltip-content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    top: auto;
    right: 28px;
    left: auto;
    color: #000000;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.hero-tooltip-wrapper:hover .hero-tooltip-content,
.hero-tooltip-wrapper:focus .hero-tooltip-content,
.hero-tooltip-wrapper:focus-within .hero-tooltip-content,
.hero-tooltip-wrapper.active .hero-tooltip-content {
    opacity: 1;
    visibility: visible;
    color: #000000;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-cta-container {
    margin-top: 2.2rem;
}

.btn-cta {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-cta:hover,
.btn-cta:hover {
    background-color: #16a085;
    color: var(--text-white) !important;
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.4);
    transform: translateY(-3px);
    padding: 0.9rem 2.2rem !important;
    margin-top: 0 !important;
}

.separator-bar {
    height: 100px;
    background-color: #fff;
    width: 100%;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.logowall {
    height: 215px;
    vertical-align: middle;
}

.logowall-title {
    color: #5f5f5f;
    background: none;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 700;
    margin-top: 20px;
}

.numwall {
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    vertical-align: middle;
    color: var(--primary-color);
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    padding-bottom: 30px;
    align-content: center;
}

.numwall-title {
    background: none;
    text-align: left;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 700;
    margin-top: 20px;
}

.numwall-title>a {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    animation: bulb-pulse 2.5s infinite;
}

.numwall-number {
    background: none;
    font-size: 3rem;
    font-weight: 800;
}

.numwall-item {
    height: 200px;
    width: 300px;
    color: var(--primary-color);
    padding: 20px;
    margin: 20px;
    margin-top: 50px;
    flex: 1 1 200px;
    text-align: center;
}

.logo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #ffffff;
    padding: 2.7rem;
    padding-top: 4.5rem;
}

/* Maschere sfumate ai lati per un ingresso/uscita morbida dei loghi */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%
        /* Regola la larghezza della sfumatura */
    ;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    /* Impedisce che la sfumatura blocchi gli hover */
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    /* L'animazione dura 30 secondi, è lineare (no scatti) e infinita */
    animation: scroll-step 15s infinite;
}

/* Opzionale: metti in pausa lo scorrimento quando l'utente passa sopra col mouse */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-list {
    display: flex;
    align-items: center;
    /* Questo gap gestisce la distanza tra i loghi. Il padding-right serve per spaziare
               l'ultima immagine della lista con la prima della lista successiva (clonata) */
    gap: 5rem;
    padding-right: 5rem;
}

@keyframes scroll-step {

    /* Pausa sul primo set */
    0%,
    20% {
        transform: translateX(0);
    }

    /* Movimento verso il secondo set (prossimi loghi) */
    25%,
    45% {
        /* Il valore esatto dipenderà dalla larghezza dei loghi. 
                   Uso un valore approssimativo (es. -25%) che sposta la visuale.
                   Per renderlo perfetto servirebbe JavaScript per calcolare la larghezza di 3 loghi,
                   ma possiamo approssimare dividendo l'intera larghezza (50%) in step. */
        transform: translateX(-16.66%);
    }

    /* Movimento verso il terzo set */
    50%,
    70% {
        transform: translateX(-33.33%);
    }

    /* Movimento verso la fine del primo blocco (inizio del clone) */
    75%,
    95% {
        transform: translateX(-50%);
    }

    /* Ritorno rapido e invisibile (se fatto bene coi cloni) all'inizio */
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    /* Transizione morbida di mezzo secondo per l'effetto di ripristino colore */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.logo-item:hover {
    /* Ripristina il colore e l'opacità e ingrandisce leggermente */
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.08);
}


/* Responsive */
@media (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 190px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    nav {
        position: fixed;
        top: 0;
        bottom: 0;
        right: -100%;
        width: 70%;
        overflow-y: auto;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 260px;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        z-index: 1100;
        /* Prevent nav panel itself from causing overflow */
        max-width: 100vw;
    }

    nav.active {
        right: 0;
    }

    .hamburger {
        display: block;
        /* Always keep within viewport */
        position: relative;
        z-index: 1100;
        flex-shrink: 0;
    }

    nav a {
        font-size: 1.8rem;
        margin-right: 2rem;
    }

    .social-icons {
        position: static;
        justify-content: flex-start;
    }

    /* Ensure header doesn't let hamburger escape viewport */
    header {
        flex-wrap: nowrap;
        overflow: visible;
    }
}

@media (max-width: 1400px) {
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }

    .social-icons {
        position: static;
        justify-content: flex-start;
    }
}

/* Tablet / large phone */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 160px;
        padding-bottom: 50px;
    }

    .hero-section h1 {
        font-size: 2.3rem;
    }

    .btn-cta {
        font-size: 1.1rem;
        padding: 0.8rem 1.8rem;
    }

    p {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .content {
        padding: 1.5rem;
    }

    .card {
        min-width: 80vw;
        height: fit-content;
        font-size: 2rem;
    }

    #contact-section.parallax-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }
}

/* Small phones — iPhone SE (375px) and similar */
@media (max-width: 500px) {
    .numwall {
        flex-direction: column;
    }

    .hero-section {
        padding-top: 135px;
        padding-bottom: 40px;
    }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-tooltip-content {
        left: 0;
        transform: translateY(8px);
        width: min(340px, calc(100vw - 32px));
    }

    .hero-tooltip-content::after {
        left: 20px;
        transform: none;
    }

    .hero-tooltip-wrapper:hover .hero-tooltip-content,
    .hero-tooltip-wrapper:focus .hero-tooltip-content,
    .hero-tooltip-wrapper.active .hero-tooltip-content {
        transform: translateY(0);
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1.2rem;
    }

    .content {
        padding: 1rem;
    }

    .card {
        min-width: 88vw;
        height: fit-content;
        font-size: 1.6rem;
        padding: 1.5rem;
    }

    .cards-wrapper {
        gap: 1rem;
        padding: 1.5rem 5% 1.5rem 5%;
    }

    #contact-section.parallax-section {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .form-control {
        font-size: 1.1rem;
    }

    .btn-submit {
        font-size: 1.1rem;
        width: 100%;
    }
}

/* iPhone SE and very narrow screens (≤ 390px) */
@media (max-width: 390px) {
    .logo-container {
        width: 200px;
        height: 145px;
        flex-shrink: 0;
    }

    .logo-large {
        height: 145px;
    }

    .hamburger {
        padding-right: 0;
        scale: 110% 80%;
        flex-shrink: 0;
    }

    /* Tighten header padding so both logo and hamburger fit */
    header {
        padding-left: 2%;
        padding-right: 2%;
    }

    nav {
        width: 85%;
    }
}

/* Absolute minimum — older/tiny devices */
@media (max-width: 320px) {
    .logo-container {
        width: 160px;
        height: 116px;
        flex-shrink: 0;
    }

    .logo-large {
        height: 116px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}



/* Squared defaults, rounded on hover for clickables */
a,
button,
.btn-highlight {
    border-radius: 0;
}

a:hover,
button:hover,
.btn-highlight:hover {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.5rem 1rem;
    margin-top: -0.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--text-white);
    width: fit-content;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    font-family: var(--font-text);
    font-size: 1.5rem;
    padding: 1rem;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-control:focus {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

.form-control.invalid {
    border-color: #e74c3c80;
    box-shadow: 0 0 10px #e74c3c80;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    margin-top: 1rem;
}

.contact-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-title {
    flex: 1;
}

.contact-form-container {
    flex: 1.5;
    margin-top: -30px;
}

@media (max-width: 1000px) {
    .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

.form-message {
    margin-top: 2rem;
    padding: 1rem;
    font-family: var(--font-text);
    font-size: 1.2rem;
    font-weight: 700;
    display: none;
}

.form-message p {
    margin: 0;
    width: fit-content;
    padding: 0 10px;
}

.form-message.success p {
    background-color: var(--primary-color);
    color: #fff;
}

.form-message.error p {
    background-color: #e74c3c;
    color: #fff;
}