/* ============================================
   DIGITX RESPONSIVE FOOTER CSS
   ============================================ */

.footer {
    background-color: #0b1f3a;
    color: #fff;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
}
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.footer-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 0.5rem;
}
/*.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}*/
/*.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}*/
.footer-logo-icon {
    text-align: center;
}
.footer-logo-icon svg {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}
.footer-logo-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
}
.footer-logo-text p {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
    margin-top: -3px;
}
.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fff;
    margin-top: 1rem;
}
.footer-about {
    gap: 0rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background-color: #D4AF37;
    color: #0f0f0f;
    border-color: #D4AF37;
    transform: translateY(-3px);
}
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}
.footer-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
    bottom: -2px;
}
.footer-list li a:hover {
    color: #fff;
}
.footer-list li a:hover::before {
    width: 100%;
}
.contact-item {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
}
.contact-item p a {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
    text-decoration: none;
}
.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.newsletter-description {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.newsletter-input {
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #16345e;
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}
.newsletter-input::placeholder {
    color: #fff;
}
.newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #16345e;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.newsletter-button {
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    color: #0f0f0f;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}
.newsletter-button:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}
.newsletter-button .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.newsletter-button:hover .arrow {
    transform: translateX(3px);
}
.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: #fff;
    font-size: 0.85rem;
    background-color: #0b1f3a;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }
    .footer-logo-text h3 {
        font-size: 1.1rem;
    }
    .footer-description {
        font-size: 0.85rem;
    }
    .footer-section-title {
        font-size: 0.9rem;
    }
    .footer-list li a {
        font-size: 0.85rem;
    }
    .contact-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
    .footer-section-title {
        font-size: 0.85rem;
    }
    .footer-list li a {
        font-size: 0.8rem;
    }
    .contact-item {
        font-size: 0.8rem;
    }
    .newsletter-input,
    .newsletter-button {
        font-size: 0.8rem;
    }
    .social-links {
        gap: 0.8rem;
    }
    .social-icon {
        width: 36px;
        height: 36px;
    }
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    .footer-about {
        grid-column: 1;
    }
    .footer-logo {
        margin-bottom: 1rem;
    }
    .footer-logo-text h3 {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .footer-logo-text p {
        font-size: 0.55rem;
    }
    .footer-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .footer-section-title {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    .footer-list {
        gap: 0.6rem;
    }
    .footer-list li a {
        font-size: 0.75rem;
    }
    .contact-item {
        font-size: 0.75rem;
    }
    .contact-icon {
        width: 16px;
        height: 16px;
    }
    .newsletter-description {
        font-size: 0.8rem;
    }
    .newsletter-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }
    .newsletter-button {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    .social-links {
        gap: 0.6rem;
    }
    .social-icon {
        width: 32px;
        height: 32px;
    }
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    .footer-bottom {
        padding: 1.5rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
button:focus,
input:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

  .float-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fbtPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  .float-whatsapp:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
  }
  .float-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
  }
  .float-whatsapp::before {
    content: 'Chat on WhatsApp';
    position: absolute;
    right: 62px;
    background: #1a1a2e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-shadow: 0 4px 14px #0b1f3a;
  }
  .float-whatsapp:hover::before { opacity: 1; }
  .float-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #0b1f3a;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px #fff;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease;
  }
  .float-scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: fbtPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  .float-scroll-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 28px rgba(58, 143, 239, 0.6);
  }
  .float-scroll-top svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
  }
  .float-scroll-top:hover svg {
    transform: translateY(-2px);
  }
  .float-scroll-top::before {
    content: 'Back to Top';
    position: absolute;
    right: 62px;
    background: #1a1a2e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  }
  .float-scroll-top:hover::before { opacity: 1; }
  .float-scroll-top .progress-ring {
    position: absolute;
    inset: -4px;
    width: 62px;
    height: 62px;
  }
  .float-scroll-top .progress-ring circle {
    fill: none;
    stroke: #0b1f3a;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 175;
    stroke-dashoffset: 175;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.1s linear;
  }
  @keyframes fbtPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  .float-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2.5s ease-out infinite;
  }
  @keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
  }

  @media (max-width: 600px) {
    .float-whatsapp,
    .float-scroll-top { width: 48px; height: 48px; right: 16px; }
    .float-whatsapp { bottom: 80px; }
    .float-scroll-top { bottom: 20px; }
    .float-whatsapp::before,
    .float-scroll-top::before { display: none; }
  }