/* ============================================================
   CrystaLogistics - Main Stylesheet
   ============================================================ */

:root {
    --primary:    #1e3a5f;
    --primary-light: #2d5f9e;
    --secondary:  #f97316;
    --secondary-dark: #ea580c;
    --accent:     #0ea5e9;
    --success:    #22c55e;
    --danger:     #ef4444;
    --warning:    #f59e0b;
    --text:       #1f2937;
    --text-light: #64748b;
    --border:     #e2e8f0;
    --bg-light:   #f8fafc;
    --bg-section: #f1f5f9;
    --white:      #ffffff;
    --shadow:     0 4px 24px rgba(30,58,95,.10);
    --shadow-sm:  0 2px 8px rgba(30,58,95,.08);
    --radius:     12px;
    --radius-sm:  8px;
    --transition: all .25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--primary);
    color: #b3d4ef;
    padding: 8px 0;
    font-size: 13px;
}
.topbar span { color: #b3d4ef; }
.topbar a { color: #b3d4ef; }
.topbar a:hover { color: var(--white); }
.topbar .btn-outline-light { border-color: rgba(255,255,255,.4); font-size: 12px; padding: 3px 12px; }
.topbar .btn-outline-light:hover { background: var(--secondary); border-color: var(--secondary); }
.divider-v { width:1px; height:16px; background:rgba(255,255,255,.3); }

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(30,58,95,.1);
    padding: 12px 0;
    transition: var(--transition);
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: var(--primary);
}
.brand-logo i {
    font-size: 26px;
    color: var(--secondary);
    background: linear-gradient(135deg,#fff3e0,#ffe0b2);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.brand-logo span strong { color: var(--secondary); }

.main-navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14.5px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
}
.main-navbar .dropdown-menu {
    border-radius: var(--radius);
    padding: 8px;
    min-width: 220px;
}
.main-navbar .dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
}
.main-navbar .dropdown-item:hover { background: var(--bg-light); }

.btn-track-nav {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    font-size: 13.5px !important;
}
.btn-track-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(249,115,22,.4);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5f9e 60%, #0ea5e9 100%);
    min-height: 600px;
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-content .badge-pill {
    background: rgba(249,115,22,.2);
    color: #fed7aa;
    border: 1px solid rgba(249,115,22,.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    display: inline-block;
    margin-bottom: 16px;
}
.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-content h1 span { color: var(--secondary); }
.hero-content p {
    font-size: 1.1rem;
    color: #b3d4ef;
    max-width: 480px;
    margin-bottom: 32px;
}

/* Track Box */
.track-box {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    position: relative; z-index: 2;
}
.track-box h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.track-box h4 i {
    background: var(--bg-light);
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    font-size: 16px;
}
.track-box .form-control {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    height: 50px;
    font-size: 15px;
    padding: 0 16px;
    transition: var(--transition);
}
.track-box .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.btn-track {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    border: none;
    height: 50px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    padding: 0 28px;
    transition: var(--transition);
}
.btn-track:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); color: #fff; }

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.h-stat { text-align: center; }
.h-stat span { display: block; font-size: 22px; font-weight: 800; color: var(--primary); }
.h-stat small { color: var(--text-light); font-size: 12px; }

/* Hero floating elements */
.hero-graphic {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.hero-graphic .truck-anim {
    font-size: 180px;
    color: rgba(255,255,255,.06);
    position: absolute;
    right: -20px;
    bottom: -40px;
}
.hero-graphic .feature-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    padding: 20px;
    color: white;
    text-align: center;
    width: 130px;
}
.hero-graphic .feature-card i { font-size: 28px; margin-bottom: 8px; color: var(--secondary); }
.hero-graphic .feature-card p { font-size: 12px; margin: 0; color: rgba(255,255,255,.8); }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .badge-label {
    background: linear-gradient(135deg,#fff3e0,#ffe0b2);
    color: var(--secondary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--primary); }
.section-title p { color: var(--text-light); font-size: 16px; max-width: 500px; margin: 12px auto 0; }

.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--secondary), var(--accent)); border-radius: 2px; margin: 12px auto 0; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-number span { color: var(--secondary); }
.stat-label { color: #b3d4ef; font-size: 14px; margin-top: 6px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); color: white; }
.service-card h5 { color: var(--primary); margin-bottom: 10px; font-size: 17px; }
.service-card p { color: var(--text-light); font-size: 14px; }
.delivery-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-item:hover { background: var(--bg-light); border-color: var(--accent); }
.feature-icon {
    width: 52px; height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--white);
}
.feature-item h6 { color: var(--primary); font-size: 15px; margin-bottom: 4px; }
.feature-item p { color: var(--text-light); font-size: 13px; margin: 0; }

/* ============================================================
   TRACKING PAGE
   ============================================================ */
.tracking-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px 0 80px;
}
.track-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    margin-top: -40px;
    position: relative; z-index: 10;
}

