.contact-page {
    --bodyBg: #ffc800;
    --formBg: #fff; /* Adjusted for contrast */
    --textColor: #fff;
    --primaryColor: #0c7c00;
    --hoverPrimaryColor: #0b6a00; /* Darker shade for hover */
    --paraColor: #5e6c79;
    --paraColorDark: #74828f;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Added for consistent sizing */
  }
  
  body {
    color: var(--textColor);
    background: url('images/Red and Black Bold Music Party Poster (1280 x 720 px) (16).png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1; /* Ensures it sits behind the content */
}
  

.box2 {
  height: 150px;
  background-color: rgb(0, 32, 10);
  box-shadow: 0 8px 6px -6px black;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  text-align: left;
  padding: 20px 0; /* Adjust padding to ensure content centers vertically */
}

.contactForm {
  display: grid;
  gap: 1.5em; /* Adjusted for better compactness */
}

  .sectionHeader {
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.5rem; /* Increased for visibility */
    color: var(--primaryColor);
    margin-bottom: 1em;
  }
  
  .heading, .sub-heading {
    margin-bottom: .5em;
    font-weight: bold;
    color: #000000;
  }
  
  .heading {
    font-size: 2.5em;
  }
  
  .sub-heading {
    text-align: left;
  }
  
  .contactForm {
    display: grid;
    gap: 2em; /* Reduced spacing for better compactness */
  }
  
  form {
    width: 100%;
    margin-top: 1em; /* Reduced margin */
  }
  
  .para {
    color: var(--paraColor);
    font-size: 1.1rem;
    line-height: 1.5em;
    margin-bottom: 1em;
  }
  
  .input {
    width: 100%; /* Use full width */
    max-width: 600px; /* Limit max width */
    border: 2px solid var(--primaryColor); /* Border color */
    font-size: 1rem;
    padding: 1em;
    outline: none;
    background-color: var(--formBg);
    color: var(--paraColorDark);
    border-radius: 10px;
    margin-bottom: 1em;
    transition: border 0.3s, box-shadow 0.3s; /* Transition effects */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  }
  
  .input:focus {
    border: 1px solid var(--primaryColor);
    box-shadow: 0 0 10px rgba(12, 124, 0, 0.5);
  }
  
  
  .submit {
    background-color: var(--primaryColor);
    border: none;
    color: var(--textColor);
    font-weight: bold;
    cursor: pointer;
    padding: 1em;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
  }

  .submit:hover {
    background-color: var(--hoverPrimaryColor); /* Change on hover */
    transform: scale(1.05); /* Slight scale effect */
  }
  
  .map-container {
    position: relative;
    width: 100%;
    height: 490px; /* Adjusted height */
  }
  
  .mapBg {
    position: absolute;
    background-color: var(--primaryColor);
    top: 0;
    right: 0;
    width: 200px;
    height: 90%;
    border-radius: 20px;
  }
  
  .map {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
  }
  
  .map iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none; /* No border for the iframe */
  }
  
  .contactMethod {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
    text-align: left;
    gap: 2em; /* Space between items */
  }
  
  .method {
    display: flex;
    align-items: center; /* Center align icons with text */
    margin-bottom: 1.5em; /* Equal spacing between each method */
  }
  
  .contactIcon {
    font-size: 2rem;
    color: var(--primaryColor);
    margin-right: 1em; /* Space between icon and text */
    min-width: 70px; /* Ensure all icons have the same width */
  }
  
  .text {
    display: flex;
    flex-direction: column; /* Stack the heading and paragraph vertically */
  }
  
  .method:nth-child(3) .para,
  .method:nth-child(4) .para {
    white-space: nowrap;
  }
  
  @media screen and (min-width: 800px) {
    .contact-form {
        max-width: 1100px;
    }
  
    .contactForm {
        grid-template-columns: 1fr 1fr; /* Two-column layout */
    }
  
    .contactMethod {
        flex-direction: row;
        justify-content: space-between;
    }
  }
  
  
  /* Style for the error tooltip */
  .tooltip-error {
    position: absolute;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    padding: 10px;
    width: 200px;
    top: -10px;
    left: 100%;
    transform: translate(-50%, 50%);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    display: none;
  }
  
  .tooltip-error::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #fff3cd transparent transparent;
    transform: translateY(-50%);
  }
  
  input:invalid + .tooltip-error {
    display: block;
  }
  