/* =========================================================
   BizPost Hub Main Website CSS
   Location: assets/css/style.css
   3D UI Design + Animations
   ========================================================= */

/* ---------- Theme Variables ---------- */
:root {
    --primary: #6c5ce7;
    --primary-dark: #4f46e5;
    --secondary: #00cec9;
    --accent: #ffc107;
    --accent-dark: #f59e0b;

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;

    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #1f2937;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;

    --body-bg: #f4f7fb;
    --card-bg: rgba(255, 255, 255, 0.88);

    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 24px 60px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 30px 80px rgba(79, 70, 229, 0.22);

    --transition: all 0.32s ease;
}

/* =========================================================
   Global Reset
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(108, 92, 231, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(0, 206, 201, 0.13), transparent 35%),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 48%, #ecfeff 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
}

::selection {
    color: #ffffff;
    background: var(--primary);
}

/* =========================================================
   Reusable Classes
   ========================================================= */

.section-padding {
    padding: 90px 0;
}

.section-title {
    margin-bottom: 42px;
}

.section-title .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 17px;
    margin-bottom: 14px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(108, 92, 231, 0.12);
    font-size: 14px;
    font-weight: 850;
}

.section-title h2 {
    margin: 0;
    color: var(--dark);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.7px;
}

.section-title p {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
}

.title-line {
    width: 110px;
    height: 5px;
    margin-top: 18px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.rounded-4 {
    border-radius: var(--radius-lg) !important;
}

/* =========================================================
   Header / Navbar
   ========================================================= */

.navbar,
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    min-height: 86px;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--primary) !important;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.7px;
}

.navbar-brand i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 14px 30px rgba(108, 92, 231, 0.28);
    animation: iconFloat 3s ease-in-out infinite;
}

.navbar-nav {
    gap: 12px;
}

.navbar-nav .nav-link {
    position: relative;
    color: var(--dark) !important;
    font-size: 16px;
    font-weight: 800;
    padding: 10px 12px !important;
    border-radius: 12px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 3px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-dark) !important;
    background: rgba(108, 92, 231, 0.08);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 0;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.25);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.14);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 900;
    letter-spacing: 0.1px;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary,
.btn-main {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 15px 32px rgba(108, 92, 231, 0.28);
}

.btn-primary:hover,
.btn-main:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 22px 45px rgba(108, 92, 231, 0.38);
}

.btn-warning,
.btn-accent {
    color: #111827 !important;
    background: linear-gradient(135deg, #ffd43b, var(--accent));
    box-shadow: 0 15px 32px rgba(255, 193, 7, 0.32);
}

.btn-warning:hover,
.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 22px 45px rgba(245, 158, 11, 0.34);
}

.btn-light {
    color: var(--dark) !important;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-outline-primary {
    color: var(--primary-dark) !important;
    border: 1px solid rgba(108, 92, 231, 0.35);
    background: rgba(108, 92, 231, 0.06);
}

.btn-outline-primary:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* =========================================================
   Hero Section
   ========================================================= */

.hero-section,
.hero {
    position: relative;
    min-height: 560px;
    padding: 120px 0 85px;
    color: #ffffff;
    overflow: hidden;
    border-bottom-left-radius: 65px;
    border-bottom-right-radius: 65px;
    background:
        radial-gradient(circle at top right, rgba(0, 206, 201, 0.32), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 193, 7, 0.18), transparent 30%),
        linear-gradient(135deg, #3b2f72 0%, #4f46e5 50%, #06b6d4 100%);
}

.hero-section::before,
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.26), transparent),
        url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after,
.hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .badge,
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    margin-bottom: 20px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.23);
    backdrop-filter: blur(12px);
    font-weight: 850;
}

.hero h1,
.hero-section h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -1.5px;
}

.hero p,
.hero-section p {
    max-width: 720px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-search,
.search-box {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 12px;
    max-width: 760px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

.hero-search input,
.search-box input {
    flex: 1;
    min-height: 58px;
    border: 0;
    outline: none;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 650;
    background: transparent;
}

.hero-search button,
.search-box button {
    min-width: 140px;
}

/* =========================================================
   Popular Categories
   ========================================================= */

.categories-section,
.popular-categories {
    position: relative;
    padding: 85px 0;
}

.category-card,
.category-tile {
    position: relative;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--dark);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(108, 92, 231, 0.13);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.category-card::before,
.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 206, 201, 0.10));
    opacity: 0;
    transition: var(--transition);
}

.category-card::after,
.category-tile::after {
    content: "";
    position: absolute;
    top: -60px;
    left: -120px;
    width: 80px;
    height: 220px;
    background: rgba(255, 255, 255, 0.42);
    transform: rotate(25deg);
    transition: 0.65s ease;
}

