:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f97316;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.sn-footer {
    background: var(--secondary);
    color: white;
    padding: 80px 20px 30px;
    font-family: 'Inter', -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
}

.sn-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Desktop: 3 columns with specific proportions */
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Section */
.sn-footer-brand {
    display: flex;
    flex-direction: column;
}

.sn-footer-brand img.custom-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Ensures logo is white if it's a dark logo */
}

.sn-footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.sn-footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 14px;
    max-width: 350px;
}

/* Social Links */
.sn-social-links {
    display: flex;
    gap: 12px;
}

.sn-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.sn-social-link:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.sn-social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Columns & Links */
.sn-footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.sn-footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.sn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sn-footer-links li {
    margin-bottom: 14px;
}

.sn-footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
}

.sn-footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

/* Bottom Bar */
.sn-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sn-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* ============================================
   RESPONSIVE QUERIES
   ============================================ */

/* Tablet View */
@media (max-width: 1024px) {
    .sn-footer-grid {
        grid-template-columns: 1.5fr 1fr; /* Two columns */
        gap: 40px;
    }
    
    .sn-footer-column:last-child {
        grid-column: span 2; /* Make contact/third column full width */
    }
}

/* Small Tablet / Mobile Landscape */
@media (max-width: 768px) {
    .sn-footer {
        padding: 60px 25px 30px;
    }

    .sn-footer-grid {
        grid-template-columns: 1fr; /* One column stack */
        gap: 50px;
        text-align: center;
    }

    .sn-footer-brand, .sn-footer-column {
        align-items: center;
    }

    .sn-footer-brand img.custom-logo {
        margin: 0 auto 20px;
        max-width: 150px;
    }

    .sn-footer-brand p {
        margin: 0 auto 30px;
    }

    .sn-footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sn-footer-links a:hover {
        transform: translateY(-2px);
    }

    .sn-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .sn-footer-column:last-child {
        grid-column: span 1;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .sn-footer-brand h3 {
        font-size: 22px;
    }
    
    .sn-social-links {
        justify-content: center;
    }
}