/* d:\xampp2\htdocs\html\scarletinfra.com\assets\css\contact-modern.css */
.custom-contact-section {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  font-family: 'Sono', sans-serif;
}

.contact-grid-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.contact-left-col {
  flex: 1;
  min-width: 300px;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.contact-title-block {
  padding: clamp(40px, 5vw, 80px) clamp(20px, 2vw, 40px);
  border-bottom: 1px solid #e0e0e0;
  background: #fafafa;
}

.contact-title-block p {
  margin-top: 20px;
}

.contact-title-block h2 {
  font-size: clamp(34px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
  color: var(--text-colors--primary-text);
  letter-spacing: -2px;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-info-item {
  padding: clamp(20px, 4vw, 40px) clamp(20px, 2vw, 40px);
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.4s ease;
  cursor: default;
  background: transparent;
  color: var(--text-colors--primary-text);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item:hover {
  background: #d3363b;
  color: #fff;
}

.contact-info-number {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d3363b;
}

.contact-info-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 10px;
  font-weight: 400;
}

.contact-info-item p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.contact-right-col {
  flex: 1.5;
  padding: 5vw 5vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-heading {
  margin-bottom: 60px;
}

.contact-form-heading span {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d3363b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-heading .line {
  width: 30px;
  height: 1px;
  background: #d3363b;
  display: inline-block;
}

.form-creative-image {
  position: relative;
  width: 100%;
  height: 350px;
  margin-bottom: 60px;
  z-index: 1;
}

.form-creative-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--brand-accent--base) 25%, transparent 25%);
  background-size: 15px 15px;
  z-index: -1;
}

.form-creative-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80%;
  height: 100%;
  border: 2px solid var(--brand-accent--secondary-base);
  z-index: -1;
}

.form-creative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-form-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-form-group {
  flex: 1;
  min-width: 200px;
}

.contact-input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #d0d0d0;
  font-size: 18px;
  font-family: inherit;
  font-weight: 300;
  background: transparent;
  outline: none;
  transition: 0.3s;
  color: var(--text-colors--primary-text);
  box-sizing: border-box;
}

.contact-input:focus {
  border-color: var(--brand-accent--base);
  padding-left: 10px;
}

.contact-textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #d0d0d0;
  font-size: 18px;
  font-family: inherit;
  font-weight: 300;
  background: transparent;
  outline: none;
  resize: vertical;
  transition: 0.3s;
  color: var(--text-colors--primary-text);
  box-sizing: border-box;
}

.contact-textarea:focus {
  border-color: var(--brand-accent--base);
  padding-left: 10px;
}

.contact-submit-btn {
  align-self: flex-start;
  margin-top: 20px;
  padding: 19px 54px;
  background: transparent;
  color: #fff;
  border: 1;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  background: #d0353a;
  letter-spacing: 2px;
  width: 100%;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.contact-submit-btn:hover {
  background: #d3363b;
  color: #fff;
  border-color: var(--brand-accent--base);
  transform: translateY(-5px);
}

.contact-map-section {
  width: 100%;
  padding: 20px 20px 90px;
  height: 60vh;
  border-top: 1px solid #e0e0e0;
}

.contact-map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Styles for Contact Page */
@media (max-width: 991px) {
  .contact-input {
    font-size: 18px;
  }

  .contact-textarea {
    font-size: 18px;
  }

  .form-creative-image {
    height: 250px;
  }

  .contact-form {
    gap: 35px;
  }
}

@media (max-width: 767px) {
  .contact-grid-container {
    flex-direction: column;
  }

  .contact-input {
    font-size: 16px;
  }

  .contact-textarea {
    font-size: 16px;
  }

  .contact-left-col {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .contact-info-item p br {
    display: none;
  }

  .contact-title-block h2 br {
    display: none;
  }


  .contact-right-col {
    padding: 10vw 3vw;
  }

  .contact-form-row {
    flex-direction: column;
    gap: 30px;
  }

  .contact-submit-btn {
    padding: 14px 30px;
    width: 100%;
    font-size: 0.8rem;
    margin-top: 0;
  }

  .contact-map-section {
    height: 40vh;
    padding: 20px 10px 60px;
  }
}