.footer-content {
  border-top: 1px solid var(--color-brown-600);
  display: flex;
  width: 100%;
  padding: 64px 0;
  gap: 24px;
  flex-wrap: wrap;
}

@media (min-width: 1440px) {
  .footer-content {
    justify-content: space-between;
  }
  .company-info {
    max-width: 541px;
  }
  .branch-offices-section {
    max-width: 508px;
  }
}

.contact-label {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .footer-content {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 60px;
  }
}

@media (max-width: 425px) {
  .vertical-divider {
    display: none;
  }
}

@media (max-width: 1440px) {
  .company-info {
    max-width: 480px;
  }
}

.company-name {
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .company-info {
    max-width: 100%;
    width: 556px;
  }
}

@media (max-width: 991px) {
  .company-name {
    max-width: 100%;
  }
}

.contact-details {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
}

.contact-value a {
  text-decoration: none;
  color: var(--color-black);
}

.contact-value a:hover {
  color: var(--color-brown-800);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
  .contact-details {
    max-width: 100%;
  }
}

.address-container {
  display: flex;
  width: 100%;
  align-items: start;
  gap: 9px;
  justify-content: start;
  flex-wrap: nowrap;
}

@media (max-width: 991px) {
  .address-container {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .contact-value {
    max-width: 100%;
  }
}

.phone-container {
  margin-top: 6px;
  display: flex;
  width: 100%;
  align-items: start;
  gap: 9px;
  justify-content: start;
  flex-wrap: wrap;
}

.phone-wrapper {
  display: flex;
  min-width: 240px;
  align-items: start;
  gap: 9px;
  justify-content: start;
}

.additional-info {
  display: flex;
  margin-top: 6px;
  align-items: start;
  gap: 6px 12px;
  justify-content: start;
  flex-direction: column;
}

@media (max-width: 991px) {
  .additional-info {
    max-width: 100%;
  }
}

.email-wrapper {
  display: flex;
  min-width: 240px;
  align-items: start;
  gap: 9px;
  white-space: nowrap;
  justify-content: start;
}

@media (max-width: 991px) {
  .email-wrapper {
    white-space: initial;
  }
}

.vertical-divider {
  aspect-ratio: 0.06;
  object-fit: contain;
  object-position: center;
  width: 0px;
  align-self: stretch;
  stroke-width: 1px;
  stroke: #cfcfcf;
  flex-shrink: 0;
  border: none;
  border-left: 1px solid #cfcfcf;
  height: auto;
  margin: 0;
}

.website-wrapper {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 9px;
  justify-content: start;
}

@media (max-width: 1440px) {
  .branch-offices-section {
    flex: 1;
  }
}

.branch-section-title {
  font-weight: 600;
  margin: 0 0 12px 0;
  text-align: left;
}

.branch-offices-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-office-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-name {
  font-weight: 600;
  margin: 0;
  color: var(--color-brown-800);
}

.branch-address {
  margin: 0;
  display: flex;
  align-items: start;
  gap: 9px;
}

.address-label {
  white-space: nowrap;
  font-weight: 600;
}

.branch-address a {
  text-decoration: none;
  color: var(--color-black);
}

.branch-address a:hover {
  color: var(--color-brown-800);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
  .branch-section-title {
    margin-bottom: 16px;
  }

  .branch-offices-list {
    gap: 16px;
  }

  .branch-address {
    flex-direction: column;
  }

  .address-label {
    min-width: auto;
  }
}

.subscription-section {
  display: flex;
  min-width: 295px;
  align-items: center;
  gap: 12px 54px;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-basis: 0%;
  max-height: 100px;
  flex-direction: column;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .footer-content {
    flex-direction: column;
  }
  .subscription-title {
    text-align: left !important;
  }
  .dropdown-container {
    justify-content: start !important;
  }
  .subscription-select {
    text-align: left !important;
  }
  .subscription-section {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }
  .subscription-form {
    width: 100%;
    max-width: 295px;
  }
  .email-input-container {
    max-width: 295px;
  }
  .social-media {
    justify-content: start !important;
  }
}

@media (max-width: 991px) {
  .subscription-section {
    display: block;
    margin-top: 16px;
    max-width: 100%;
    min-width: 100%;
    gap: 12px 54px;
  }
  .subscription-form {
    width: 100%;
    min-width: 100%;
    margin-bottom: 16px !important;
  }
  .email-input-container {
    width: 100%;
  }
}

.subscription-form {
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1;
  width: 295px;
}

.subscription-title {
  text-align: right;
  margin: 0;
}

.dropdown-container {
  display: flex;
  margin-top: 16px;
  width: 100%;
  align-items: center;
  gap: 16px;
  color: #8a8a8a;
  justify-content: end;
  position: relative;
}

.dropdown-text {
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  margin: 0;
}

.email-input-container {
  margin-top: 16px;
  border-radius: 50px;
  display: flex;
  align-items: stretch;
  justify-content: start;
  max-width: 295px;
  width: 100%;
  height: 38px;
  background: var(--color-brown-200);
}

.email-input {
  width: 100%;
  height: 100%;
  flex: 1;
  background: transparent;
  outline: none;
  border: none;
  margin-left: 20px;
  margin-right: 4px;
}
.email-input::placeholder {
  color: var(--color-gray-500);
}

.social-media {
  align-self: stretch;
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  align-items: center;
  gap: 8px;
  justify-content: end;
}

.social-icon {
  aspect-ratio: 29.64/29.64;
  object-fit: contain;
  object-position: center;
  width: 30px;
  fill: #b27850;
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
}

.social-icon-circle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brown-600);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.social-icon-circle:hover {
  background: var(--color-brown-800);
}
.social-icon-circle:hover svg {
  scale: 1.1;
  transition: all 0.3s ease-in-out;
}

.subscription-select {
  appearance: none;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--color-gray-500);
  font-family: inherit;
  cursor: pointer;
  padding-right: 20px;
  text-align: right;
}

.dropdown-arrow {
  position: absolute;
  right: 0;
  pointer-events: none;
}

.subscription-success-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-brown-600);
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  animation: fadeIn 0.5s, fadeOut 0.5s 5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
