/* ============================================================
   contact.css — SARWESHWAR INDUSTRIES
   Styles for the Contact page
   ============================================================ */

.contact-section {
  background: #fdf9f2; /* Warm white matching other sections */
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

/* Info Panel (Left) */
.contact-info-panel {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0d8cc;
}

.contact-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #b01a1a;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-panel-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.info-card:hover {
  transform: translateX(5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(176, 26, 26, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b01a1a;
  font-size: 20px;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.info-content p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.info-content a {
  color: #b01a1a;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

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

/* Form Panel (Right) */
.contact-form-panel {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0d8cc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fafafa;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b01a1a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 26, 26, 0.1);
}

.btn-submit {
  background: #b01a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background: #8a1212;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(176, 26, 26, 0.3);
}

/* Map */
.map-section {
  width: 100%;
  line-height: 0;
  border-top: 3px solid #b01a1a;
}

.map-section iframe {
  display: block;
}

/* Toast Success styling override if needed */
.toast.success-toast {
  border-left: 4px solid #27ae60;
}
.toast.success-toast i {
  color: #27ae60;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 20px;
  }
  .contact-panel-title {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-info-panel,
  .contact-form-panel {
    padding: 24px 15px;
  }
  .contact-panel-title {
    font-size: 1.5rem;
  }
}
