/**
 * Prasinos Tech Innovations - Global Footer Styles
 * Extracted from home/index.html to ensure 100% visual parity across all pages.
 */

:root {
  --prasinos-navy: #003b63;
  --prasinos-blue: #009fe3;
  --prasinos-green: #8dc63f;
}

/* --- Ambient Floating Orbs --- */
.ft-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(70px);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: 26s ease-in-out 0s infinite alternate none running ftOrb;
}

.ft-orb:nth-child(1) {
  background: rgba(0, 159, 227, 0.6);
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -40px;
}

.ft-orb:nth-child(2) {
  background: rgba(141, 198, 63, 0.5);
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: 120px;
  animation-delay: 4s;
}

.ft-orb:nth-child(3) {
  background: rgba(56, 189, 248, 0.45);
  width: 280px;
  height: 280px;
  left: 50%;
  bottom: -160px;
  transform: translateX(-50%);
  animation-delay: 8s;
}

@keyframes ftOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -18px, 0) scale(1.05); }
  100% { transform: translate3d(-16px, 12px, 0) scale(1.02); }
}

/* --- Fade In Animation --- */
.ft-fade {
  opacity: 0;
  transform: translateY(18px);
  animation: 0.8s ease-out 0s 1 normal forwards running ftFade;
}

@keyframes ftFade {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Animated Gradient Underline Link --- */
.ft-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}

.ft-link:visited {
  color: #ffffff;
}

.ft-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--prasinos-blue), var(--prasinos-green));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.25s ease-out;
}

.ft-link:hover::after {
  transform: scaleX(1);
}

/* --- Global Footer Navigation Lists (Knowledge Hub, Solutions, Company) --- */
.ekit-template-content-footer footer ul,
#pti-global-footer footer ul,
#pti-global-footer ul,
.site-footer ul {
  color: #ffffff !important;
}

.ekit-template-content-footer footer ul li,
#pti-global-footer footer ul li,
#pti-global-footer ul li,
.site-footer ul li {
  color: #ffffff !important;
}

.ekit-template-content-footer footer ul li::marker,
#pti-global-footer footer ul li::marker,
#pti-global-footer ul li::marker,
.site-footer ul li::marker {
  color: #ffffff !important;
}

.ekit-template-content-footer footer ul li a,
.ekit-template-content-footer footer ul li a:link,
.ekit-template-content-footer footer ul li a:visited,
#pti-global-footer footer ul li a,
#pti-global-footer footer ul li a:link,
#pti-global-footer footer ul li a:visited,
#pti-global-footer ul li a,
#pti-global-footer ul li a:link,
#pti-global-footer ul li a:visited,
.ekit-template-content-footer footer a.text-white,
.ekit-template-content-footer footer a.text-white:link,
.ekit-template-content-footer footer a.text-white:visited,
#pti-global-footer footer a.text-white,
#pti-global-footer footer a.text-white:link,
#pti-global-footer footer a.text-white:visited {
  color: #ffffff !important;
  text-decoration: none;
}

.ekit-template-content-footer footer ul li a:hover,
#pti-global-footer footer ul li a:hover,
#pti-global-footer ul li a:hover,
.ekit-template-content-footer footer a.text-white:hover,
#pti-global-footer footer a.text-white:hover {
  color: #38bdf8 !important;
}

.ekit-template-content-footer footer ul li a:active,
.ekit-template-content-footer footer ul li a:focus,
#pti-global-footer footer ul li a:active,
#pti-global-footer footer ul li a:focus,
#pti-global-footer ul li a:active,
#pti-global-footer ul li a:focus,
.ekit-template-content-footer footer a.text-white:active,
#pti-global-footer footer a.text-white:active {
  color: #38bdf8 !important;
}

/* --- Circular Social Icon Buttons --- */
.ft-social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  color: #f1f5f9;
  text-decoration: none;
}

.ft-social i {
  font-size: 14px;
}

