:root {
  --footer-background: var(--shadow-color);
  --footer-text-color: var(--light-color);
  --footer-title-color: var(--white);
  --footer-accent: var(--primary-color);
  --footer-hover: var(--primary-light);
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-icon-bg: var(--primary-dark);
  --footer-transition: all 0.3s ease;
}

/* Main Footer Structure */
.item {
  justify-content: flex-start !important;
}

footer {
  width: 100%;
  background-color: var(--footer-background);
  color: var(--footer-text-color);
  padding: 60px 0 20px;
  position: relative;
  border-top: 2px solid var(--primary-color);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  flex: 1;
}

/* Footer Sections */
.footer-left,
.footer-right {
  width: 25%;
  display: flex;
  flex-direction: column;
}

.footer-center {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer Titles */
.footer-title {
  color: var(--footer-title-color);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 25px;
  padding-bottom: 10px;
  position: relative;
  letter-spacing: 0.05em;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background: var(--footer-accent);
  transition: var(--footer-transition);
}

.footer-center .footer-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Footer Links */
.footer-left ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  color: var(--footer-text-color);
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: var(--footer-transition);
  position: relative;
  padding-left: 0;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--footer-hover);
  transition: var(--footer-transition);
}

.footer-link:hover {
  color: var(--footer-hover);
  transform: translateX(5px);
}

.footer-link:hover::after {
  width: 100%;
}

/* Logo Section */
.footer-logo {
  margin: 30px 0;
  transition: var(--footer-transition);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.footer-logo img {
  height: 150px;
  width: auto;
  transition: var(--footer-transition);
}

.footer-logo:hover img {
  transform: scale(1.05);
}

/* Office Contacts */
.office-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.office-contact {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  width: 100%;
  transition: var(--footer-transition);
  border: 1px solid transparent;
}

.office-contact:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  border-color: rgba(97, 193, 208, 0.2);
}

.office-contact h4 {
  color: var(--footer-title-color);
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 18px;
}

.office-contact p {
  color: var(--footer-text-color);
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
}

/* Social Media Section */
.footer-social ul {
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 25px 0;
  justify-content: flex-start;
}

.footer-social-item {
  list-style: none;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--footer-icon-bg);
  color: var(--footer-text-color);
  border-radius: 50%;
  transition: var(--footer-transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.footer-social-link i {
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.footer-social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 50%;
  transform: scale(0);
  transition: var(--footer-transition);
}

.footer-social-link:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-link:hover::before {
  transform: scale(1);
}

/* Footer Bottom */
.footer-bottom {
  width: 100%;
  max-width: 1400px;
  margin: 30px auto 0;
  padding: 15px 30px;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 5px;
}

.bottom-menu-item a,
.bottom-menu-item p {
  color: var(--footer-text-color);
  font-size: 13px;
  opacity: 0.7;
  transition: var(--footer-transition);
}

.bottom-menu-item a:hover {
  opacity: 1;
  color: var(--footer-hover);
}

.bottom-divider {
  color: var(--footer-text-color);
  opacity: 0.3;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-left,
  .footer-right {
    width: 30%;
  }

  .footer-center {
    width: 40%;
  }

  .footer-logo img {
    height: 120px;
  }
}

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    padding: 0 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    margin-bottom: 40px;
    align-items: center;
    text-align: center;
  }

  .footer-title {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .footer-social ul {
    justify-content: center;
  }

  .footer-link:hover {
    transform: translateY(-3px);
  }

  .footer-link-item {
    text-align: center;
  }

  .footer-logo {
    margin: 20px 0 30px;
  }

  .office-contact {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 40px 0 20px;
    min-height: auto;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 30px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .office-contact {
    padding: 15px;
  }

  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .footer-link {
    font-size: 15px;
  }

  .footer-logo img {
    height: 100px;
  }

  .footer-bottom {
    margin-top: 10px;
    padding: 15px 20px;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 30px 0 15px;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer-link {
    font-size: 14px;
  }

  .footer-logo img {
    height: 80px;
  }

  .office-contact {
    padding: 12px;
    margin-bottom: 10px;
  }

  .office-contact h4 {
    font-size: 16px;
  }

  .office-contact p {
    font-size: 13px;
  }

  .footer-social-link {
    width: 38px;
    height: 38px;
  }

  .footer-social-link i {
    font-size: 16px;
  }

  .bottom-menu-item a,
  .bottom-menu-item p {
    font-size: 12px;
  }

  .footer-bottom-menu {
    flex-direction: column;
    gap: 8px;
  }

  .bottom-divider {
    display: none;
  }
}

@media (max-width: 400px) {
  .footer-container {
    padding: 0 15px;
  }

  .footer-logo img {
    height: 70px;
  }

  .footer-social ul {
    gap: 10px;
  }

  .footer-social-link {
    width: 35px;
    height: 35px;
  }

  .office-contact {
    padding: 10px;
  }
}
