/**
 * Swift Send Courier - Main Stylesheet
 * =====================================
 * Modern, responsive design with navy blue theme
 * 
 * Primary Color: #1a237e (Navy Blue)
 * Accent Color: #ffd700 (Gold)
 * Secondary: #3949ab
 */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    --primary-color: #1a237e;
    --primary-dark: #0d1642;
    --primary-light: #3949ab;
    --accent-color: #ffd700;
    --accent-dark: #ffab00;
    --text-dark: #212529;
    --text-light: #6c757d;
    --text-muted: #adb5bd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* =====================================================
   BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

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

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

/* =====================================================
   BROADCAST BAR
   ===================================================== */
.broadcast-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

.broadcast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.broadcast-icon {
    font-size: 1.2rem;
}

.broadcast-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.broadcast-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
    opacity: 0.7;
    transition: var(--transition);
}

.broadcast-close:hover {
    opacity: 1;
}

/* =====================================================
   HEADER
   ===================================================== */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-spacer {
    height: 0;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    padding: 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 50px;
    width: auto;
}

.footer-logo-svg {
    height: 45px;
    width: auto;
}

/* Navigation */
.navbar-nav {
    gap: 5px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(26, 35, 126, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(26, 35, 126, 0.05);
    color: var(--primary-color);
}

/* Auth Buttons */
.auth-buttons .btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.5;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
}

.hero-buttons .btn-light {
    background: white;
    color: var(--primary-color);
}

.hero-buttons .btn-light:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.hero-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   TRACKING WIDGET
   ===================================================== */
.tracking-widget {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.tracking-widget-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.tracking-form {
    display: flex;
    gap: 15px;
}

.tracking-form .form-control {
    flex: 1;
    padding: 15px 25px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tracking-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.tracking-form .btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-bg {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--accent-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    transform: rotateY(360deg);
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--accent-dark);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.feature-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-step {
    text-align: center;
    position: relative;
    padding: 30px;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.process-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-description {
    color: var(--text-light);
}

/* =====================================================
   STATISTICS SECTION
   ===================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-location {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 10px;
}

.cta-buttons .btn-primary {
    background: var(--primary-color);
}

.cta-buttons .btn-outline-dark {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.cta-buttons .btn-outline-dark:hover {
    background: var(--primary-dark);
    color: white;
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    background: var(--primary-dark);
    color: white;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.footer-about {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-newsletter h5 {
    font-size: 1rem;
    color: white;
    margin-bottom: 15px;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 12px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
    background: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    padding: 12px 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.copyright {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* =====================================================
   SOCIAL PROOF POPUP
   ===================================================== */
.social-proof-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateX(-150%);
    transition: transform 0.5s ease;
    max-width: 350px;
}

.social-proof-popup.show {
    transform: translateX(0);
}

.social-proof-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.social-proof-text {
    flex: 1;
}

.social-proof-message {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

.social-proof-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.social-proof-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.social-proof-close:hover {
    color: var(--danger-color);
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.page-breadcrumb {
    position: relative;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.page-breadcrumb a:hover {
    color: var(--accent-color);
}

.page-breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

.page-breadcrumb .current {
    color: var(--accent-color);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-control {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 20px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.badge-pending { background: #ffc107; color: #212529; }
.badge-info { background: #17a2b8; color: white; }
.badge-primary { background: var(--primary-color); color: white; }
.badge-warning { background: #fd7e14; color: white; }
.badge-success { background: #28a745; color: white; }
.badge-danger { background: #dc3545; color: white; }
.badge-secondary { background: #6c757d; color: white; }
.badge-dark { background: #343a40; color: white; }

/* =====================================================
   TRACKING RESULTS
   ===================================================== */
.tracking-result {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tracking-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 30px;
}

.tracking-number-display {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tracking-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tracking-body {
    padding: 30px;
}

.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.tracking-info-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.tracking-info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.tracking-info-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Timeline */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-item.completed .timeline-dot {
    background: var(--success-color);
}

.timeline-item.current .timeline-dot {
    background: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.timeline-content {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =====================================================
   RECEIPT
   ===================================================== */
.receipt-container {
    background: var(--bg-white);
    border: 2px dashed var(--border-color);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.receipt-header {
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.receipt-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.receipt-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.receipt-barcode {
    text-align: center;
    margin: 20px 0;
}

.receipt-barcode img {
    max-width: 100%;
}

.receipt-section {
    margin-bottom: 25px;
}

.receipt-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.receipt-label {
    color: var(--text-light);
}

.receipt-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* =====================================================
   ADMIN DASHBOARD
   ===================================================== */
.admin-sidebar {
    background: var(--primary-dark);
    color: white;
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.admin-sidebar.collapsed {
    width: 70px;
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
    background: var(--bg-light);
    transition: var(--transition);
}

.admin-sidebar.collapsed + .admin-main {
    margin-left: 70px;
}

.admin-logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left: 4px solid var(--accent-color);
}

.admin-nav-item i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-card-icon.primary { background: rgba(26, 35, 126, 0.1); color: var(--primary-color); }
.stat-card-icon.success { background: rgba(40, 167, 69, 0.1); color: var(--success-color); }
.stat-card-icon.warning { background: rgba(255, 193, 7, 0.1); color: var(--warning-color); }
.stat-card-icon.info { background: rgba(23, 162, 184, 0.1); color: var(--info-color); }

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =====================================================
   TABLES
   ===================================================== */
.table-container {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: var(--border-color);
}

.table tbody tr:hover {
    background: var(--bg-light);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .tracking-widget {
        margin-top: -30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .tracking-form {
        flex-direction: column;
    }
    
    .tracking-form .btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .social-proof-popup {
        left: 15px;
        right: 15px;
        max-width: none;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 575px) {
    .section {
        padding: 50px 0;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .tracking-widget {
        padding: 25px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .main-header,
    .main-footer,
    .broadcast-bar,
    .back-to-top,
    .social-proof-popup {
        display: none !important;
    }
    
    .receipt-container {
        border: 2px solid #000;
        box-shadow: none;
    }
    
    body {
        background: white;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(26, 35, 126, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}