/* ======================================================== */
/* ==== MASTER STYLESHEET FOR COLORSPARK (global.css) ==== */
/* ======================================================== */

/* ============== 1. LIGHT THEME VARIABLES & GENERAL SETUP ============== */
:root {
    --bg-color: #f8fafc; /* Soft, off-white background */
    --text-color: #0f172a; /* Strong, dark navy for text */
    --text-muted: #64748b; /* Lighter slate for muted text */
    --primary-color: #6366F1; /* Strong indigo primary */
    --secondary-color: #0ea5e9; /* Vibrant sky blue secondary */
    --border-color: #e2e8f0; /* Very subtle light gray border */
    --card-bg: #ffffff; /* Clean white for cards */
    --input-bg: #f1f5f9; /* Slightly different light gray for inputs */
    --glow-color: rgba(99, 102, 241, 0.2); /* Soft glow for indigo */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============== 2. SHARED & REUSABLE COMPONENTS ============== */

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header & Navigation --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border-color); }
.logo { font-size: 1.75rem; font-weight: 700; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; color: transparent; text-decoration: none; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.main-nav a { /* ... from previous response ... */ }

/* --- Cards --- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
}

/* --- Buttons --- */
.btn, .btn-secondary { border-radius: 8px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; padding: 12px 24px; border: none; }
.btn { background: var(--primary-color); color: white; }
.btn-secondary { background: var(--input-bg); color: var(--text-color); }
.btn:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08); }

/* --- Footer --- */
footer { text-align: center; padding: 4rem 1.5rem; color: var(--text-muted); border-top: 1px solid var(--border-color); margin-top: 4rem;}
.footer-nav a { color: var(--text-muted); text-decoration: none; margin: 0 0.5rem; }
.footer-nav a:hover { color: var(--primary-color); }



/* ================================================== */
/* ==== IS CODE KO `global.css` KE END MEIN PASTE KAREIN ==== */
/* ================================================== */

/* Delete any old '.footer' or '.footer-nav' styles */

.site-footer {
    background-color: var(--input-bg); /* A slightly off-white background */
    color: var(--text-muted);
    padding: 4rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    /* Creates 4 responsive columns on desktop, which stack on mobile */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem !important;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
    text-transform: none !important;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a,
.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul a:hover,
.footer-email:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-email {
    font-weight: 600;
}

.footer-bottom-bar {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}