.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
}

.contact-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.3) 0%,     /* Light at the top */
        rgba(13, 13, 13, 0.5) 50%,    /* Medium in the middle */
        rgba(13, 13, 13, 1) 100%
    );
    z-index: -1;
}

.contact-section .container-box {
    position: relative;
    z-index: 1;
}

.contact-form-box {
    max-width: 600px;
    margin: auto;
    background-color: rgba(26, 26, 26, 0.9);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Heading + Intro Text */
.contact-form-box h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-form-box p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    text-align: center;
    overflow: hidden;
}

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
}

/* Inputs & Textarea */
.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: #a259ff;
    outline: none;
}

/* Submit Button */
.contact-form-box button {
    width: 100%;
    background-color: #a259ff;
    border: none;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-box button:hover {
    background-color: #ffffff;
    color: #4f168e;
}

.contact-address-container {
    padding: 3rem;
}

.contact-address-container h3 {
    font-size: 1.4rem;
}

.contact-address-container p {
    font-size: 1.2rem;
    line-height: 1.4;
    z-index: 3;
}

#flash-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.flash-message {
  background-color: #28a745;
  color: white;
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  font-size: 1.2rem;
  text-align: center;
  position: relative;
  max-width: 80%;
}

.flash-message .checkmark {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}




/* Responsive */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}
