/* =========================================
   1. GLOBAL VARIABLES (रंग और फोंट्स)
========================================= */
:root {
    /* ब्रांड कलर्स */
    --brand-primary: #d90429;
    --brand-glow: #ef233c;
    
    /* लाइट मोड डिफॉल्ट्स */
    --bg-body: #f4f7fa; 
    --text-main: #111111;
    --text-muted: #666666;
    --border-color: #e2e8f0;
    --footer-bg: #ffffff;
    --footer-bottom-bg: #f1f5f9;
    --footer-text: #555555;
    
    /* फोंट्स */
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* डार्क मोड सेटिंग्स (Footer Specific) */
[data-theme="dark"] {
    --bg-body: #050505;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #2a2a2a;
    
    /* डार्क फुटर कलर्स */
    --footer-bg: #050505;
    --footer-bottom-bg: #000000;
    --footer-text: #888888;
}

/* बेसिक रीसेट */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
}
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul { list-style: none; padding: 0; margin: 0; }

/* कंटेनर (साइज कंट्रोल) */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   2. FOOTER STYLES (फुटर डिज़ाइन)
========================================= */

/* मुख्य फुटर कंटेनर */
footer { 
    background: var(--footer-bg); 
    border-top: 1px solid var(--border-color); 
    padding-top: 70px; 
    color: var(--footer-text); 
    font-size: 0.9rem; 
    margin-top: 50px; /* डेमो के लिए मार्जिन */
}

/* ग्रिड लेआउट (4 कॉलम्स) */
.ft-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 40px; 
    padding-bottom: 50px; 
}

/* फुटर हेडिंग्स (About, Links, etc.) */
.ft-head { 
    color: var(--text-main); 
    font-size: 1.1rem; 
    font-weight: 800; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    border-left: 3px solid var(--brand-primary); /* लाल लाइन */
    padding-left: 10px; 
}

/* डिस्क्रिप्शन टेक्स्ट (About Us के नीचे) */
.ft-desc {
    line-height: 1.6; 
    margin-bottom: 20px;
    opacity: 0.9;
}

/* --- सोशल मीडिया आइकन्स --- */
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.si-icon { 
    width: 20px; height: 20px; 
    fill: var(--text-muted); 
    cursor: pointer; transition: 0.3s; 
}
/* होवर करने पर ब्रांड कलर */
.si-icon:hover { fill: var(--brand-primary); transform: translateY(-3px); }

/* --- लिंक्स लिस्ट (Quick Links) --- */
.ft-links li { 
    margin-bottom: 12px; 
    border-bottom: 1px dashed var(--border-color); 
    padding-bottom: 10px; 
}
.ft-links li:last-child { border-bottom: none; }

.ft-links a { 
    display: flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.ft-links a::before { content: '›'; font-weight: bold; color: var(--brand-primary); }

/* लिंक होवर इफेक्ट */
.ft-links a:hover { 
    color: var(--brand-primary); 
    padding-left: 5px; 
}

/* --- ऐप डाउनलोड बटन --- */
.app-btn-footer {
    background: linear-gradient(135deg, #1f1f1f, #2a2a2a); 
    color: #fff; 
    border: 1px solid #333;
    padding: 12px 20px; 
    border-radius: 8px; 
    font-weight: 700; font-size: 0.85rem;
    cursor: pointer; 
    display: flex; align-items: center; justify-content: center; gap: 10px; 
    width: 100%;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.app-btn-footer:hover { 
    background: var(--brand-primary); 
    border-color: var(--brand-primary); 
    transform: translateY(-2px); 
    box-shadow: 0 0 15px rgba(217, 4, 41, 0.4);
}

/* --- कॉपीराइट बार (सबसे नीचे) --- */
.ft-bottom { 
    background: var(--footer-bottom-bg); 
    border-top: 1px solid var(--border-color); 
    padding: 25px 0; 
    text-align: center; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
}
.ft-brand-name { color: var(--brand-primary); font-weight: 700; }

/* मोबाइल रेस्पॉन्सिव */
@media (max-width: 768px) {
    .ft-grid { grid-template-columns: 1fr; gap: 30px; }
    .ft-head { margin-bottom: 15px; }
}