.category-card:hover,
.category-tile:hover {
    color: var(--dark);
    transform: translateY(-10px) scale(1.015);
    box-shadow: var(--shadow-strong);
}

.category-card:hover::before,
.category-tile:hover::before {
    opacity: 1;
}

.category-card:hover::after,
.category-tile:hover::after {
    left: 130%;
}

.category-card i,
.category-tile i {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: grid;
    place-items: center;
    border-radius: 21px;
    color: #ffffff;
    font-size: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 32px rgba(108, 92, 231, 0.28);
    transition: var(--transition);
}

.category-card:hover i,
.category-tile:hover i {
    transform: rotate(-7deg) scale(1.08);
}

.category-card strong,
.category-tile strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 19px;
    font-weight: 950;
}

.category-card span,
.category-tile span {
    position: relative;
    z-index: 2;
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   Business Cards
   ========================================================= */

.business-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.75);
    transition: var(--transition);
}

.business-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.08));
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

.business-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.business-card:hover::before {
    opacity: 1;
}

.business-card-img,
.business-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: 0.45s ease;
}

.business-card:hover .business-card-img,
.business-card:hover img {
    transform: scale(1.065);
}

.business-card-body,
.business-card .card-body {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.business-card h3,
.business-card h4,
.business-card h5 {
    color: var(--dark);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.25;
}

.business-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 550;
}

.business-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.business-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--muted);
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.business-meta i {
    color: var(--primary);
}

.business-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f59e0b;
    font-weight: 900;
}

.featured-badge,
.status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    padding: 8px 13px;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, #ffd43b, var(--accent));
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 25px rgba(255, 193, 7, 0.30);
}

/* =========================================================
   Forms
   ========================================================= */

.form-control,
.form-select,
textarea.form-control {
    min-height: 50px;
    border-radius: 15px;
    border: 1px solid #dbe3ef;
    color: var(--text);
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
    transition: var(--transition);
}

.form-control:hover,
.form-select:hover,
textarea.form-control:hover {
    border-color: #c7d2fe;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.14);
}

.form-label {
    color: #334155;
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 8px;
}

textarea.form-control {
    min-height: 130px;
}

.input-group-text {
    border-radius: 15px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    color: var(--muted);
    font-weight: 850;
}

.form-card,
.auth-card,
.contact-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* =========================================================
   Cards / Content Boxes
   ========================================================= */

.card,
.content-card,
.info-card {
    border: 0;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.card-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: transparent;
    color: var(--dark);
    font-weight: 900;
}

.card-body {
    padding: 22px;
}

.info-card {
    padding: 26px;
    height: 100%;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.info-card i {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #ffffff;
    font-size: 26px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 32px rgba(108, 92, 231, 0.28);
}

.info-card h4 {
    color: var(--dark);
    font-weight: 950;
}

.info-card p {
    color: var(--muted);
    line-height: 1.75;
}

/* =========================================================
   Tables
   ========================================================= */

.table-responsive {
    border-radius: var(--radius-lg);
    overflow-x: auto;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.table {
    margin-bottom: 0;
    vertical-align: middle;
}

.table thead th {
    padding: 16px 18px;
    border: 0;
    color: #334155;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    white-space: nowrap;
}

.table tbody td {
    padding: 17px 18px;
    border-color: #eef2f7;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: #f8fafc;
}

/* =========================================================
   Badges / Alerts
   ========================================================= */

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.25px;
}

.badge.bg-success {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #15803d !important;
}

.badge.bg-warning {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #b45309 !important;
}

.badge.bg-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #b91c1c !important;
}

.badge.bg-info {
    background: rgba(14, 165, 233, 0.14) !important;
    color: #0369a1 !important;
}

.badge.bg-secondary {
    background: rgba(100, 116, 139, 0.14) !important;
    color: #475569 !important;
}

