a {
  text-decoration: none;
}
button, input, optgroup, select, textarea {
  font-family: var(--theme-font-family) !important;
}

.contact-section {
  padding: 90px 0;
  background-color: #0d1a3b;
  position: relative;
  z-index: 1;
}

.contact-header {
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}
.contact-header .section-title{
  color: var(--theme-palette-color-8);
}

.contact-header__text {
  color: var(--theme-palette-color-8);
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto;
  text-align: justify;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  opacity: 0;
  animation: slideUp 0.8s ease-out 0.2s forwards;
}

.contact-section .contact-info {
  padding: 15px;
  background-color: var(--theme-palette-color-6);
}

.contact-section .contact-info__title {
  color: var(--theme-palette-color-8);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}
/* Updated social section styles - contact.css */
/* Integrated social links with QR codes styles */

.social-section {
  padding: 40px;
  background-color: var(--theme-palette-color-6);
}

.social-section__title {
  color: var(--theme-palette-color-2);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  text-transform: uppercase;
}
.social-section__title:before {
  content: '';
  position: absolute;
  left: 0;
  top: -10px;
  width: 50px;
  height: 2px;
  background-color: var(--theme-palette-color-1);
}
.rtl .social-section__title:before {
  right: 0;
}

.contact-section .social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  padding: 0 10px 0 10px;
  background-color: var(--theme-palette-color-8);
  border: 1px solid var(--theme-palette-color-5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-social-link:hover {
  /* border-color: var(--theme-palette-color-1); */
  transform: translateX(10px);
}

.contact-social-link__icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-palette-color-6);
  border-radius: 4px;
  margin-right: 0;
  transition: all 0.3s ease;
}

.contact-social-link:hover .contact-social-link__icon {
  background-color: var(--theme-palette-color-1);
  color: var(--theme-palette-color-8);
}

.contact-social-link__icon i {
  font-size: 28px;
  transition: all 0.3s ease;
}
.contact-social-link__icon svg {
  width: 24px;  /* or any size you prefer */
  height: 24px;
  fill: currentColor;  /* this will inherit the color from the parent */
}

.contact-social-link:hover .contact-social-link__icon i {
  transform: scale(1.1);
}

.contact-social-link__content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-social-link__info {
  padding-right: 20px;
}

.contact-social-link__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-palette-color-2);
  margin-bottom: 5px;
}

.contact-social-link__subtitle {
  font-size: 14px;
  color: var(--theme-palette-color-2);
}

.qr-code {
  width: 160px;
  padding: 10px;
  background-color: var(--theme-palette-color-8);
  border-left: 1px solid var(--theme-palette-color-5);
  text-align: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.contact-social-link:hover .qr-code {
  opacity: 1;
  transform: translateX(0);
}

.qr-code__image {
  width: 140px;
  height: 140px;
  padding: 0;
  background-color: white;
  border: 1px solid var(--theme-palette-color-5);
  margin-bottom: 10px;
}

.qr-code__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-palette-color-8);;
  margin-bottom: 2px;
}

.qr-code__subtitle {
  font-size: 12px;
  color: var(--theme-palette-color-8);
}

@media (max-width: 767.98px) {
  .contact-social-link {
      flex-direction: column;
      /* align-items: flex-start; */
      padding: 20px;
  }

  .contact-social-link__content {
      flex-direction: column;
      /* align-items: flex-start; */
      width: 100%;
      margin-top: 15px;
      text-align: center;
  }

  .contact-social-link__info {
      padding-right: 0;
      margin-bottom: 15px;
  }

  .qr-code {
      width: 100%;
      border-left: none;
      border-top: 1px solid var(--theme-palette-color-5);
      padding-top: 15px;
      margin-top: 15px;
  }

  .qr-code__image {
      width: 160px;
      height: 160px;
  }
}

.contact-form {
  padding: 40px;
  border: 1px solid var(--theme-palette-color-5);
  background: #f3f5f7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  color: #092a53;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label span {
  color: #ff0000;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #9E9E9E;
  color: var(--theme-palette-color-8);
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--theme-palette-color-1);
  background-color: var(--theme-palette-color-8);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--theme-palette-color-1);
  color: var(--theme-palette-color-8);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

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

.map-section .section-title{
  color: var(--theme-palette-color-8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 767.98px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-section .contact-info,
  .contact-section .contact-form {
    padding: 24px;
  }
}

.map-section{
  position: relative;
  z-index: 1;
}