/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --primary-color: #000000;
    --hover-color: #333333;
    --card-bg: #ffffff;
    --card-hover: #fafafa;
    --input-bg: #ffffff;
    --input-border: #cccccc;
    --radius: 8px;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
}





/* Cards (Calculator Links) */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    background: var(--card-bg);
    overflow: hidden;
}

/* Ad Containers */
.ad-container {
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.8rem;
    margin: 2rem 0;
    overflow: hidden;
    /* Prevent overflow on small screens */
}

/* Mobile Responsiveness & Modern Touches */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
        /* Smaller H1 on mobile */
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    /* Ensure tables can scroll horizontally if needed */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

/* Hover effects only for devices that support hover (Non-Touch) */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-3px);
    }




}