.alert {
    border: 0;
    border-radius: var(--radius-md);
    padding: 15px 18px;
    font-weight: 750;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.alert-info {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

/* =========================================================
   Business Details Page
   ========================================================= */

.business-details-hero {
    position: relative;
    padding: 95px 0 65px;
    color: #ffffff;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 206, 201, 0.30), transparent 32%),
        linear-gradient(135deg, #312e81 0%, #4f46e5 52%, #06b6d4 100%);
}

.business-details-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.24);
}

.business-details-hero .container {
    position: relative;
    z-index: 2;
}

.business-detail-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.detail-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.detail-info-list {
    display: grid;
    gap: 14px;
}

.detail-info-item {
    display: flex;
    gap: 13px;
    padding: 15px;
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.detail-info-item i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =========================================================
   Contact / Chat / Footer
   ========================================================= */

.contact-info-box {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.contact-info-box i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.footer,
footer {
    position: relative;
    padding: 70px 0 25px;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at top left, rgba(108, 92, 231, 0.35), transparent 34%),
        linear-gradient(180deg, #111827 0%, #0f172a 100%);
    overflow: hidden;
}

.footer::before,
footer::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 206, 201, 0.13);
}

.footer h4,
.footer h5,
footer h4,
footer h5 {
    color: #ffffff;
    font-weight: 950;
}

.footer a,
footer a {
    color: rgba(255, 255, 255, 0.72);
}

.footer a:hover,
footer a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* =========================================================
   Pagination
   ========================================================= */

.pagination {
    gap: 7px;
}

.page-link {
    min-width: 42px;
    height: 42px;
    border: 0;
    display: grid;
    place-items: center;
    border-radius: 13px !important;
    color: var(--dark);
    background: #ffffff;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.page-link:hover,
.page-item.active .page-link {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =========================================================
   Empty State
   ========================================================= */

.empty-state {
    padding: 60px 25px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.empty-state i {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 26px;
    color: #ffffff;
    font-size: 35px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 36px rgba(108, 92, 231, 0.25);
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 24px;
    font-weight: 950;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
}

/* =========================================================
   3D Hover Utility Effects
   ========================================================= */

.hover-3d {
    transition: var(--transition);
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: var(--shadow-strong);
}

.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card::after {
    content: "";
    position: absolute;
    width: 75px;
    height: 220px;
    top: -60px;
    left: -125px;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(25deg);
    transition: 0.7s ease;
}

.glow-card:hover::after {
    left: 130%;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes softPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.26);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(108, 92, 231, 0);
    }
}

.animate-fade-up,
.section-title,
.category-card,
.category-tile,
.business-card,
.info-card,
.form-card,
.auth-card,
.contact-card,
.content-card,
.card,
.empty-state {
    animation: fadeUp 0.58s ease both;
}

.animate-scale {
    animation: scaleIn 0.45s ease both;
}

.pulse-soft {
    animation: softPulse 2.5s ease-in-out infinite;
}

/* =========================================================
   Auth Pages
   ========================================================= */

.auth-section {
    min-height: calc(100vh - 86px);
    display: grid;
    place-items: center;
    padding: 70px 0;
}

.auth-card {
    width: 100%;
    max-width: 480px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo i {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    display: inline-grid;
    place-items: center;
    border-radius: 25px;
    color: #ffffff;
    font-size: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 36px rgba(108, 92, 231, 0.25);
}

.auth-logo h2 {
    margin: 0;
    color: var(--dark);
    font-weight: 950;
}

.auth-logo p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* =========================================================
   Responsive Design
   ========================================================= */

@media (max-width: 992px) {
    .navbar-collapse {
        margin-top: 15px;
        padding: 18px;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-soft);
    }

    .hero-section,
    .hero {
        padding: 95px 0 65px;
        border-bottom-left-radius: 42px;
        border-bottom-right-radius: 42px;
    }

    .hero-search,
    .search-box {
        border-radius: var(--radius-lg);
        flex-direction: column;
        padding: 14px;
    }

    .hero-search input,
    .search-box input {
        width: 100%;
        min-height: 54px;
        background: #f8fafc;
    }

    .hero-search button,
    .search-box button {
        width: 100%;
        min-height: 52px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 23px;
    }

    .navbar-brand i {
        width: 38px;
        height: 38px;
    }

    .hero h1,
    .hero-section h1 {
        font-size: 38px;
    }

    .hero p,
    .hero-section p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 15px;
    }

    .category-card,
    .category-tile {
        min-height: 105px;
        padding: 20px;
    }

    .category-card i,
    .category-tile i {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 23px;
    }

    .business-card-img,
    .business-card img {
        height: 210px;
    }

    .form-card,
    .auth-card,
    .contact-card {
        padding: 24px;
    }

    .detail-image {
        height: 280px;
    }

    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tbody tr {
        margin-bottom: 16px;
        padding: 14px;
        border-radius: var(--radius-md);
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    }

    .table tbody td {
        padding: 10px 5px;
        border: 0;
        display: flex;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
    }

    .table tbody td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 900;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-section,
    .hero {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .hero h1,
    .hero-section h1 {
        font-size: 33px;
    }

    .btn {
        padding: 11px 20px;
    }

    .section-padding {
        padding: 55px 0;
    }
}
.login-link {
    color: #111827 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    background: transparent !important;
    text-shadow: none !important;
}

.login-link:hover {
    color: #6c5ce7 !important;
    background: #f1efff !important;
    border-radius: 14px;
}