/* global-style.css - Hosted on www.iamtac.com */
/* New Add Starts */
:root[data-theme='dark'] {
    --bg-main: #0d1117;
    --card-bg: #161b22;
    --text-main: #ffffff;
}

:root[data-theme='light'] {
    --bg-main: #ffffff;
    --card-bg: #f6f8fa;
    --text-main: #1f2328;
}

/* Then use them like this: */
body { background-color: var(--bg-main); color: var(--text-main); }
.tool-container { background-color: var(--card-bg); }

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #58a6ff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
/* New Add ends */
:root {
    --bg: #0d1117;
    --card: #161b22;
    --primary: #58a6ff;
    --secondary: #3fb950;
    --text: #c9d1d9;
    --border: #30363d;
}

/* --- HEADER STYLES --- */
.tac-global-header {
    width: 100%;
    background: #161b22;
    border-bottom: 2px solid #30363d;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.tac-header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.tac-logo-group { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.tac-logo-group img { height: 35px; width: auto; }
.tac-brand-name { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.tac-nav { display: flex; align-items: center; gap: 20px; }
.tac-nav-link { color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.2s; }
.tac-nav-link:hover { color: var(--primary); }
.tac-contact-btn { background: var(--secondary); color: #000; padding: 8px 15px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.85rem; }

/* --- FOOTER STYLES --- */
.tac-global-footer {
    width: 100%;
    background: #0d1117;
    border-top: 1px solid #30363d;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    color: #8b949e;
}
.tac-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}
.tac-footer-info { flex: 1; min-width: 250px; }
.tac-footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 10px; }
.tac-footer-links { flex: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.link-group h4 { color: #c9d1d9; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 15px; }
.link-group a { display: block; color: #8b949e; text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.link-group a:hover { color: var(--primary); }
.tac-copyright { text-align: center; border-top: 1px solid #21262d; margin-top: 40px; padding-top: 20px; font-size: 0.75rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .tac-nav-link { display: none; }
    .tac-footer-content { flex-direction: column; text-align: center; }
}