/* Zentropic Software Solutions CSS - Based on logo design */

/* Global variables based on logo colors */
:root {
  --zs-purple: #7851a9;
  --zs-dark-purple: #5a3d82;
  --zs-light-purple: #a78ac7;
  --zs-white: #ffffff;
  --zs-light-gray: #f8f9fa;
  --zs-gray: #f4f4f4;
  --zs-text: #333333;
}

/* Hero section styling */
.contact-hero {
  background: linear-gradient(135deg, var(--zs-purple) 0%, var(--zs-dark-purple) 100%);
  color: var(--zs-white);
  padding: 4rem 0;
}

.contact-hero h1 {
  color: var(--zs-white);
  position: relative;
}

.contact-hero h1:after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: var(--zs-white);
  margin-top: 15px;
}

.contact-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact info styling */
.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item i {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--zs-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-item h5 {
  margin-bottom: 0.25rem;
  color: var(--zs-white);
  font-weight: 600;
}

.contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Social links */
.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--zs-white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--zs-white);
  color: var(--zs-purple);
  transform: translateY(-3px);
}

/* Contact form card */
.contact-form-card {
  background-color: var(--zs-white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-form-card h3 {
  color: var(--zs-purple);
  font-weight: 700;
  position: relative;
}

.contact-form-card h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--zs-purple);
  margin-top: 10px;
}

.form-label {
  font-weight: 500;
  color: var(--zs-text);
}

.form-control {
  border: 1px solid #e1e1e1;
  padding: 0.75rem;
  border-radius: 6px;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(120, 81, 169, 0.2);
  border-color: var(--zs-purple);
}

.btn-primary {
  background-color: var(--zs-purple);
  border-color: var(--zs-purple);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--zs-dark-purple);
  border-color: var(--zs-dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(120, 81, 169, 0.4);
}

/* Map section */
.map-section {
  background-color: var(--zs-light-gray);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ section */
.faq-section {
  background-color: var(--zs-white);
}

.section-title {
  color: var(--zs-purple);
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--zs-light-purple);
  margin: 10px auto 0;
}

.section-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

/* Accordion styling */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--zs-white);
  color: var(--zs-text);
  font-weight: 600;
  padding: 1.25rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--zs-purple);
  background-color: rgba(120, 81, 169, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(120, 81, 169, 0.1);
}

.accordion-button::after {
  background-color: var(--zs-light-purple);
  border-radius: 50%;
  background-position: center;
  background-size: 14px;
  width: 24px;
  height: 24px;
}

.accordion-body {
  padding: 1.25rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-hero {
    padding: 3rem 0;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
}

/* Logo-inspired styling elements */
.yin-yang-divider {
  height: 5px;
  background: linear-gradient(to right, var(--zs-white) 50%, var(--zs-purple) 50%);
  margin: 3rem 0;
  border-radius: 5px;
}

/* Custom alert styling */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Form validation styling */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}