/* =========================================
   Footer V5 - "Luminous Light" Style
   Matches the V5 Product Cards (Light/Clean Tech)
   ========================================= */

.footer-v5 {
    background-color: #f8fafc; /* Slate 50 - Very light grey */
    color: #64748b; /* Slate 500 */
    padding-top: 5rem;
    position: relative;
    /* overflow: hidden; Removed to prevent clipping of the popup card */
    font-size: 0.95rem;
    border-top: 1px solid #e2e8f0;
}

/* Top Gradient Line (Optional, adds tech feel) */
.footer-v5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    opacity: 0.8;
}

/* Background Decoration (Subtle) */
.footer-bg-glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, rgba(248, 250, 252, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-logo-img {
    height: 55px; /* Increased size as requested */
    width: auto;
}

.footer-desc {
    margin-top: 1.5rem;
    line-height: 1.6;
    color: #64748b;
    font-size: 0.9rem;
}

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

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.social-link:hover {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

/* Headings */
.footer-heading {
    color: #1e293b; /* Slate 800 - Dark */
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

/* Links Section */
.footer-links .nav-item {
    margin-bottom: 0.8rem;
}

/* Hover Utility for Light Theme */
.hover-text-blue:hover {
    color: #3b82f6 !important;
    text-decoration: none;
}

/* Fix for visibility issues with Bootstrap text-muted in light footer */
.footer-v5 .text-muted {
    color: #64748b !important;
}

/* Specific fix for copyright links */
.footer-v5 .copyright-text a {
    color: #64748b; /* Ensure links are visible */
}

.footer-v5 .copyright-text a:hover {
    color: #3b82f6 !important;
}

/* Override existing utility classes if needed - SCOPED to footer */
.footer-v5 .text-white {
    color: #1e293b !important; /* Force dark text for "text-white" classes inside footer */
}

/* =========================================
   Exquisite Contact Popup Card
   ========================================= */
.contact-card {
    position: absolute;
    bottom: 50px; /* Position above the icon */
    left: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.1);
    z-index: 1000;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy effect */
    transform-origin: bottom left;
}

.contact-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(to right, #f8fafc, #ffffff);
    border-radius: 16px 16px 0 0;
}

.contact-card-header h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.5px;
}

.contact-card-body {
    padding: 20px;
}

.contact-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.contact-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.contact-row:hover {
    background-color: #f1f5f9;
}

.contact-name {
    color: #94a3b8;
}

.contact-value {
    color: #475569;
    font-weight: 600;
    font-family: 'Monaco', 'Consolas', monospace; /* Tech feel for numbers */
}

/* Close button custom styling */
#close-contact-card {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

#close-contact-card:hover {
    opacity: 1;
}

/* Shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}
