/* Main Footer */
.site-footer {
   background: linear-gradient(135deg, #f8f9fa 0%, var(--white) 50%, var(--surface-6) 100%);
   position: relative;
   width: 100%;
   direction: rtl;
   overflow: hidden;
}

/* Wave Shape */
.footer-wave {
   position: relative;
   width: 100%;
   overflow: hidden;
   line-height: 0;
   transform: rotate(180deg);
   background: white;
}

.footer-wave svg {
   position: relative;
   display: block;
   width: calc(100% + 1.3px);
   height: 60px;
}

.footer-wave path {
   fill: #73ADDF;
   opacity: 0.28;
}

/* Footer Main Content */
.footer-main {
   padding: 60px 0 20px;
}

/* Container */
.footer-container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 40px;
   display: grid;
   grid-template-columns: 1.2fr 1fr 1fr 1fr;
   gap: 60px;
   align-items: start;
}

/* Brand Section */
.footer-brand {
   padding: 0;
   background: transparent;
   border-right: none;
}

.footer-logo {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 20px;
}

.footer-logo img {
   width: 50px;
   height: 50px;
   background: white;
   padding: 8px;
   border-radius: 12px;
   transition: all 0.3s;
   border: 2px solid var(--border-soft);
}

.footer-logo img:hover {
   transform: scale(1.05);
   border-color: #73ADDF;
}

