.footer-container {
   max-width: 1400px;
   margin: 0 auto;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   gap: 3rem;
   position: relative;
   z-index: 2;
}

.footer-block {
   flex: 1;
   min-width: 220px;
}

.footer-title {
   font-weight: 600;
   color: #0f172a;
   margin-bottom: 2rem;
   position: relative;
   padding-bottom: 1rem;
   letter-spacing: 0.5px;
}

.footer-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 60px;
   height: 3px;
   background: #4a2c17;
   border-radius: 3px;
   transition: width 0.4s ease;
}

.footer-block:hover .footer-title::after {
   width: 100px;
}

.footer-list {
   list-style: none;
}

.footer-list li {
   margin-bottom: 1.1rem;
}

.footer-list a {
   color: #475569;
   text-decoration: none;
   font-size: 1rem;
   font-weight: 400;
   display: inline-flex;
   align-items: center;
   gap: 0.8rem;
   transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
   position: relative;
}

.footer-list a::before {
   content: '';
   position: absolute;
   bottom: -4px;
   left: 28px;
   width: 0;
   height: 1px;
   background: #4a2c17;
   transition: width 0.3s ease;
}

.footer-list a:hover {
   color: #8b5a2b;
   transform: translateY(-1px);
}

.footer-list a:hover::before {
   width: calc(100% - 28px);
}

.footer-list i {
   color: #8b5a2b;
   font-size: 1.1rem;
   width: 22px;
   transition: transform 0.3s ease;
}

.footer-list a:hover i {
   transform: scale(1.15);
}

.contact-info {
   margin-bottom: 2rem;
}

.contact-item {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 1.2rem;
   color: #334155;
   transition: transform 0.3s ease;
}

.contact-item:hover {
   transform: translateY(-1px);
}

.contact-icon {
   width: 38px;
   height: 38px;
   background: rgba(67, 97, 238, 0.08);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #8b5a2b;
   font-size: 1.1rem;
   transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: linear-gradient(90deg, #8b5a2b, #4a2c17);
   color: white;
   box-shadow: 0 10px 20px rgba(67, 97, 238, 0.25);
}

.contact-text {
   font-weight: 500;
}
.contact-text a {
   text-decoration: none;
   color: #475569;
}

.contact-text small {
   display: block;
   font-size: 0.8rem;
   color: #94a3b8;
   font-weight: 400;
}

.social-title {
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: #64748b;
   margin-bottom: 1.2rem;
   font-weight: 500;
}

.social-grid {
   display: flex;
   gap: 0.8rem;
   flex-wrap: wrap;
}

.social-link {
   width: 46px;
   height: 46px;
   border-radius: 14px;
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #8b5a2b;
   font-size: 1.3rem;
   text-decoration: none;
   transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
   position: relative;
   overflow: hidden;
}

.social-link::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   transition: left 0.6s ease;
}

.social-link:hover {
   background: linear-gradient(90deg, #8b5a2b, #4a2c17);
   color: white;
   transform: translateY(-1px);
   border-color: #8b5a2b;
   box-shadow: 0 15px 25px -8px rgba(12, 12, 12, 0.4);
}

.social-link:hover::before {
   left: 100%;
}

.payment-section {
   margin-top: 1rem;
}

.payment-title {
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: #64748b;
   margin-bottom: 1.2rem;
   font-weight: 500;
}

.payment-wrapper {
   display: flex;
   gap: 1rem;
   align-items: center;
   flex-wrap: wrap;
   width: fit-content;
   min-width: 265px;
}

.payment-item {
   font-size: 2.2rem;
   color: #4a2c17;
   transition: all 0.3s ease;
   line-height: 1;
   border: 1px solid #e2e8f0;
   padding: 8px 7px 4px 7px;
   border-radius:14px;
}

.payment-item:hover {
   color: #8b5a2b;
   transform: translateY(-1px);
   box-shadow: 0 15px 25px -8px rgba(12, 12, 12, 0.4);
}

.copyright {
   text-align: center;
   margin-top: 1rem;
   padding-top: 2rem;
   border-top: 1px solid #e2e8f0;
   color: #64748b;
   font-size: 0.9rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 1rem;
}

.copyright-links {
   display: flex;
   gap: 2rem;
}

.copyright-links a {
   color: #475569;
   text-decoration: none;
   transition: color 0.3s;
}

.copyright-links a:hover {
   color: #8b5a2b;
}

.made-with {
   display: flex;
   align-items: center;
   gap: 0.3rem;
}

.made-with i {
   position: relative;
   top: -1px;
   color: #4a2c17;
   animation: heartbeat 1.5s ease infinite;
}

.made-with a {
   text-decoration: none;
   color:#4a2c17;
}
@keyframes heartbeat {

   0%,
   100% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.1);
   }
}

@media screen and (max-width: 768px) {
   .footer {
      padding: 2rem 1.5rem 1rem;
   }

   .footer-container {
      flex-direction: column;
      gap: 3.5rem;
   }

   .footer-block {
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      padding: 0;
   }

   .footer-title {
      text-align: left;
   }

   .footer-title::after {
      left: 5%;
      transform: translateX(-5%);
      width: 80px;
   }

   .footer-block:hover .footer-title::after {
      width: 120px;
   }

   .footer-list {
      display: flex;
      flex-direction: column;
      align-items: left;
   }

   .footer-list a {
      justify-content: center;
      text-align: center;
   }

   .footer-list a::before {
      left: 50%;
      transform: translateX(-50%);
      bottom: -4px;
      width: 0;
   }

   .footer-list a:hover::before {
      width: 80%;
   }

   .contact-item {
      justify-content: left;
   }

   .contact-item:hover {
      transform: translateY(-3px);
   }

   .social-title {
      text-align: center;
   }

   .social-grid {
      justify-content: center;
   }

   .payment-title {
      text-align: center;
   }

   .payment-wrapper {
      margin: 0 auto;
      justify-content: center;
      width: 100%;
      
   }

   .copyright {
      flex-direction: column;
      text-align: center;
      justify-content: center;
   }

   .copyright-links {
      justify-content: center;
   }
}

@media screen and (max-width: 380px) {
   .social-grid {
      gap: 0.5rem;
   }

   .social-link {
      width: 40px;
      height: 40px;
      font-size: 1.1rem;
   }

   .payment-item {
      font-size: 1.8rem;
   }
}