/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}








/*** Header Start ***/



/* Global Variables & Aesthetic Rules */
:root {
    --brand-accent: #FF7A00;
    --brand-gradient: linear-gradient(135deg, #FF7A00 0%, #FF3D00 100%);
    --dark-bg-main: #0B1120;
    --dark-bg-sub: #030712;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-card: rgba(15, 23, 42, 0.75);
    --text-muted-color: #94A3B8;
}

.topbar-wrapper,
.main-header-wrapper,
.navbar-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 1. Topbar Styling (z-index Fix Applied) */
.topbar-wrapper {
    background: var(--dark-bg-sub);
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted-color);
    font-size: 13px;
    position: relative;
    z-index: 1050;
}

.topbar-wrapper a {
    color: var(--text-muted-color);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-wrapper a:hover {
    color: #FFFFFF;
}

.topbar-wrapper .dropdown-menu {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1055 !important;
}

.topbar-wrapper .dropdown-item {
    color: var(--text-muted-color) !important;
    font-size: 13px;
    padding: 8px 16px;
    transition: all 0.2s;
}

.topbar-wrapper .dropdown-item:hover {
    background: rgba(255, 122, 0, 0.15) !important;
    color: var(--brand-accent) !important;
}

/* 2. Main Header Section */
.main-header-wrapper {
    background: var(--dark-bg-main);
    border-bottom: 1px solid var(--glass-border);
}

/* Search Bar UI */
.tech-search-bar {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 4px;
    transition: all 0.3s ease;
}

.tech-search-bar:focus-within {
    border-color: var(--brand-accent);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.25);
}

.tech-search-bar .form-control {
    background: transparent !important;
    color: #FFFFFF !important;
    font-size: 14px;
}

.tech-search-bar .form-control::placeholder {
    color: #64748B;
}

/* Category Button Left Border Divider */
.tech-cat-dropdown .btn {
    border-left: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15)) !important;
    border-radius: 0 !important;
}

.tech-search-bar .btn-search {
    background: var(--brand-gradient) !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    transition: transform 0.2s ease;
}

.tech-search-bar .btn-search:hover {
    transform: scale(1.03);
}

/* Glassmorphism Floating Search Dropdown */
.tech-cat-dropdown {
    position: relative;
}

.tech-cat-dropdown .glass-dropdown-menu {
    background: rgba(11, 17, 32, 0.85) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 122, 0, 0.1) !important;
    min-width: 190px;
    z-index: 1050;

    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) scale(0.96) !important;
    transform-origin: top center;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s linear !important;
    pointer-events: none;
}

.tech-cat-dropdown .glass-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(40px) scale(1) !important;
    pointer-events: auto;
}

.tech-cat-dropdown .dropdown-item {
    font-size: 13.5px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 6px;
    width: auto;
}

.tech-cat-dropdown .dropdown-item:hover {
    background: rgba(255, 122, 0, 0.15) !important;
    color: #ffffff !important;
    transform: translateX(4px);
}

.tech-cat-dropdown .dropdown-item.active {
    background: rgba(255, 122, 0, 0.25) !important;
    color: #FF7A00 !important;
    font-weight: 600;
}

/* Action Icons */
.icon-box-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.icon-box-btn:hover {
    background: rgba(255, 122, 0, 0.12);
    border-color: var(--brand-accent);
    color: var(--brand-accent) !important;
    transform: translateY(-2px);
}

/* 3. Navbar Section (z-index Lowered) */
.navbar-wrapper {
    background: var(--dark-bg-sub);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1020;
}

/* Nav Links */
.navbar-wrapper .nav-link {
    color: var(--text-muted-color) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 14px !important;
    transition: color 0.2s ease;
}

.navbar-wrapper .nav-link:hover,
.navbar-wrapper .nav-link.active {
    color: var(--brand-accent) !important;
}

