/* ============================================================
   ICTDesk — footer-styles.css  (Premium Animated Blue Edition)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ===================================================================
   KEYFRAMES
   =================================================================== */

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

@keyframes bgShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0px)   scale(1);    opacity: 0.3; }
  33%       { transform: translateY(-18px) scale(1.15); opacity: 0.7; }
  66%       { transform: translateY(-8px)  scale(0.9);  opacity: 0.5; }
}

@keyframes particleDrift {
  0%   { transform: translateY(0)   translateX(0)   scale(1);   opacity: 0.25; }
  25%  { transform: translateY(-22px) translateX(8px)  scale(1.2); opacity: 0.6; }
  50%  { transform: translateY(-14px) translateX(-6px) scale(0.85); opacity: 0.4; }
  75%  { transform: translateY(-30px) translateX(4px)  scale(1.1); opacity: 0.65; }
  100% { transform: translateY(0)   translateX(0)   scale(1);   opacity: 0.25; }
}

@keyframes waveSway1 {
  0%, 100% { d: path("M0,40 C180,80 360,0 540,40 C720,80 900,0 1080,40 C1260,80 1440,20 1440,40 L1440,80 L0,80 Z"); }
  50%       { d: path("M0,30 C180,60 360,10 540,30 C720,60 900,10 1080,30 C1260,60 1440,30 1440,30 L1440,80 L0,80 Z"); }
}

@keyframes waveSway2 {
  0%, 100% { d: path("M0,55 C200,20 400,70 600,45 C800,20 1000,65 1200,45 C1320,35 1400,50 1440,55 L1440,80 L0,80 Z"); }
  50%       { d: path("M0,45 C200,70 400,30 600,55 C800,70 1000,35 1200,55 C1320,65 1400,40 1440,45 L1440,80 L0,80 Z"); }
}

@keyframes socialPulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(96,165,250,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(96,165,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(96,165,250,0); }
}

@keyframes nlGradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%            { opacity: 1;   transform: scale(1); }
}

@keyframes linkSlideIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes chipGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(59,130,246,0.2); }
  50%       { box-shadow: 0 0 20px rgba(59,130,246,0.5); }
}


/* ===================================================================
   BASE FOOTER
   =================================================================== */

.ict-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0f1e 0%, #0d1b3e 40%, #0f2460 70%, #1a3a8f 100%);
  background-size: 300% 300%;
  animation: bgShimmer 18s ease-in-out infinite;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #cbd5e1;
  padding-top: 0;
}

/* subtle dot-grid overlay */
.ict-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(96,165,250,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* radial blue glow blob centre */
.ict-footer::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ict-footer > * {
  position: relative;
  z-index: 1;
}


/* ===================================================================
   PARTICLES
   =================================================================== */

.ict-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ict-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,197,253,0.9) 0%, rgba(59,130,246,0.4) 60%, transparent 100%);
  filter: blur(1px);
}

.ict-particle.p1 { width: 8px;  height: 8px;  top: 12%;  left: 8%;   animation: particleDrift 7s  ease-in-out infinite; }
.ict-particle.p2 { width: 5px;  height: 5px;  top: 25%;  left: 20%;  animation: particleDrift 9s  ease-in-out infinite 1.5s; }
.ict-particle.p3 { width: 10px; height: 10px; top: 8%;   left: 45%;  animation: particleDrift 11s ease-in-out infinite 0.7s; }
.ict-particle.p4 { width: 6px;  height: 6px;  top: 40%;  left: 65%;  animation: particleDrift 8s  ease-in-out infinite 2.2s; }
.ict-particle.p5 { width: 9px;  height: 9px;  top: 18%;  left: 80%;  animation: particleDrift 10s ease-in-out infinite 0.4s; }
.ict-particle.p6 { width: 4px;  height: 4px;  top: 55%;  left: 90%;  animation: particleDrift 6s  ease-in-out infinite 3s; }
.ict-particle.p7 { width: 7px;  height: 7px;  top: 70%;  left: 30%;  animation: particleDrift 12s ease-in-out infinite 1s; }
.ict-particle.p8 { width: 5px;  height: 5px;  top: 80%;  left: 55%;  animation: particleDrift 9s  ease-in-out infinite 2.5s; }


/* ===================================================================
   WAVE
   =================================================================== */

.ict-footer-wave {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: -2px;
  line-height: 0;
  overflow: hidden;
}

.ict-footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-path-1 {
  animation: waveSway1 10s ease-in-out infinite;
}

.wave-path-2 {
  animation: waveSway2 13s ease-in-out infinite reverse;
}


/* ===================================================================
   FOOTER TOP GRID
   =================================================================== */

.ict-footer-top {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1fr;
  gap: 48px 36px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 32px 48px;
}

@media (max-width: 1100px) {
  .ict-footer-top {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 36px 28px;
  }
  .ict-footer-top .ict-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .ict-footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px 32px;
  }
  .ict-footer-top .ict-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .ict-footer-top {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
   BRAND COLUMN
   =================================================================== */

.ict-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover { opacity: 0.85; }

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37,99,235,0.5);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-name span {
  color: #60a5fa;
}

.brand-desc {
  font-size: 0.87rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 340px;
  margin: 0;
}

/* Address block */
.ict-footer-address {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #94a3b8;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.ict-footer-address strong {
  color: #cbd5e1;
}

.ict-footer-address a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ict-footer-address a:hover {
  color: #fff;
}

