/* ==== 
 --------- (4.03) footer styles start ---------
 ==== */

@use "../abstracts/mixins" as *;

.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: clip;
  position: relative;
  z-index: 1;
  padding: 40px 0;
  // Footer Logo Section
  .footer-logo-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    position: relative;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 2px;
      background: linear-gradient(90deg, #4a9eff, #00d4ff);
      border-radius: 1px;
    }
    
    .enterprise-logo-container {
      position: relative;
      z-index: 2;
    }
    
    .enterprise-security-badges {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
    }
    
    .security-badges-left,
    .security-badges-right {
      display: flex;
      flex-direction: column;
      gap: 15px;
      min-width: 140px;
    }
    
    .logo-center {
      flex-shrink: 0;
    }
    
    .footer-logo {
      display: inline-block;
      transition: all 0.3s ease;
      
      &:hover {
        transform: translateY(-2px);
        filter: brightness(1.1);
      }
      
      img {
        filter: brightness(0) invert(1); // Make logo white for dark footer
        transition: all 0.3s ease;
        max-height: 120px;
        width: auto;
      }
      
      &:hover img {
        filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(200deg); // Blue tint on hover
      }
    }
    
    .security-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(74, 158, 255, 0.05));
      border: 1px solid rgba(74, 158, 255, 0.4);
      border-radius: 12px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(15px);
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(74, 158, 255, 0.1);
      
      // Shine effect
      &::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;
      }
      
      // Glow animation
      &::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #4a9eff, #00d4ff, #4a9eff);
        border-radius: 14px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        animation: pulse-glow 3s ease-in-out infinite;
      }
      
      i {
        color: #4a9eff;
        font-size: 14px;
        transition: all 0.3s ease;
        filter: drop-shadow(0 0 4px rgba(74, 158, 255, 0.3));
      }
      
      span {
        color: #ffffff;
        font-weight: 500;
        font-size: 12px;
        letter-spacing: 0.3px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      }
      
      &:hover {
        background: linear-gradient(135deg, rgba(74, 158, 255, 0.25), rgba(74, 158, 255, 0.1));
        border-color: rgba(74, 158, 255, 0.6);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
        
        &::before {
          left: 100%;
        }
        
        &::after {
          opacity: 0.3;
        }
        
        i {
          color: #00d4ff;
          transform: scale(1.1);
          filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
        }
        
        span {
          color: #ffffff;
          text-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
        }
      }
    }
    
    // Pulse glow animation
    @keyframes pulse-glow {
      0%, 100% {
        opacity: 0;
        transform: scale(1);
      }
      50% {
        opacity: 0.2;
        transform: scale(1.02);
      }
    }
    
    .btn-anim {
      margin-left: auto;
      margin-right: 0;
    }
  }

  // Removed foot-group and anime styles as they were related to the image section

  // Enterprise footer sections
  .footer-section {
    margin-bottom: 30px;
    
    h6 {
      color: #ffffff;
      font-weight: 600;
      font-size: 16px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 20px;
      position: relative;
      &::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, #4a9eff, #00d4ff);
        border-radius: 1px;
      }
    }
  }

  // CTA Section
  .footer-cta-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    
    .cta-content {
      text-align: right;
      
      h6 {
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 24px;
        position: relative;
        &::after {
          content: '';
          position: absolute;
          bottom: -8px;
          left: 50%;
          transform: translateX(-50%);
          width: 30px;
          height: 2px;
          background: linear-gradient(90deg, #4a9eff, #00d4ff);
          border-radius: 1px;
        }
      }
      
      p {
        color: #e0e0e0;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
      }
    }
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    
    li {
      margin-bottom: 12px;
      &:last-child {
        margin-bottom: 0;
      }
    }
    
    a {
      color: #e0e0e0;
      font-weight: 400;
      font-family: var(--mont);
      font-size: 14px;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      
      &:hover {
        color: #4a9eff;
        transform: translateX(4px);
      }
    }
  }

  // Legacy ul styles for contact section
  ul {
    li {
      margin-bottom: 20px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
    }
    a {
      color: #e0e0e0;
      font-weight: 500;
      font-family: var(--mont);
      font-size: 13px;
      transition: all 0.3s ease;
      &:hover {
        color: #4a9eff;
        transform: translateX(4px);
      }
    }
  }

  .footer__inner {
    padding-bottom: 60px;
  }

  .footer__inner-single {
    display: flex;
    align-items: center;
    gap: 20px;
    .thumb {
      @include box(48px);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(74, 158, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
      border: 1px solid rgba(74, 158, 255, 0.3);
      transition: all 0.3s ease;
      &:hover {
        background: linear-gradient(135deg, rgba(74, 158, 255, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
        border-color: rgba(74, 158, 255, 0.5);
        transform: translateY(-2px);
      }
    }

    a {
      &:hover {
        color: var(--quaternary-color);
      }
    }
  }

  .footer-copyright {
    padding: 20px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);

    a {
      &:hover {
        color: #4a9eff;
      }
    }

    .social {
      a {
        background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
        border: 1px solid rgba(74, 158, 255, 0.2);
        border-radius: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #e0e0e0;
        font-size: 16px;
        margin: 0 6px;
        transition: all 0.3s ease;
        &:hover {
          color: #ffffff;
          background: linear-gradient(135deg, rgba(74, 158, 255, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
          border-color: rgba(74, 158, 255, 0.5);
          transform: translateY(-2px);
          box-shadow: 0 6px 20px rgba(74, 158, 255, 0.3);
        }
      }
    }
  }

  // Removed arrow styles as image is no longer used

  // Enterprise-specific enhancements
  .title-anim {
    background: linear-gradient(135deg, #ffffff 0%, #4a9eff 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .text-xl {
    color: #e0e0e0;
    line-height: 1.6;
    font-weight: 400;
    font-size: 18px;
  }

  .max-width-800 {
    max-width: 800px;
  }

  .btn-anim {
    background: #1a1a1a;
    border: 2px solid #4a9eff;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    
    &:hover {
      background: #4a9eff;
      border-color: #4a9eff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
    }
    
    i {
      transition: transform 0.3s ease;
    }
    
    &:hover i {
      transform: translateX(2px);
    }
    
    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
      transition: left 0.5s ease;
    }
    
    &:hover {
      background: #4a9eff;
      border-color: #4a9eff;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
      
      &:before {
        left: 100%;
      }
    }
    
    i {
      margin-left: 8px;
      font-size: 11px;
    }
  }

  // Enhanced contact section styling
  .footer__inner-single {
    .content {
      h5 {
        color: #ffffff;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.5px;
      }
      p {
        color: #b0b0b0;
        font-size: 13px;
        line-height: 1.5;
        a {
          color: #b0b0b0;
          transition: color 0.3s ease;
          &:hover {
            color: #4a9eff;
          }
        }
      }
    }
  }

  // Copyright section enhancements
  .footer__copyright-text {
    p {
      color: #888888;
      font-size: 14px;
      a {
        color: #4a9eff;
        font-weight: 600;
        &:hover {
          color: #00d4ff;
        }
      }
    }
  }
}


// Responsive styles for security badges
@media (max-width: 991.98px) {
  .footer-logo-section {
    .enterprise-security-badges {
      gap: 30px;
    }
    
    .footer-logo img {
      max-height: 100px;
    }
    
    .security-badges-left,
    .security-badges-right {
      min-width: 120px;
      gap: 12px;
    }
    
    .security-badge {
      padding: 8px 12px;
      
      i {
        font-size: 12px;
        width: 14px;
      }
      
      span {
        font-size: 11px;
      }
    }
  }
}

@media (max-width: 767.98px) {
  .footer-logo-section {
    .enterprise-security-badges {
      flex-direction: column;
      gap: 20px;
    }
    
    .footer-logo img {
      max-height: 80px;
    }
    
    .security-badges-left,
    .security-badges-right {
      flex-direction: row;
      justify-content: center;
      gap: 15px;
      min-width: auto;
    }
    
    .security-badge {
      padding: 7px 10px;
      
      i {
        font-size: 11px;
        width: 12px;
      }
      
      span {
        font-size: 10px;
      }
    }
  }
}

@media (max-width: 575.98px) {
  .footer-logo-section {
    .footer-logo img {
      max-height: 60px;
    }
    
    .security-badges-left,
    .security-badges-right {
      flex-direction: column;
      gap: 10px;
    }
    
    .security-badge {
      padding: 6px 8px;
      
      i {
        font-size: 10px;
        width: 10px;
      }
      
      span {
        font-size: 9px;
      }
    }
  }
}

/* ==== 
 --------- (4.03) footer styles end ---------
 ==== */