/* Mobile View Header & Always-Visible Search Enhancements */
@media (max-width: 991.98px) {
    .mobile-always-search {
        display: block !important;
        padding-bottom: 4px;
    }

    .mobile-search-box {
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-search-box:focus-within {
        border-color: var(--brand-accent, #ff7a00);
        box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.22);
    }

    .mobile-search-box .form-control {
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 14px;
        padding: 8px 12px;
        height: 38px;
    }

    .mobile-search-box .form-control::placeholder {
        color: #64748b;
    }

    .mobile-search-btn {
        background: #ffffff !important;
        color: #0284c7 !important;
        border: none !important;
        padding: 0 14px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .mobile-search-btn:hover,
    .mobile-search-btn:focus {
        color: var(--brand-accent, #ff7a00) !important;
        background: #f8fafc !important;
    }

    .mobile-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff !important;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

    .mobile-icon-btn:hover,
    .mobile-icon-btn:focus {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff !important;
    }

    /* Collapsible Menu Container & Scroll Support */
    .navbar-collapse {
        background: #0b0f19;
        padding: 12px 15px;
        border-radius: 12px;
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    #mobileCatList {
        max-height: 250px;
        overflow-y: auto;
        padding-right: 5px;
    }

    #mobileCatList .category-item-link,
    #mobileCatList .nav-link {
        color: #ffffff !important;
        opacity: 1 !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    #mobileCatList .category-item-link:hover,
    #mobileCatList .category-item-link:focus,
    #mobileCatList .nav-link:hover,
    #mobileCatList .nav-link:focus {
        color: var(--brand-accent, #ff7a00) !important;
        background: transparent !important;
    }

    .navbar-collapse .nav-link {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .navbar-collapse .my-1 {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    .navbar-collapse .pt-2,
    .navbar-collapse .pt-3 {
        padding-top: 6px !important;
    }

    .navbar-collapse .mt-2 {
        margin-top: 6px !important;
    }

    #mobileCatList::-webkit-scrollbar,
    .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }

    #mobileCatList::-webkit-scrollbar-thumb,
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--brand-accent, #ff7a00);
        border-radius: 10px;
    }
}

/***--------------------------------- Header End ---------------------------------***/









/*** baseForm Start ***/

.form-wrapper-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: var(--dark-bg-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.auth-header {
    background: var(--dark-bg-sub);
    padding: 35px 25px 25px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.auth-icon-badge {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: rgba(255, 122, 0, 0.12);
    border: 1px solid var(--brand-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    font-size: 20px;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.2);
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.auth-header p {
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--text-muted-color);
}

.auth-body {
    padding: 30px 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 8px;
}

.required-star {
    color: var(--brand-accent);
}

.input-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Standard Django Form Input Targeting */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="password"],
.custom-form input[type="number"],
.custom-form input[type="file"],
.custom-form select,
.custom-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--glass-border) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #FFFFFF !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    border-color: var(--brand-accent) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.2) !important;
}

/* Password Hide/Show Icon Button */
.btn-password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted-color);
    cursor: pointer;
    padding: 6px;
    font-size: 15px;
    transition: color 0.2s;
}

.btn-password-toggle:hover {
    color: var(--brand-accent);
}

.help-text {
    font-size: 12px;
    color: var(--text-muted-color);
    margin-top: 6px;
    display: block;
}

.error-msg {
    color: #EF4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    padding: 13px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

/* Non Field Alert Box */
.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted-color);
}

