.footer {
  background-color: #e9e9e9;
  padding: 40px 0 20px;
  box-shadow: 0 -4px 4px 0 rgba(105, 105, 105, 0.25);
}

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

/* First row */
.footer-row-first {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

/* Logo column */
.footer-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 0.8;
}

.footer-logo {
  height: 60px;
  width: auto;
  touch-action: manipulation;
}

.footer-separator {
  width: 1px;
  height: 224px;
  background: linear-gradient(to bottom, #999999, #000000);
}

/* Menu column */
.footer-menu-col {
  flex: 1;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: #e91e63;
  margin-bottom: 15px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-link {
  color: #000000;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #e91e63;
}

/* Contact column */
.footer-contact-col {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-section,
.footer-office-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  touch-action: manipulation;
}

.footer-contact-text {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

/* Phone link styling */
.footer-phone-link {
  font-size: 15px;
  font-weight: 500;
  color: #e91e63;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-phone-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* Flat2rent column */
.footer-flat2rent-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-flat2rent-logo {
  height: 40px;
  width: auto;
  touch-action: manipulation;
}

.footer-flat2rent-link {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  color: #e91e63;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-flat2rent-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-social-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px !important;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  touch-action: manipulation;
}

.footer-social-link {
  display: block;
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  touch-action: manipulation;
}

.footer-social-icon:hover {
  opacity: 0.7;
}

/* Second row */
.footer-row-second {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-bottom-text {
  font-size: 15px;
  font-weight: var(--font-light);
  color: #000000;
}

.footer-dot {
  font-size: 20px;
  font-weight: var(--font-extrabold);
  color: #000000;
}

.footer-separator-line {
  height: 1px;
  background: linear-gradient(to right, #000000, #999999);
  width: 486px;
  margin: 0 auto;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright-text {
  font-size: 15px;
  font-weight: 400;
  color: #000000;
}

.footer-copyright-text strong {
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  .footer-row-first {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo-col {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-separator {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, #999999, #000000);
  }

  .footer-contact-col {
    gap: 25px;
  }

  .footer-links-line {
    flex-direction: column;
    gap: 5px;
  }
}
