body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}
.dark-mode {
    background-color: #121212;
    color: #fff;
}
.bd_img {
    padding: 0 !important;
    background-color: #eee;
    background-image: url("../images/bg_image.png");
}
.dark-mode.bd_img {
    background-color: #121212 !important;
    background-image: url("../images/bg_images.png") !important;
}
.dark-mode .dark-mode-toggle {
    border: 1px solid #666;
}

/* Navbar */
.navbar {
    background: #222;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1030;
}
.navbar-brand {
    padding-left: 25px;
}
.navbar-brand img {
    width: 142px;
}
.navbar-toggler {
    background-color: #484949 !important;
    border: 1px solid #ccc;
}
.dark-mode .navbar-toggler {
    background-color: #484949 !important;
    border: 1px solid #666;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-nav .nav-link {
    color: #cacaca !important;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: #fff !important;
}
.navbar-nav .nav-item .active {
    color: #fff !important;
    font-weight: bold;
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .dark-mode-toggle {
        order: 3;
    }
}

/* Container Styling */
.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    /*flex: 1;*/
    max-width: 1200px;
    margin: 80px auto 60px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}
.dark-mode .container {
    background: #1e1e1e;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}
.dark-mode .tool {
    background: #333;
}
.dark-mode .bg-warning {
    background-color: #f5f6f7 !important;
}
.dark-mode .modal-content {
    background: #1e1e1e;
}
.dark-mode .card-body {
    background: #1e1e1e;
    color: white;
}
.dark-mode .buy-txt {
    color: white !important;
}
.dark-mode .invert-tool-img {
    filter: invert(1);
}
.tool img{
    margin-bottom: 15px;
    object-fit: contain;
    border-radius: inherit;
    width: 145px;
    height: 70px;
}

/* Footer */
.footer {
    background: #555;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: -54px;
}
.footer a {
    color: #fff;
}
.toggle-theme {
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
}
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}
#combo_new1 {
    overflow: hidden;
    height: fit-content;
    background: #fffdba;
    box-shadow: 0 1px 25px #ccc;
    border-radius: 8px;
}
.aflcmsn-dsc {
    font-size: 1rem;
}
.aflcmsn-mnwrapr {
    max-width: 1100px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.aflcmsn-title {
    font-size: 1.25rem;
}
.aflcmsn-mncol {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
}
.aflcmsn-gradwrapr {
    padding: 25px;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(90deg, #408de4, #97d8a1);
    position: relative;
}
.aflcmsn-pie {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #f1f3f3;
}
.aflcmsn-pie1 {
    left: 0;
}
.aflcmsn-pie2 {
    right: 0;
    transform-origin: left;
}
.aflcmsn-piebx1 .aflcmsn-pie2 {
    transform: rotate(108deg);
}
.aflcmsn-piebx2 .aflcmsn-pie2 {
    transform: rotate(144deg);
}
.aflcmsn-piebx3 .aflcmsn-pie2 {
    transform: rotate(180deg);
}
.aflcmsn-piebx {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.aflcmsn-pie-num {
    width: 100%;
    height: 100%;
    background: #fff;
    font-size: 1.875rem;
    font-weight: 700;
    color: #408de4;
    position: relative;
    z-index: 5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #ababab;
}
.accordion .accordion-item {
    border-radius: 4px;
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.11);
    margin-bottom: 20px;
}
.accordion-button {
    font-size: 1rem;
    padding: 15px;
    color: #000;
}
.accordion-button.collapsed {
    background-color: #ccc;
    color: #484848;
}
.accordion-body {
    padding: 16px 30px;
    border-top: 1px solid #dadfe4;
}
.razorpay-payment-button {
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
    width: 100%;
    padding: 10px 16px;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}