

* { box-sizing: border-box; }

.contact-section {
  padding: 60px 5%;
  background: #fff;
  text-align: center;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #f4b6a0;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.info-box {
  flex: 1 1 250px;
  max-width: 300px;
  border: 1px solid #eee;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #2b2a2a;
}

/* Map + Form */


.map-form-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  width: 80%;
  max-width: 1200px;
  margin: 40px auto;
  gap: 24px;
  box-sizing: border-box;
}

.parentOfggmap {
  flex: 0 0 60%;
  height: 560px;
  border-radius: 10px;
  overflow: hidden;
}

.parentOfggmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  flex: 0 0 40%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.form-row {
  display: flex;
  gap: 12px;
}



.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #000; /* Add this line for black text color */
  opacity: 1;
  font-size: 12px;
}

.contact-form input:not([type="date"]):not([type="time"]),
.contact-form textarea {
  color: #000;
}

.contact-form select
{
  color: #000 !important;
  border: none;
}

.contact-form textarea {
  color: #000 !important;
}



.contact-form button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: auto;
  width: 100%;
} 

.contact-form select {
  border: none;
}

.contact-form button:hover {
  background: #007bff;
  border-radius: 0;

}


/* Responsive fix for mobile */


@media (max-width: 768px) {
  .map-form-container {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 0;
  }

  .parentOfggmap {
    flex: 0 0 auto;
    height: 400px;
    width: 100%;
    overflow: visible;
    border-radius: 0;
    position: relative;
  }

  .parentOfggmap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .contact-form {
    flex: 0 0 auto;
    width: 99%;
    
    min-height: auto;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {

  font-size: 13px;
}
}


/* Time input wrapper for placeholder */
.time-input-wrapper {
  position: relative;
  width: 100%;
}

.time-placeholder {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 16px;
  display: none;
}

/* Fix for mobile date/time inputs */

@media (max-width: 768px) {
  .contact-form input[type="date"]:invalid:before,
  .contact-form input[type="time"]:invalid:before {
    content: attr(placeholder);
    color: #999;
    margin-right: 8px;
  }
  
  .contact-form input[type="date"],
  .contact-form input[type="time"] {
    font-size: 16px;
    min-height: 44px;
  }
}

/* Fix for mobile time placeholder */
@media (max-width: 768px) {
  .contact-form input[type="time"]:invalid:before {
    content: attr(placeholder);
    color: #999;
    margin-right: 8px;
  }

  .contact-form input[type="date"],
  .contact-form input[type="time"] {
  border: none;
  }
}