/* Modern Contact Page Styles */

/* Base Layout */
.modern-contact-wrapper {
  padding: 100px 0;
  background-color: #fcfcfd;
}

.modern-contact-card {
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

/* Left Panel - Info */
.modern-contact-info {
  flex: 1 1 40%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  padding: 60px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.modern-contact-info h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.modern-contact-info p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
  position: relative;
}

.modern-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
  transition: transform 0.3s ease;
  position: relative;
}

.modern-info-item:hover {
  transform: translateX(10px);
}

.modern-info-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.modern-info-icon svg {
  fill: #ffffff;
  width: 24px;
  height: 24px;
}

.modern-info-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: rgba(255, 255, 255, 0.9);
}

.modern-info-content span,
.modern-info-content a {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.modern-info-content a:hover {
  opacity: 0.8;
}

/* Right Panel - Form */
.modern-contact-form-wrap {
  flex: 1 1 60%;
  padding: 60px 70px;
  background: #ffffff;
}

.modern-contact-form-wrap h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.modern-contact-form-wrap > p {
  color: #64748b;
  margin-bottom: 40px;
  font-size: 16px;
}

.modern-form-group {
  margin-bottom: 30px;
  position: relative;
}

.modern-input {
  width: 100%;
  padding: 24px 20px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 16px;
  color: #0f172a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.modern-input:focus {
  outline: none;
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.modern-input::placeholder {
  color: transparent;
}

.modern-floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.modern-input:focus ~ .modern-floating-label,
.modern-input:not(:placeholder-shown) ~ .modern-floating-label {
  top: 14px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 600;
}

textarea.modern-input {
  resize: vertical;
  min-height: 150px;
  padding-top: 30px;
}

textarea.modern-input ~ .modern-floating-label {
  top: 24px;
}

textarea.modern-input:focus ~ .modern-floating-label,
textarea.modern-input:not(:placeholder-shown) ~ .modern-floating-label {
  top: 14px;
}

.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
  gap: 10px;
  text-decoration: none;
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.35);
  color: #ffffff;
}

.modern-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.modern-btn:hover svg {
  transform: translateX(4px);
}

/* Map Section */
.modern-map-wrapper {
  padding: 0 0 100px 0;
  background-color: #fcfcfd;
}

.modern-map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  height: 500px;
  position: relative;
  border: 1px solid #f1f5f9;
}

.modern-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.1); /* Slight filter for aesthetic */
}

/* Responsive */
@media (max-width: 991px) {
  .modern-contact-info,
  .modern-contact-form-wrap {
    flex: 1 1 100%;
  }
  
  .modern-contact-info {
    padding: 50px 30px;
  }
  
  .modern-contact-form-wrap {
    padding: 50px 30px;
  }
}