.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 24px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--success), var(--border));
}
.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    width: 50px; min-width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    position: relative; z-index: 2;
    background: var(--white);
    border: 3px solid var(--border);
}
.timeline-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(30,58,95,.15);
}
.timeline-dot.delivered {
    background: linear-gradient(135deg, var(--success), #16a34a);
    border-color: var(--success);
    color: white;
    box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}
.timeline-content { flex: 1; padding-top: 10px; }
.timeline-content h6 { color: var(--primary); margin-bottom: 2px; font-size: 15px; }
.timeline-content .location { color: var(--text-light); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.timeline-content .time-badge {
    font-size: 11px;
    background: var(--bg-light);
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 4px;
    display: inline-block;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-label { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,58,95,.3); background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.btn-orange, .btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: none;
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.btn-orange:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); color: #fff; }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); font-weight: 600; border-radius: var(--radius-sm); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    display: flex; align-items: center;
    padding: 40px 0;
}
.auth-card {
    background: var(--white);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 20px 60px rgba(30,58,95,.1);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .brand-logo { justify-content: center; font-size: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-light); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   CARDS / DASHBOARD
   ============================================================ */
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex; align-items: center; gap: 20px;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat-card-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.stat-card-icon.blue { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: #1d4ed8; }
.stat-card-icon.green { background: linear-gradient(135deg,#dcfce7,#bbf7d0); color: #16a34a; }
.stat-card-icon.orange { background: linear-gradient(135deg,#fff3e0,#ffe0b2); color: var(--secondary-dark); }
.stat-card-icon.purple { background: linear-gradient(135deg,#f3e8ff,#e9d5ff); color: #7c3aed; }
.stat-card-icon.red { background: linear-gradient(135deg,#fee2e2,#fecaca); color: var(--danger); }
.stat-card-body h3 { font-size: 28px; font-weight: 800; color: var(--text); margin: 0; }
.stat-card-body p { color: var(--text-light); font-size: 13px; margin: 0; }

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.table-card .table-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.table-card .table-header h5 { margin: 0; color: var(--primary); font-size: 16px; }
.table { margin: 0; }
.table th { font-weight: 600; font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; background: var(--bg-light); padding: 12px 16px; }
.table td { padding: 14px 16px; font-size: 14px; vertical-align: middle; }
.table-hover tbody tr:hover { background: #f8fafc; }

/* ============================================================
   BADGES
   ============================================================ */
.badge { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.bg-orange { background: linear-gradient(135deg,#fff3e0,#fed7aa) !important; color: var(--secondary-dark) !important; }

/* ============================================================
   ADMIN SIDEBAR
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, var(--primary) 0%, #0f2340 100%);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
}
.admin-sidebar .sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar .brand-logo { color: white; }
.admin-sidebar .brand-logo i { background: rgba(249,115,22,.2); }
.admin-sidebar .brand-logo span { color: white; }
.admin-sidebar .brand-logo span strong { color: var(--secondary); }

.admin-sidebar .nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    padding: 16px 20px 8px;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.7);
    padding: 11px 20px;
    border-radius: 8px;
    margin: 2px 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex; align-items: center; gap: 12px;
    transition: var(--transition);
}
.admin-sidebar .nav-link i { width: 20px; text-align: center; font-size: 15px; }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,.1); color: white; }
.admin-sidebar .nav-link.active { background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); color: white; }
.admin-sidebar .nav-link .badge { margin-left: auto; font-size: 11px; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    background: var(--bg-section);
    min-height: 100vh;
    display: flex; flex-direction: column;
}
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.admin-content { padding: 28px 24px; flex: 1; }

/* ============================================================
   PAGE HERO / BREADCRUMB
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 50px 0;
    color: white;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: white; margin-bottom: 8px; }
.page-hero p { color: #b3d4ef; font-size: 15px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item.active { color: white; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    display: flex; gap: 16px; align-items: flex-start;
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.contact-icon {
    width: 52px; min-width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: white;
}
.contact-info-card h6 { color: var(--primary); font-size: 14px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { color: var(--text-light); font-size: 14px; margin: 0; }

/* ============================================================
   RATES PAGE
   ============================================================ */
.rate-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.rate-card:hover, .rate-card.selected { border-color: var(--secondary); box-shadow: 0 4px 20px rgba(249,115,22,.15); }
.rate-card i { font-size: 2.2rem; color: var(--secondary); margin-bottom: 12px; display: block; }
.rate-card h5 { color: var(--primary); margin-bottom: 6px; }
.rate-card .days-badge { background: var(--bg-light); color: var(--text-light); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-card .quote-icon { font-size: 30px; color: var(--secondary); opacity: .5; }
.testimonial-card p { color: var(--text-light); font-size: 15px; font-style: italic; }
.testimonial-card .reviewer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.reviewer-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--accent)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 16px; }
.reviewer-name { font-weight: 700; font-size: 14px; color: var(--text); }
.reviewer-role { font-size: 12px; color: var(--text-light); }
.stars { color: #f59e0b; font-size: 13px; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: #0d1f35; color: rgba(255,255,255,.7); }
.footer-top { padding: 60px 0 40px; }
.footer-brand .brand-logo { color: white; }
.footer-brand .brand-logo span { color: white; }
.footer-brand .brand-logo span strong { color: var(--secondary); }
.footer-desc { color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-item { display: flex; gap: 10px; align-items: flex-start; }
.fc-item i { color: var(--secondary); margin-top: 3px; min-width: 16px; font-size: 13px; }
.fc-item span, .fc-item a { color: rgba(255,255,255,.6); font-size: 13.5px; }
.fc-item a:hover { color: var(--secondary); }
.footer-heading { color: white; font-size: 15px; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--secondary); border-radius: 1px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--secondary); }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: white; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form .form-control:focus { background: rgba(255,255,255,.12); border-color: var(--secondary); }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--secondary); color: white; transform: translateY(-2px); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 80px; right: 24px;
    background: #25d366;
    color: white;
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 999;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { color: white; transform: scale(1.1); }
@keyframes pulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    background: var(--primary);
    color: white;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--secondary); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 50px 0; min-height: auto; }
    .track-box { padding: 24px; }
    .hero-stats { gap: 14px; }
    .auth-card { padding: 28px 20px; }
    .timeline::before { left: 20px; }
    .timeline-dot { width: 42px; min-width: 42px; height: 42px; }
    .admin-content { padding: 16px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-soft { background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important; }
.rounded-xl { border-radius: var(--radius) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
