:root {
  --primary: #000000;
  --primary-hover: #444444;
  --bg-gradient: linear-gradient(135deg, #000000 8%, #505052 8%);
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 30px -10px rgba(79, 70, 229, 0.15);
}

.contact-us {
  padding: 80px 20px;
  background-color: #f9fafb;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Left Card - Info */
.contact-info-card {
  background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 8%, #333333 40%, #000000 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.info-subtitle {
  color: #e0e7ff;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.info-icon svg {
  stroke: #ffffff;
}

.info-details span {
  font-size: 0.85rem;
  color: white;
  font-weight: bolder;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-details p,
.info-details a {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 4px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.info-details a:hover {
  opacity: 0.8;
}

/* Right Card - Form */
.contact-form-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card:hover {
  box-shadow: var(--shadow-hover);
}

/* Form Controls with Floating Labels */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: var(--card-bg);
  padding: 0 4px;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary);
}

/* Floating Label Logic */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* Submit Button Animation */
.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Bottom Map */
.map-wrapper {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Adjustments */
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}