.ft-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.ft-social:hover {
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.25), rgb(15, 23, 42));
  border-color: rgba(56, 189, 248, 0.9);
  transform: translateY(-2px);
  box-shadow: rgba(15, 23, 42, 0.9) 0 12px 30px;
  color: #38bdf8;
}

.ft-social:hover svg {
  fill: #38bdf8;
  transform: scale(1.12);
}

/* --- Bottom Copyright Bar --- */
.ft-bottom-border {
  border-top: 1px solid rgba(30, 64, 175, 0.5);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(74, 222, 128, 0.12), transparent 55%),
              rgb(15, 23, 42);
}

/* --- Embedded Tailwind Utility Styles for Global Standalone Support --- */
.ekit-template-content-footer footer {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.ekit-template-content-footer footer * {
  box-sizing: border-box;
}

.ekit-template-content-footer .relative { position: relative; }
.ekit-template-content-footer .absolute { position: absolute; }
.ekit-template-content-footer .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.ekit-template-content-footer .-z-10 { z-index: -10; }
.ekit-template-content-footer .pointer-events-none { pointer-events: none; }
.ekit-template-content-footer .overflow-hidden { overflow-hidden: hidden; overflow: hidden; }

.ekit-template-content-footer .bg-\[\#02101f\] { background-color: #02101f; }
.ekit-template-content-footer .bg-slate-900 { background-color: #0f172a; }
.ekit-template-content-footer .bg-slate-900\/70 { background-color: rgba(15, 23, 42, 0.7); }
.ekit-template-content-footer .bg-white { background-color: #ffffff; }
.ekit-template-content-footer .bg-gradient-to-r { background-image: linear-gradient(to right, var(--prasinos-blue), var(--prasinos-green)); }

.ekit-template-content-footer .text-white { color: #ffffff !important; }
.ekit-template-content-footer .text-slate-100 { color: #f1f5f9; }
.ekit-template-content-footer .text-slate-300 { color: #cbd5e1; }
.ekit-template-content-footer .text-slate-400 { color: #94a3b8; }
.ekit-template-content-footer .text-slate-950 { color: #020617; }
.ekit-template-content-footer .text-sky-400 { color: #38bdf8; }
.ekit-template-content-footer .text-emerald-400 { color: #34d399; }

.ekit-template-content-footer .text-xs { font-size: 0.75rem; line-height: 1rem; }
.ekit-template-content-footer .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.ekit-template-content-footer .text-base { font-size: 1rem; line-height: 1.5rem; }
.ekit-template-content-footer .text-\[11px\] { font-size: 11px; line-height: 1rem; }

.ekit-template-content-footer .font-bold { font-weight: 700; }
.ekit-template-content-footer .font-semibold { font-weight: 600; }
.ekit-template-content-footer .uppercase { text-transform: uppercase; }
.ekit-template-content-footer .tracking-wide { letter-spacing: 0.025em; }
.ekit-template-content-footer .tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.ekit-template-content-footer .tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.ekit-template-content-footer .leading-snug { line-height: 1.375; }
.ekit-template-content-footer .leading-relaxed { line-height: 1.625; }

.ekit-template-content-footer .flex { display: flex; }
.ekit-template-content-footer .flex-1 { flex: 1 1 0%; }
.ekit-template-content-footer .flex-col { flex-direction: column; }
.ekit-template-content-footer .items-center { align-items: center; }
.ekit-template-content-footer .justify-between { justify-content: space-between; }
.ekit-template-content-footer .justify-center { justify-content: center; }
.ekit-template-content-footer .shrink-0 { flex-shrink: 0; }
.ekit-template-content-footer .grid { display: grid; }

.ekit-template-content-footer .gap-3 { gap: 0.75rem; }
.ekit-template-content-footer .gap-4 { gap: 1rem; }
.ekit-template-content-footer .gap-6 { gap: 1.5rem; }
.ekit-template-content-footer .gap-8 { gap: 2rem; }
.ekit-template-content-footer .gap-10 { gap: 2.5rem; }

.ekit-template-content-footer .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.ekit-template-content-footer .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.ekit-template-content-footer .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

.ekit-template-content-footer .w-full { width: 100%; }
.ekit-template-content-footer .w-auto { width: auto; }
.ekit-template-content-footer .h-10 { height: 2.5rem; }
.ekit-template-content-footer .h-full { height: 100%; }

.ekit-template-content-footer .max-w-6xl { max-width: 72rem; }
.ekit-template-content-footer .max-w-xl { max-width: 36rem; }
.ekit-template-content-footer .max-w-\[160px\] { max-width: 160px; }
.ekit-template-content-footer .mx-auto { margin-left: auto; margin-right: auto; }

.ekit-template-content-footer .p-2 { padding: 0.5rem; }
.ekit-template-content-footer .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.ekit-template-content-footer .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.ekit-template-content-footer .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.ekit-template-content-footer .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.ekit-template-content-footer .pt-1 { padding-top: 0.25rem; }
.ekit-template-content-footer .pt-2 { padding-top: 0.5rem; }
.ekit-template-content-footer .pt-6 { padding-top: 1.5rem; }
.ekit-template-content-footer .pt-12 { padding-top: 3rem; }
.ekit-template-content-footer .pb-2 { padding-bottom: 0.5rem; }

.ekit-template-content-footer .mt-1 { margin-top: 0.25rem; }
.ekit-template-content-footer .mt-4 { margin-top: 1rem; }
.ekit-template-content-footer .mt-8 { margin-top: 2rem; }
.ekit-template-content-footer .mt-10 { margin-top: 2.5rem; }
.ekit-template-content-footer .mt-12 { margin-top: 3rem; }
.ekit-template-content-footer .mb-1 { margin-bottom: 0.25rem; }

.ekit-template-content-footer .border { border-width: 1px; border-style: solid; }
.ekit-template-content-footer .border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.ekit-template-content-footer .border-t { border-top-width: 1px; border-top-style: solid; }
.ekit-template-content-footer .border-slate-800 { border-color: #1e293b; }
.ekit-template-content-footer .border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8); }
.ekit-template-content-footer .border-slate-700\/60 { border-color: rgba(51, 65, 85, 0.6); }
.ekit-template-content-footer .border-slate-600\/80 { border-color: rgba(71, 85, 105, 0.8); }

.ekit-template-content-footer .rounded-full { border-radius: 9999px; }
.ekit-template-content-footer .rounded-lg { border-radius: 0.5rem; }
.ekit-template-content-footer .rounded-xl { border-radius: 0.75rem; }
.ekit-template-content-footer .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.ekit-template-content-footer .outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.ekit-template-content-footer .object-contain { object-fit: contain; }

.ekit-template-content-footer .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.ekit-template-content-footer .transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.ekit-template-content-footer input::placeholder { color: #94a3b8; }
.ekit-template-content-footer input:focus { border-color: #38bdf8 !important; }
.ekit-template-content-footer button:hover { filter: brightness(1.1); cursor: pointer; }
.ekit-template-content-footer a { transition: color 0.2s ease; }
.ekit-template-content-footer .hover\:text-white:hover { color: #ffffff !important; }
.ekit-template-content-footer .hover\:text-sky-400:hover { color: #38bdf8 !important; }

/* Responsive adjustments */
@media (min-width: 640px) {
  .ekit-template-content-footer .sm\:flex-row { flex-direction: row; }
  .ekit-template-content-footer .sm\:items-center { align-items: center; }
  .ekit-template-content-footer .sm\:justify-between { justify-content: space-between; }
  .ekit-template-content-footer .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .ekit-template-content-footer .lg\:flex-row { flex-direction: row; }
  .ekit-template-content-footer .lg\:items-center { align-items: center; }
  .ekit-template-content-footer .lg\:justify-between { justify-content: space-between; }
  .ekit-template-content-footer .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ekit-template-content-footer .lg\:pt-16 { padding-top: 4rem; }
  .ekit-template-content-footer .lg\:h-\[200px\] { height: 200px; }
}
