body {
    background-color: #f7f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212529;
}

/* Top Ad Row */
.top-ad {
    background: #fff;
    border-bottom: 1px solid #dcdcdc;
    text-align: center;
    padding: 10px 0;
}

/* Ad Columns */
.ad-column {
    background: #fff;
    border: 1px solid #dcdcdc;
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
}

/* Main Content */
.main-content {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-height: 400px;
}

/* Tool Grid */
.tool-card {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    height: 100%;
}

.tool-card:hover {
    background-color: #f0fdfc;
    box-shadow: 0 3px 12px rgba(0, 150, 136, 0.15);
    transform: translateY(-3px);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #009688;
}

/* Buttons */
.btn-primary {
    background-color: #009688;
    border-color: #009688;
}

.btn-primary:hover,
.btn-outline-primary:hover {
    background-color: #00796b;
    border-color: #00796b;
}

.btn-outline-primary {
    border-color: #009688;
    color: #009688;
}

.btn-outline-primary:hover {
    color: #fff;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1e1f29, #292b36);
    color: #cfcfcf;
    text-align: center;
    padding: 20px 10px;
    margin-top: 20px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

/* ensure li items are inline-flex so ::before sits between items */
.breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

/* separator between items (keeps it outside the pill) */
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    padding: 0 0.5rem;
    margin: 0;
}

/* common styling for the clickable pill and the active pill child */
.breadcrumb .breadcrumb-item > a,
.breadcrumb .breadcrumb-item > span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    text-decoration: none !important;
    color: #009688 !important;        /* teal text for normal state */
    background-color: #f7f9fa;        /* light pill bg */
    transition: all 0.15s ease-in-out;
    line-height: 1;
}

/* hover for links */
.breadcrumb .breadcrumb-item > a:hover {
    background-color: #00796b !important; /* darker teal hover */
    color: #ffffff !important;
}

/* active item styling must target the span child only */
.breadcrumb .breadcrumb-item.active > span {
    background-color: #009688 !important; /* primary teal */
    color: #ffffff !important;
    font-weight: 600;
}

/* make sure no stray bootstrap color overrides remain */
.breadcrumb a,
.breadcrumb a:link,
.breadcrumb a:visited {
    color: #009688 !important;
    text-decoration: none !important;
}

/* small screens: let pills wrap nicely */
@media (max-width:576px) {
    .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.35rem;
    }
    .breadcrumb .breadcrumb-item > a,
    .breadcrumb .breadcrumb-item > span {
        padding: 5px 10px;
        font-size: 0.95rem;
    }
}

/* Navbar Container */
.custom-navbar {
    background-color: #1b1f1e; /* deep charcoal */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 10px 0;
}

/* Brand Styling */
.navbar-brand {
    color: #00bfa5 !important; /* teal */
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    color: #1de9b6 !important; /* light mint hover */
    text-decoration: none;
}

/* Fix the ".com" color */
.navbar-brand .brand-dotcom {
    color: #e0e0e0 !important; /* bright minty accent */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.2s ease-in-out, background-color 0.2s;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: #009688;
}

/* Toggler icon (mobile menu) */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Reduce space between checkbox and label */
.form-check-label {
    margin-left: 0.25rem; /* closer to checkbox */
}

/* Style the checkbox color */
.form-check-input {
    accent-color: #0d6efd; /* primary blue for checked state */
    width: 1.2em;
    height: 1.2em;
}

/* Optional: align checkbox and label vertically */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* controls spacing between checkbox and label */
}
.custom-navbar {
    background: linear-gradient(90deg, #1e1f29, #292b36);
}
.navbar-brand span {
    font-size: 1.3rem;
}
.navbar-brand .brand-dotcom {
    font-weight: 600;
}
.nav-link {
    color: #ddd !important;
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #00d4ff !important;
}
.dropdown-menu {
    background: #2b2d3a;
    border: none;
}
.dropdown-item {
    color: #e4e4e4;
}
.dropdown-item:hover {
    background-color: #3a3d4f;
    color: #00d4ff;
}
/* General link styling */
a {
    color: inherit;              /* Matches the text color of surrounding content */
    text-decoration: none;       /* Removes underline */
    transition: color 0.2s ease; /* Smooth color transition on hover */
}

/* Hover effect to keep usability */
a:hover {
    color: #0d6efd;              /* Bootstrap’s primary blue (or choose your brand color) */
    text-decoration: underline;  /* Subtle underline on hover for clarity */
}

/* Optional: prevent visited links from turning purple */
a:visited {
    color: inherit;
}