.auth-footer a {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/*** baseForm end ***/







/* ============================================================================
   CONTACT MESSAGES PAGE — LIGHT THEME (HTML UNCHANGED)
   Colors: Navy Blue, White, Yellow & Green | Icons: Green
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. PAGE HEADINGS, SUBTITLE & ICONS
   ---------------------------------------------------------------------------- */
main.main-light-theme h2.text-white,
main.main-light-theme .dark-card h5.text-white,
main.main-light-theme .dark-table .fw-bold.text-white,
main.main-light-theme .dark-table .fw-semibold.text-white {
    color: #0f172a !important;
}

main.main-light-theme p.text-white-50,
main.main-light-theme .dark-table .small.text-white-50,
main.main-light-theme .dark-card .text-white-50 {
    color: #475569 !important;
}

/* All Icons in Green */
main.main-light-theme i.fas,
main.main-light-theme i.far,
main.main-light-theme i.fa {
    color: #15803d !important;
}

/* Keep White/Dark Contrast on Solid Colored Badges & Buttons */
main.main-light-theme .badge.bg-warning i,
main.main-light-theme .badge.bg-danger i,
main.main-light-theme .badge.bg-success i,
main.main-light-theme .btn-success i,
main.main-light-theme .dark-filter-btn.active-all i {
    color: inherit !important;
}

/* ----------------------------------------------------------------------------
   2. FILTER BUTTONS (NAVY BLUE, WHITE, YELLOW & GREEN)
   ---------------------------------------------------------------------------- */
.dark-filter-btn,
main.main-light-theme .dark-filter-btn {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    transition: all 0.25s ease;
}

.dark-filter-btn:hover,
main.main-light-theme .dark-filter-btn:hover {
    background-color: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #0f172a !important;
}

/* Active All -> Navy Blue with Yellow Accent */
.dark-filter-btn.active-all,
main.main-light-theme .dark-filter-btn.active-all {
    background-color: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffc107 !important;
}

/* Active Pending -> Warm Yellow Highlight */
.dark-filter-btn.active-pending,
main.main-light-theme .dark-filter-btn.active-pending {
    background-color: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #0f172a !important;
}

/* Active Completed -> Green Highlight */
.dark-filter-btn.active-done,
main.main-light-theme .dark-filter-btn.active-done {
    background-color: #dcfce7 !important;
    border-color: #15803d !important;
    color: #14532d !important;
}

/* ----------------------------------------------------------------------------
   3. MAIN CARD, TABLE HEADER & ROWS
   ---------------------------------------------------------------------------- */
.dark-card,
main.main-light-theme .dark-card {
    background-color: #ffffff !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.dark-table,
main.main-light-theme .dark-table {
    color: #0f172a !important;
    --bs-table-bg: #ffffff;
    --bs-table-color: #0f172a;
}

/* Navy Blue Table Header with White Text */
.dark-table thead tr,
main.main-light-theme .dark-table thead tr {
    background-color: #0f172a !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 2px solid #f59e0b !important;
}

.dark-table thead th,
main.main-light-theme .dark-table thead th {
    color: #ffffff !important;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Pending & Completed Rows */
.row-pending,
main.main-light-theme .row-pending {
    background-color: #ffffff !important;
    border-left: 4px solid #f59e0b !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.row-pending:hover,
main.main-light-theme .row-pending:hover {
    background-color: #fffbeb !important;
}

.row-done,
main.main-light-theme .row-done {
    background-color: #f0fdf4 !important;
    border-left: 4px solid #15803d !important;
    border-bottom: 1px solid #dcfce7 !important;
}

.row-done:hover,
main.main-light-theme .row-done:hover {
    background-color: #dcfce7 !important;
}

.row-done .completed-text,
main.main-light-theme .row-done .completed-text {
    text-decoration: line-through;
    color: #15803d !important;
    opacity: 0.85;
}

/* ----------------------------------------------------------------------------
   4. MESSAGE PREVIEW BOX & BADGES
   ---------------------------------------------------------------------------- */
.msg-preview-box,
main.main-light-theme .msg-preview-box {
    background-color: #f8fafc !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 10px;
}

main.main-light-theme .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #0f172a !important;
}

main.main-light-theme .badge.bg-dark {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* ----------------------------------------------------------------------------
   5. ACTION BUTTONS (COMPLETE, UNDO & DELETE)
   ---------------------------------------------------------------------------- */
main.main-light-theme .btn-success {
    background-color: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

main.main-light-theme .btn-success:hover {
    background-color: #166534 !important;
    border-color: #166534 !important;
}

main.main-light-theme .btn-outline-light {
    background-color: #ffffff !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
}

main.main-light-theme .btn-outline-light:hover {
    background-color: #0f172a !important;
    color: #ffc107 !important;
}

main.main-light-theme .btn-outline-danger {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #dc2626 !important;
}

main.main-light-theme .btn-outline-danger:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

main.main-light-theme .btn-outline-danger:hover i {
    color: #ffffff !important;
}

/* ----------------------------------------------------------------------------
   6. MOBILE RESPONSIVE CARD VIEW (< 768px)
   ---------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 14px;
        padding: 12px;
        background-color: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    }

    .responsive-table tr.row-done {
        background-color: #f0fdf4 !important;
        border-color: #86efac !important;
        border-left: 4px solid #15803d !important;
    }

    .responsive-table tr.row-pending {
        border-left: 4px solid #f59e0b !important;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 4px !important;
        border-bottom: 1px dashed #e2e8f0 !important;
        color: #0f172a !important;
    }

    .responsive-table td:last-child {
        border-bottom: none !important;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11.5px;
        color: #0f172a;
        text-transform: uppercase;
        margin-right: 10px;
    }

    .responsive-table td.msg-block {
        display: block !important;
    }

    .responsive-table td.msg-block::before {
        display: block;
        margin-bottom: 6px;
    }
}



/*** ---------------------------------Message LIST END ---------------------------------***/













/*** -----------------------------Footer Start -----------------------------***/





/* Container Box Style */
.info-card-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 700px;
}

/* Base Styles (Mobile First / Small Screens) */
.info-icon-box {
    width: 36px !important;
    height: 36px !important;
}

.icon-size {
    font-size: 14px !important;
}

.title-text {
    font-size: 13px !important;
}

.phone-text {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.email-text {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

/* Large Screens (Desktop / Laptop) */
@media (min-width: 768px) {
    .info-icon-box {
        width: 44px !important;
        height: 44px !important;
    }

    .icon-size {
        font-size: 18px !important;
    }

    .title-text {
        font-size: 16px !important;
    }

    .phone-text {
        font-size: 14px !important;
    }

    .email-text {
        font-size: 14px !important;
    }
}

/* Round Social Buttons Styling */
.social-btn {
    width: 38px;
    height: 38px;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

/* Custom Badge Font Size */
.fs-7 {
    font-size: 0.75rem;
}

/* ==========================================
   Mobile / Small Screens (Up to 767px)
   ========================================== */
@media (max-width: 767.98px) {
    /* Container & Text Alignment */
    .info-card-wrapper,
    footer,
    .footer-section {
        text-align: center !important;
    }

    /* Info Box (Call Us / Email) Center Alignment */
    .info-card-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Top Cards Inner Content & Call/Email wrapper stack */
    .info-card-wrapper .row {
        justify-content: center !important;
    }

    /* Flexbox Containers (Badges & Social Icons) Center Alignment */
    .info-card-wrapper .d-flex,
    .footer-section .d-flex,
    .social-btn-group {
        justify-content: center !important;
    }

    /* Top Cards Inner Icon & Text Center Alignment */
    .info-card-wrapper .d-flex.align-items-center {
        flex-direction: column !important;
        text-align: center !important;
        gap: 6px !important;
    }
}




/* Back to Top Button Base Styling */
.back-to-top-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 42px !important;
    height: 42px !important;
    background-color: #FFCE1B !important;
    color: #000000 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out !important;
}

.back-to-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top-btn:hover {
    background-color: #e0a800 !important;
    transform: translateY(-3px) !important;
}

/* Floating Cart Button (Above Back to Top on Scroll) */
.floating-cart-btn {
    position: fixed !important;
    bottom: 77px !important;
    right: 25px !important;
    width: 42px !important;
    height: 42px !important;
    background: linear-gradient(135deg, #131c31 0%, #0b1120 100%) !important;
    background-color: #0b1120 !important;
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.24) !important;
    z-index: 10000 !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.floating-cart-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.floating-cart-btn.show:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #fbbf24 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3) !important;
}

.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: #dc2626 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 1.5px solid #ffffff;
}

@media (max-width: 575.98px) {
    .back-to-top-btn {
        bottom: 18px !important;
        right: 18px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .floating-cart-btn {
        bottom: 64px !important;
        right: 18px !important;
        width: 38px !important;
        height: 38px !important;
    }
}




/*** Footer End ***/