/* Email CTA */
.ict-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #93c5fd;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: 8px;
  padding: 7px 14px;
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ict-footer-email:hover {
  color: #fff;
  background: rgba(147,197,253,0.1);
  border-color: rgba(147,197,253,0.5);
}


/* ===================================================================
   SOCIAL ICONS
   =================================================================== */

.ict-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #93c5fd;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(96,165,250,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  background: rgba(37,99,235,0.3);
  border-color: rgba(96,165,250,0.6);
  color: #fff;
  box-shadow: 0 6px 24px rgba(59,130,246,0.45), 0 0 0 0 rgba(96,165,250,0.4);
  animation: socialPulseRing 1.2s ease-out;
}

.social-btn:hover::before {
  opacity: 1;
}

/* Per-platform accent on hover */
.social-twitter:hover  { box-shadow: 0 6px 22px rgba(29,155,240,0.5); border-color: rgba(29,155,240,0.7); }
.social-linkedin:hover { box-shadow: 0 6px 22px rgba(10,102,194,0.5); border-color: rgba(10,102,194,0.7); }
.social-github:hover   { box-shadow: 0 6px 22px rgba(200,200,200,0.3); border-color: rgba(200,200,200,0.5); }
.social-facebook:hover { box-shadow: 0 6px 22px rgba(24,119,242,0.5); border-color: rgba(24,119,242,0.7); }
.social-youtube:hover  { box-shadow: 0 6px 22px rgba(255,0,0,0.4);    border-color: rgba(255,0,0,0.5); color: #ff4545; }
.social-instagram:hover{ box-shadow: 0 6px 22px rgba(225,48,108,0.4); border-color: rgba(225,48,108,0.6); }
.social-whatsapp:hover { box-shadow: 0 6px 22px rgba(37,211,102,0.4); border-color: rgba(37,211,102,0.6); color: #25d366; }


/* ===================================================================
   NAV COLUMNS
   =================================================================== */

.ict-footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(96,165,250,0.2);
}

.ict-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ict-footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 450;
  padding: 5px 0;
  border-radius: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.ict-footer-col ul li a:hover {
  color: #93c5fd;
  transform: translateX(4px);
}

.ft-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(96,165,250,0.4);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ict-footer-col ul li a:hover .ft-dot {
  background: #60a5fa;
  transform: scale(1.4);
}

.ft-badge {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.4;
  margin-left: 2px;
  text-transform: uppercase;
}

.ft-badge-green {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}

.ft-badge-amber {
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.3);
}


/* ===================================================================
   NEWSLETTER
   =================================================================== */

.ict-footer-newsletter {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px 40px;
}

/* animated gradient border wrapper */
.ict-newsletter-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* gradient border via pseudo-element */
.ict-newsletter-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 19.5px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6, #60a5fa, #a78bfa, #3b82f6, #1d4ed8);
  background-size: 300% 100%;
  animation: nlGradientBorder 5s linear infinite;
  z-index: -1;
}

.ict-newsletter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(10, 20, 50, 0.85);
  z-index: -1;
}

.nl-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(96,165,250,0.25);
  flex-shrink: 0;
}

.nl-text {
  flex: 1;
  min-width: 200px;
}

.nl-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 4px;
}

.nl-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.ict-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.ict-newsletter-form input {
  padding: 11px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  width: 240px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
}

.ict-newsletter-form input::placeholder {
  color: #64748b;
}

.ict-newsletter-form input:focus {
  border-color: rgba(96,165,250,0.5);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.ict-newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

.ict-newsletter-form button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 24px rgba(37,99,235,0.55);
}

.ict-newsletter-form button:active {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .ict-newsletter-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ict-newsletter-form input { width: 100%; }
  .ict-newsletter-form { width: 100%; }
  .ict-newsletter-form button { flex: 1; justify-content: center; }
}


/* ===================================================================
   PRODUCT CHIPS
   =================================================================== */

.ict-footer-products {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px 40px;
}

.ict-products-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}

.ict-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ict-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.84rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(8px);
}

.ict-product-chip:hover {
  transform: translateY(-3px);
  background: rgba(37,99,235,0.15);
  border-color: rgba(96,165,250,0.5);
  color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(59,130,246,0.3);
  animation: chipGlow 2s ease-in-out infinite;
}

.ict-product-chip.active-product {
  background: rgba(37,99,235,0.18);
  border-color: rgba(96,165,250,0.4);
  color: #bfdbfe;
  box-shadow: 0 0 16px rgba(59,130,246,0.2);
}

.chip-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chip-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}

.ict-product-chip.active-product .chip-name {
  color: #93c5fd;
}

.chip-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

.ict-product-chip:hover .chip-desc {
  color: #94a3b8;
}


/* ===================================================================
   BOTTOM BAR
   =================================================================== */

.ict-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

.ict-footer-bottom-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.copy {
  font-size: 0.8rem;
  color: #64748b;
}

.copy a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.copy a:hover {
  color: #fff;
}

.ict-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
}

.ict-footer-legal-links a {
  color: #64748b;
  font-size: 0.78rem;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ict-footer-legal-links a:hover {
  color: #93c5fd;
  background: rgba(147,197,253,0.08);
}

/* Status dot */
.ict-footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #64748b;
}

.ict-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: statusPulse 2s ease-out infinite;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ict-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .ict-footer-newsletter { padding: 0 20px 32px; }
  .ict-footer-products   { padding: 0 20px 32px; }
}