.logo-text {
   font-size: 1.4rem;
   font-weight: 700;
   background: linear-gradient(135deg, #2c5aa0 0%, #73ADDF 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.footer-tagline {
   color: #64748b;
   font-size: 0.9rem;
   line-height: 1.7;
   margin-bottom: 25px;
}

/* Contact Info */
.footer-contact-info {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.contact-item {
   display: flex;
   align-items: center;
   gap: 12px;
   color: #64748b;
   font-size: 0.85rem;
   transition: all 0.3s;
}

.contact-item a {
   color: inherit;
   text-decoration: none;
}

.contact-item a:hover {
   text-decoration: underline;
}

.contact-item:hover {
   color: #2c5aa0;
   transform: translateX(-3px);
}

.contact-item i {
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, #73ADDF 0%, #5a9dd8 100%);
   border-radius: 8px;
   color: #fff;
   font-size: 0.85rem;
   flex-shrink: 0;
}

/* Footer Sections */
.footer-section {
   background: transparent;
   padding: 0;
   border-radius: 0;
   transition: all 0.3s;
   border: none;
}

.footer-section:hover {
   background: transparent;
   border-color: transparent;
   transform: none;
}

.footer-title {
   color: var(--text-strong-2);
   font-size: 1.1rem;
   font-weight: 700;
   margin-bottom: 18px;
   position: relative;
   padding-bottom: 10px;
}

.footer-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   right: 0;
   width: 40px;
   height: 2px;
   background: linear-gradient(90deg, #73ADDF 0%, #5a9dd8 100%);
   border-radius: 2px;
}

/* Footer Links */
.footer-links {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer-links li {
   margin-bottom: 10px;
}

.footer-links li a {
   color: #64748b;
   text-decoration: none;
   font-size: 0.9rem;
   display: flex;
   align-items: center;
   gap: 8px;
   transition: all 0.3s;
   position: relative;
   font-weight: 500;
}

.footer-links li a i {
   font-size: 0.65rem;
   transition: transform 0.3s;
   color: #73ADDF;
}

.footer-links li a:hover {
   color: #2c5aa0;
   transform: translateX(-3px);
}

.footer-links li a:hover i {
   transform: translateX(-2px);
   color: #2c5aa0;
}

/* Newsletter Section - Now Consultation */
.footer-newsletter .newsletter-text {
   color: #64748b;
   font-size: 0.85rem;
   margin-bottom: 22px;
   line-height: 1.7;
}

/* Consultation Button */
.consultation-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   padding: 15px 35px;
   background: linear-gradient(135deg, #2c5aa0 0%, #73ADDF 100%);
   color: white;
   text-decoration: none;
   border-radius: 50px;
   font-weight: 700;
   font-size: 1rem;
   transition: all 0.3s;
   margin-bottom: 20px;
   box-shadow: 0 4px 15px rgba(44, 90, 160, 0.25);
}

.consultation-btn:hover {
   background: linear-gradient(135deg, #1e3a7a 0%, #2c5aa0 100%);
   transform: translateY(-3px);
   box-shadow: 0 6px 20px rgba(44, 90, 160, 0.35);
}

.meet-icon-inline {
   width: 30px;
   height: 30px;
   filter: brightness(0) invert(1);
}

/* Social Media Icons */
.footer-social {
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
   margin-top: 15px;
}

.footer-social a {
   width: 45px;
   height: 45px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 12px;
   background: white;
   color: #64748b;
   font-size: 1.1rem;
   text-decoration: none;
   transition: all 0.4s;
   position: relative;
   overflow: hidden;
   border: 2px solid var(--border-soft);
}

.footer-social a::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   transform: translateY(100%);
   transition: transform 0.4s;
   z-index: -1;
}

.footer-social a:hover::before {
   transform: translateY(0);
}

.footer-social a:hover {
   color: white;
   transform: translateY(-5px) scale(1.1);
   border-color: transparent;
}

/* Individual Social Colors */
.social-facebook::before {
   background: #1877F2;
}

.social-instagram::before {
   background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-tiktok::before {
   background: #000000;
}

.social-youtube::before {
   background: #FF0000;
}

/* Footer Bottom */
.footer-bottom {
   border-top: 2px solid var(--border-soft);
   padding: 20px 0;
   margin-top: 30px;
   background: linear-gradient(135deg, var(--white) 0%, var(--surface-5) 100%);
}

.footer-bottom .footer-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 20px;
}

.footer-copyright {
   text-align: center;
}

.footer-copyright p {
   margin: 0;
   color: var(--text-muted-7);
   font-size: 1rem;
   font-weight: 600;
   letter-spacing: 0.3px;
}

.footer-legal-links {
   display: flex;
   align-items: center;
   gap: 15px;
}

.footer-legal-links a {
   color: #64748b;
   text-decoration: none;
   font-size: 0.9rem;
   transition: all 0.3s ease;
   position: relative;
}

.footer-legal-links a:hover {
   color: #73ADDF;
}

.footer-legal-links a::after {
   content: '';
   position: absolute;
   bottom: -2px;
   left: 0;
   right: 0;
   height: 2px;
   background: #73ADDF;
   transform: scaleX(0);
   transition: transform 0.3s ease;
}

.footer-legal-links a:hover::after {
   transform: scaleX(1);
}

.footer-legal-links .separator {
   color: #cbd5e1;
   font-size: 0.8rem;
}

@keyframes heartbeat {
   0%, 100% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.2);
   }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
   .footer-container {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      padding: 0 30px;
   }

   .footer-brand {
      grid-column: 1 / -1;
      padding-left: 0;
      text-align: center;
   }

   .footer-logo {
      justify-content: center;
   }

   .footer-contact-info {
      align-items: center;
   }

   .contact-item:hover {
      transform: translateX(0);
   }
}

@media (max-width: 768px) {
   .footer-container {
      grid-template-columns: 1fr;
      gap: 35px;
      text-align: center;
   }

   .footer-main {
      padding: 50px 0 20px;
   }

   .footer-bottom {
      margin-top: 25px;
      padding: 18px 0;
   }

   .footer-title::after {
      right: 50%;
      transform: translateX(50%);
   }

   .footer-links li a {
      justify-content: center;
   }

   .footer-links li a:hover {
      transform: translateX(0);
   }

   .footer-social {
      justify-content: center;
   }

   .consultation-btn {
      padding: 13px 28px;
      font-size: 0.95rem;
   }

   .meet-icon-inline {
      width: 26px;
      height: 26px;
   }

   .newsletter-form .form-group {
      max-width: 100%;
   }

   .consultation-btn {
      padding: 13px 25px;
      font-size: 0.9rem;
      gap: 10px;
   }

   .meet-icon-inline {
      width: 24px;
      height: 24px;
   }

   .footer-bottom .footer-container {
      justify-content: center;
      text-align: center;
   }
}

@media (max-width: 480px) {
   .footer-container {
      padding: 0 20px;
   }

   .footer-wave svg {
      height: 40px;
   }

   .footer-logo img {
      width: 45px;
      height: 45px;
   }

   .logo-text {
      font-size: 1.3rem;
   }

   .footer-title {
      font-size: 1.1rem;
   }

   .contact-item {
      font-size: 0.85rem;
   }

   .contact-item i {
      width: 30px;
      height: 30px;
      font-size: 0.8rem;
   }

   .footer-social a {
      width: 40px;
      height: 40px;
      font-size: 1rem;
   }

   .newsletter-form input {
      padding: 12px 15px;
      font-size: 0.9rem;
   }

   .newsletter-form button {
      padding: 0 20px;
      font-size: 1rem;
   }

   .footer-copyright p,
   .footer-credits p {
      font-size: 0.85rem;
   }
}
