/* Contact Page Specific Styles */

/* Page Banner */
.page-banner {
  background: linear-gradient(rgba(13, 46, 76, 0.8), rgba(13, 46, 76, 0.8)), 
              url('https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
}

/* Contact Section */
.contact-section {
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(25, 73, 116, 0.03) 100%);
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.info-card {
  border-left: 3px solid transparent;
  transition: all var(--transition-medium);
}

.info-card:hover {
  border-left-color: var(--primary);
}

.info-icon {
  position: relative;
}

.info-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 50%;
  border: 1px solid rgba(25, 73, 116, 0.1);
  transition: all var(--transition-medium);
}

.info-card:hover .info-icon::before {
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Contact Form */
.contact-form-container {
  min-height: 400px; /* or whatever height fits your design */
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(201, 177, 126, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  transition: all var(--transition-medium);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(25, 73, 116, 0.1);
}
.form-success {
  display: none; /* Hidden by default */
  text-align: center;
  padding: 2rem; /* Ensure padding is inside the element */
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 0; /* Reset margin-top if using absolute positioning */
  transition: all 0.3s ease;
  min-height: 200px; /* Minimum height for the message box */
  
}

.form-success.active {
  opacity: 1;
  visibility: visible;
}

/* Map Section */
.map-section {
  position: relative;
  background-color: var(--light);
}

.map-container {
  position: relative;
  z-index: 1;
}

.map-placeholder {
  transition: all var(--transition-medium);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 46, 76, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
}

.map-placeholder:hover .map-overlay {
  background-color: rgba(13, 46, 76, 0.5);
}

.overlay-content {
  transition: all var(--transition-medium);
}

.map-placeholder:hover .overlay-content {
  transform: scale(1.05);
}

/* .form-success {
  display: none !important;
} */