/* Contact Section Block */
.contact-section-block {
  padding: 0;
}

/* Grid layout utilities */
.max-w-7xl {
  max-width: 1280px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-12 {
  gap: 3rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* Contact Form Styles */
.contact-section-block .contact-form-container {
  max-width: 100%;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-section-block .contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-section-block .contact-form {
  width: 100%;
}

.contact-section-block .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-section-block .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-section-block .form-group {
  margin-bottom: 1.5rem;
}

.contact-section-block .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-section-block .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #343a40;
  transition: all 0.3s ease;
}

.contact-section-block .form-control:focus {
  outline: none;
  border-color: #2d9b8a;
  box-shadow: 0 0 0 3px rgba(45, 155, 138, 0.1);
}

.contact-section-block .form-control::placeholder {
  color: #a0aec0;
}

.contact-section-block textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.contact-section-block .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-section-block .radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.contact-section-block .radio-label input[type="radio"] {
  margin-right: 0.5rem;
}

.contact-section-block .radio-label span {
  font-size: 0.875rem;
  color: #6c757d;
}

.contact-section-block .form-submit {
  padding-top: 1rem;
}

.contact-section-block .submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2rem;
  background-color: #2d9b8a;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-section-block .submit-button:hover {
  background-color: #248074;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 155, 138, 0.3);
}

.contact-section-block .submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.contact-section-block .submit-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22,2 15,22 11,13 2,9 22,2'%3E%3C/polygon%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-section-block .form-response {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.contact-section-block .success-message {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-section-block .error-message {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact-section-block .response-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-section-block .response-icon.success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23065f46'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
}

.contact-section-block .response-icon.error {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23991b1b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E");
  background-size: contain;
}

/* Contact Sidebar Styles */
.contact-section-block .contact-sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
}

.contact-section-block .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

/* Quick Contact Section */
.contact-section-block .quick-contact-section {
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.contact-section-block .contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-section-block .contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-section-block .contact-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.contact-section-block .phone-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D9B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.contact-section-block .email-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D9B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.contact-section-block .hours-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D9B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
}

.contact-section-block .contact-label {
  font-weight: 500;
  color: #1f6b5c;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.contact-section-block .contact-value {
  color: #6c757d;
  margin: 0;
}

/* Departments Section */
.contact-section-block .departments-section {
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-section-block .departments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-section-block .department-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.contact-section-block .department-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-section-block .department-name {
  font-weight: 500;
  color: #1f6b5c;
  margin-bottom: 0.25rem;
  margin: 0 0 0.25rem 0;
}

.contact-section-block .department-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  margin: 0 0 0.5rem 0;
}

.contact-section-block .department-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-section-block .department-email,
.contact-section-block .department-phone {
  color: #2d9b8a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-section-block .department-email:hover,
.contact-section-block .department-phone:hover {
  text-decoration: underline;
}

/* Social Media Section */
.contact-section-block .social-section {
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.contact-section-block .social-subtitle {
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 1rem;
  margin: 0 0 1rem 0;
}

.contact-section-block .social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-section-block .social-icon {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  transition: background-color 0.3s ease;
}

.contact-section-block .social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-section-block .facebook-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-section-block .twitter-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-section-block .linkedin-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-section-block .youtube-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z'%3E%3C/path%3E%3Cpolygon points='9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02'%3E%3C/polygon%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Editor Preview Styles */
.contact-section-block .contact-form-preview {
  border: 2px dashed #e5e7eb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background-color: #f9fafb;
}

.contact-section-block .form-control-preview {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  color: #9ca3af;
  font-size: 0.875rem;
}

.contact-section-block .textarea-preview {
  min-height: 80px;
}

.contact-section-block .radio-group-preview {
  display: flex;
  gap: 1rem;
}

.contact-section-block .radio-option {
  font-size: 0.875rem;
  color: #6b7280;
}
