.section5{
    width: 100vw;
    height: max-content;
    padding: 0 0 5vh 0;

    background-color: #1b1b1b;
}

.map-container-nexadei {
    width: 100%;
    height: 50vh;
  }

/* Simple style to hide sections until needed */
.hidden {
    display: none;
}

form div {
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.3em;
}

.grid-section5-container{
    width: 100%;
    height: 100%;
    display: grid;

    grid-template-columns: 50% 50%;
    grid-template-rows: 1;
}
.grid-left-section5{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
}

.form-contact-container{
    grid-column: 1;
    grid-row: 1;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
}

.form-title-container {
    width: 100%;
    height: max-content;
    padding: 0;
    margin: 0;
}

.form-title{
    font-family: 'Sofia Pro';
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin: 0;
    letter-spacing: -0.01em;
}


#contactForm{
    width: 100%;
    max-width: 460px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 1rem;
    padding: clamp(1.25rem, 4vw, 2rem);

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
}

#contactForm input,
#contactForm select,
#contactForm textarea{
    width: 100%;
    box-sizing: border-box;
    height: auto;
    margin: 0;

    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;

    color: #fff;
    font-family: 'Sofia Pro';
    font-weight: 300;
    font-size: 1rem;

    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        background-color 0.15s ease-in-out;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder{
    color: rgba(255, 255, 255, 0.4);
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus{
    outline: none;
    border-color: #ff820d;
    background-color: rgba(0, 0, 0, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 130, 13, 0.2);
}

#contactForm select{
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff820d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

#contactForm select option{
    color: #1b1b1b;
}

#contactForm label{
    display: block;
    text-align: left;
    margin: 0 0 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Sofia Pro';
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#contactForm textarea{
    min-height: 7rem;
    resize: vertical;
}

#visitSection,
#otherSection{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

/* Global label + textarea defaults kept for other sections/forms. */
label{
    font-family: 'Sofia Pro';
    font-size: 2.5vh;
    font-weight: 100;
    text-align: center;
    color: #fff;
}

textarea{
    width: 30vw;
    height:15vh;
    border-radius: 5vh;
    padding: 2vh;
    resize: vertical;
}

.btn-submit{
    width: 100%;
    margin-top: 0.25rem;

    font-family: 'Sofia Pro';
    font-weight: 600;
    font-size: 1rem;

    background: linear-gradient(180deg, #ff9a3d 0%, #f27a00 100%);
    border: none;
    color: #000;

    padding: 0.9rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;

    box-shadow: 0 12px 28px -10px rgba(255, 130, 13, 0.55);
    transition: filter 0.15s ease-in-out, transform 0.1s ease-in-out;
}

.btn-submit:hover{
    filter: brightness(1.06);
    cursor: pointer;
}

.btn-submit:active{
    transform: scale(0.99);
}

.btn-submit:disabled{
    opacity: 0.6;
    cursor: default;
    filter: none;
    transform: none;
}

.grid-right-section5{
    width: 90%;

    grid-column: 2;
    grid-row: 1;

    justify-content: center;
}

.container-schedule {
    width: 100%;
    height: max-content;

    display: flex;
    flex-direction: column;

    justify-content: start;

    gap: 2vh;

    padding-top: 1vh;
  }

  .title-schedule {
    text-align: left;
    color: #ffffff;
    font-family: 'Sofia Pro';
    font-size: 5vh;
  }
  .schedule-item {
    margin-bottom: 2vh;
    padding-bottom: 1vh;
    border-bottom: 0.1vh solid #e5e5e5;
  }
  .schedule-item-h2 {
    margin: 0 0 1vh;
    color: #ffffff;
    font-family: 'Sofia Pro';
    font-size: 3vh;
  }
  .schedule-item-p {
    margin: 0;
    font-family: 'Sofia Pro';
    font-size: 2vh;
    color: #ff820d;
  }

  .container-contact {
    width: 100%;
    height: max-content;

    display: flex;
    flex-direction: column;
    gap: 2vh;
  }

  .title-contact {
    text-align: right;
    color: #ffffff;
    font-family: 'Sofia Pro';
    font-size: 5vh;
  }
  .contact-item {
    margin-bottom: 2vh;
    padding-bottom: 1vh;
    border-bottom: 0.1vh solid #e5e5e5;
  
}
  .contact-item-h2 {
    text-align: right;
    margin: 0 0 1vh;
    color: #ffffff;
    font-family: 'Sofia Pro';
    font-size: 2vh;
  }
  .contact-item-p {
    text-align: right;
  }
    .contact-item-p a{
    font-family: 'Sofia Pro';
    font-size: 2.5vh;
    color: #ff820d;
    text-decoration: none;
  }


@media screen and (max-width: 1100px){
  .grid-section5-container{
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
}
.grid-left-section5{
    width: 100%;
    height: 100%;
    display: block;
}


/* Contact fields are fluid (100% within the max-width form card), so no
   viewport-width overrides are needed on small screens. */

.grid-right-section5{
  width: 100%;

  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0;
  margin: 0;
}

.container-schedule {
  width: 80%;
  height: max-content;

  display: flex;
  flex-direction: column;

  gap: 2vh;

  padding-top: 1vh;
}

.title-schedule {
  text-align: center;
}

.schedule-item-h2 {
  text-align: center;
  margin: 1vh 0 1vh 0;
}

.schedule-item-p{
  text-align: center;
  margin: 1vh 0 2vh 0;
}

.container-contact {
  width: 80%;
}

.title-contact {
  text-align: center;
}

.contact-item-h2 {
  text-align: center;
  margin: 1vh 0 1vh 0;
}

.contact-item-p{
  text-align: center;
  margin: 1vh 0 2vh 0;
}

}