/* Site Footer Premium Styling */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Uiverse Style Social Icons - Global for Footer */
.uiverse-wrapper {
  display: inline-flex;
  list-style: none;
  padding: 15px 0;
  font-family: "Poppins", sans-serif;
  justify-content: center;
  gap: 15px;
}

.uiverse-wrapper .icon {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.uiverse-wrapper .icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Brand Colors by Default */
.uiverse-wrapper .facebook i, 
.uiverse-wrapper .facebook svg,
.uiverse-wrapper .facebook svg path { color: #1877f2 !important; fill: #1877f2 !important; }

.uiverse-wrapper .twitter i, 
.uiverse-wrapper .twitter svg,
.uiverse-wrapper .twitter svg path { color: #1da1f2 !important; fill: #1da1f2 !important; }

.uiverse-wrapper .instagram i, 
.uiverse-wrapper .instagram svg,
.uiverse-wrapper .instagram svg path { color: #e4405f !important; fill: #e4405f !important; }

.uiverse-wrapper .linkedin i, 
.uiverse-wrapper .linkedin svg,
.uiverse-wrapper .linkedin svg path { color: #0077b5 !important; fill: #0077b5 !important; }

.uiverse-wrapper .youtube i, 
.uiverse-wrapper .youtube svg,
.uiverse-wrapper .youtube svg path { color: #ff0000 !important; fill: #ff0000 !important; }

.uiverse-wrapper .whatsapp i, 
.uiverse-wrapper .whatsapp svg,
.uiverse-wrapper .whatsapp svg path { color: #25d366 !important; fill: #25d366 !important; }

.uiverse-wrapper .github i, 
.uiverse-wrapper .github svg,
.uiverse-wrapper .github svg path { color: #333 !important; fill: #333 !important; }

/* GitHub color adjustment for dark theme */
body:not([data-theme="light"]) .uiverse-wrapper .github i,
body:not([data-theme="light"]) .uiverse-wrapper .github svg,
body:not([data-theme="light"]) .uiverse-wrapper .github svg path {
    color: #fff !important;
    fill: #fff !important;
}

.uiverse-wrapper .icon:hover i,
.uiverse-wrapper .icon:hover svg,
.uiverse-wrapper .icon:hover svg path {
  color: #fff !important;
  fill: #fff !important;
}

.uiverse-wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  z-index: 10;
}

.uiverse-wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse-wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.uiverse-wrapper .icon:hover {
  color: #fff;
  transform: translateY(-5px);
}

.uiverse-wrapper .facebook:hover { background: #1877f2; border-color: #1877f2; }
.uiverse-wrapper .twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.uiverse-wrapper .instagram:hover { background: #e4405f; border-color: #e4405f; }
.uiverse-wrapper .linkedin:hover { background: #0077b5; border-color: #0077b5; }
.uiverse-wrapper .youtube:hover { background: #ff0000; border-color: #ff0000; }
.uiverse-wrapper .whatsapp:hover { background: #25d366; border-color: #25d366; }
.uiverse-wrapper .github:hover { background: #333; border-color: #333; }

.uiverse-wrapper .facebook:hover .tooltip, .uiverse-wrapper .facebook:hover .tooltip::before { background: #1877f2; }
.uiverse-wrapper .twitter:hover .tooltip, .uiverse-wrapper .twitter:hover .tooltip::before { background: #1da1f2; }
.uiverse-wrapper .instagram:hover .tooltip, .uiverse-wrapper .instagram:hover .tooltip::before { background: #e4405f; }
.uiverse-wrapper .linkedin:hover .tooltip, .uiverse-wrapper .linkedin:hover .tooltip::before { background: #0077b5; }
.uiverse-wrapper .youtube:hover .tooltip, .uiverse-wrapper .youtube:hover .tooltip::before { background: #ff0000; }
.uiverse-wrapper .whatsapp:hover .tooltip, .uiverse-wrapper .whatsapp:hover .tooltip::before { background: #25d366; }
.uiverse-wrapper .github:hover .tooltip, .uiverse-wrapper .github:hover .tooltip::before { background: #333; }

/* Light Theme Support - Icons */
body[data-theme="light"] .uiverse-wrapper .icon {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body[data-theme="light"] .uiverse-wrapper .github i,
body[data-theme="light"] .uiverse-wrapper .github svg,
body[data-theme="light"] .uiverse-wrapper .github svg path {
    color: #333 !important;
    fill: #333 !important;
}

body[data-theme="light"] .uiverse-wrapper .facebook i, 
body[data-theme="light"] .uiverse-wrapper .facebook svg,
body[data-theme="light"] .uiverse-wrapper .facebook svg path { color: #1877f2 !important; fill: #1877f2 !important; }

body[data-theme="light"] .uiverse-wrapper .twitter i, 
body[data-theme="light"] .uiverse-wrapper .twitter svg,
body[data-theme="light"] .uiverse-wrapper .twitter svg path { color: #1da1f2 !important; fill: #1da1f2 !important; }

body[data-theme="light"] .uiverse-wrapper .instagram i, 
body[data-theme="light"] .uiverse-wrapper .instagram svg,
body[data-theme="light"] .uiverse-wrapper .instagram svg path { color: #e4405f !important; fill: #e4405f !important; }

body[data-theme="light"] .uiverse-wrapper .linkedin i, 
body[data-theme="light"] .uiverse-wrapper .linkedin svg,
body[data-theme="light"] .uiverse-wrapper .linkedin svg path { color: #0077b5 !important; fill: #0077b5 !important; }

body[data-theme="light"] .uiverse-wrapper .youtube i, 
body[data-theme="light"] .uiverse-wrapper .youtube svg,
body[data-theme="light"] .uiverse-wrapper .youtube svg path { color: #ff0000 !important; fill: #ff0000 !important; }

body[data-theme="light"] .uiverse-wrapper .whatsapp i, 
body[data-theme="light"] .uiverse-wrapper .whatsapp svg,
body[data-theme="light"] .uiverse-wrapper .whatsapp svg path { color: #25d366 !important; fill: #25d366 !important; }

body[data-theme="light"] .uiverse-wrapper .icon:hover i,
body[data-theme="light"] .uiverse-wrapper .icon:hover svg,
body[data-theme="light"] .uiverse-wrapper .icon:hover svg path {
  color: #fff !important;
  fill: #fff !important;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-col h4.footer-h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4.footer-h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00ff88;
    border-radius: 2px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-links .uiverse-wrapper {
    padding: 0;
    justify-content: flex-start;
    gap: 10px;
}

.footer-social-links .uiverse-wrapper .icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin: 0;
}

.footer-social-links .uiverse-wrapper .icon:hover .tooltip {
    top: -40px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 18px;
    color: #00ff88;
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: -10px;
}

.footer-links li a:hover {
    color: #00ff88;
    padding-left: 10px;
}

.footer-links li a:hover i {
    opacity: 1;
    margin-left: 0;
}

/* Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    font-size: 20px;
    color: #00ff88;
    margin-top: 3px;
}

.footer-contact-item .item-detail span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.footer-contact-item .item-detail a,
.footer-contact-item .item-detail strong {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact-item .item-detail a:hover {
    color: #00ff88;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.accent-text {
    color: #00ff88;
    font-weight: 600;
}

.footer-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #00ff88;
    font-family: 'Orbitron', sans-serif;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.footer-terms-link {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-terms-link:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Light Theme */
body[data-theme="light"] .footer-terms-link {
    color: #00ad5d;
}

/* Light Theme */
body[data-theme="light"] .site-footer {
    background: #f8f9fa;
    border-top-color: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

body[data-theme="light"] .footer-col h4.footer-h4 {
    color: #1a1a1a !important;
}

body[data-theme="light"] .footer-about,
body[data-theme="light"] .footer-links li a,
body[data-theme="light"] .footer-copyright {
    color: #555;
}

body[data-theme="light"] .footer-logo span {
    background: linear-gradient(to right, #1a1a1a, #00ad5d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body[data-theme="light"] .footer-social-links .uiverse-wrapper .icon {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .footer-contact-item .item-detail a,
body[data-theme="light"] .footer-contact-item .item-detail strong {
    color: #1a1a1a;
}

body[data-theme="light"] .footer-bottom {
    background: rgba(0, 0, 0, 0.02);
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-col.brand-col {
        grid-column: span 2;
    }

    .footer-col.contact-col {
        grid-column: span 2;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }

    .footer-contact-item .item-detail a,
    .footer-contact-item .item-detail strong {
        font-size: 13px;
        word-break: break-all;
    }
}

