/**
 * FastTrack Logistics - Main Stylesheet
 * Modern, responsive design for shipping and logistics website
 */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --white: #ffffff;
    --black: #000000;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

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

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

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

ul {
    list-style: none;
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.btn-secondary {
    background-color: var(--gray-200);
    color: var(--gray-800);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background-color: var(--gray-300);
    border-color: var(--gray-300);
}

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

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

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-primary {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #ffedd5;
    color: #9a3412;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #cffafe;
    color: #155e75;
}

.badge-secondary {
    background-color: var(--gray-200);
    color: var(--gray-700);
}

.badge-lg {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: var(--transition-fast);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

.tracking-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    margin-bottom: 3rem;
}

.tracking-form {
    display: flex;
    gap: 1rem;
}

.input-group {
    flex: 1;
    position: relative;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.75rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.image-placeholder i {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.feature-content h2 {
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.25rem;
}

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

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

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-section .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--gray-800);
    color: var(--gray-300);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--gray-500);
}

.admin-link a {
    color: var(--gray-500);
}

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

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 3rem 0;
}

.page-header h1 {
    margin-bottom: 0.75rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-500);
}

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

.breadcrumb .active {
    color: var(--gray-700);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
}

.about-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.about-stat .label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.about-image .image-card {
    background: linear-gradient(135deg, var(--success-color), #34d399);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background-color: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.value-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.value-card h4 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.25rem;
}

.team-card h4 {
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.services-overview {
    padding: 3rem 0;
    background-color: var(--gray-50);
}

.service-detail {
    padding: 5rem 0;
    background-color: var(--white);
}

.service-detail.alt-bg {
    background-color: var(--gray-50);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content h2 {
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-detail-content .feature-list {
    margin-bottom: 2rem;
}

.service-detail-content .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.service-detail-content .feature-list i {
    color: var(--success-color);
}

.service-detail-image .image-card {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
}

/* Comparison Table */
.comparison-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border: 1px solid var(--gray-200);
}

.comparison-table th {
    background-color: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.comparison-table tr:hover {
    background-color: var(--gray-50);
}

.text-success {
    color: var(--success-color);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details p {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.social-section h4 {
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    background-color: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    height: 400px;
    background-color: var(--gray-200);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-note {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.faq-item h4 i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* =====================================================
   TRACKING PAGE
   ===================================================== */
.tracking-header-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.tracking-header-page h1 {
    color: var(--white);
}

.tracking-section {
    padding: 3rem 0 5rem;
    background-color: var(--gray-50);
    min-height: 500px;
}

.tracking-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.tracking-form-large {
    display: flex;
    gap: 1rem;
}

.input-group-large {
    flex: 1;
    position: relative;
}

.input-group-large i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.25rem;
}

.input-group-large input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    font-size: 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.input-group-large input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.tracking-hint {
    text-align: center;
    color: var(--gray-500);
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.tracking-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tracking-alert i {
    font-size: 1.5rem;
}

/* Tracking Results */
.tracking-results {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shipment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.shipment-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shipment-title h2 {
    margin-bottom: 0;
}

/* Progress Bar */
.shipment-progress {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.progress-bar {
    height: 8px;
    background-color: var(--gray-200);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: var(--border-radius-full);
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-200);
    color: var(--gray-500);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.step.completed {
    color: var(--success-color);
}

.step.completed .step-icon {
    background-color: var(--success-color);
    color: var(--white);
}

.step span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

/* Shipment Details Cards */
.shipment-details-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.shipment-details-cards .detail-card {
    text-align: center;
}

.shipment-details-cards .detail-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.shipment-details-cards .detail-card h4 i {
    color: var(--primary-color);
}

.detail-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.detail-location,
.detail-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Additional Details */
.additional-details {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.additional-details h3 {
    margin-bottom: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.detail-value {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* Tracking Timeline */
.tracking-timeline-section {
    padding: 2rem;
}

.tracking-timeline-section h3 {
    margin-bottom: 1.5rem;
}

.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-event {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.event-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 24px;
    flex-shrink: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background-color: var(--gray-300);
    border-radius: var(--border-radius-full);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gray-300);
}

.marker-line {
    flex: 1;
    width: 2px;
    background-color: var(--gray-200);
    margin-top: 0.5rem;
}

.timeline-event.latest .marker-dot {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.event-content {
    flex: 1;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.event-header h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.event-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.event-location i {
    color: var(--primary-color);
}

.event-description {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Tracking Help */
.tracking-help {
    margin-top: 3rem;
}

.tracking-help h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.help-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.help-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.help-item h4 {
    margin-bottom: 0.75rem;
}

.help-item p {
    color: var(--gray-500);
    margin-bottom: 0;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .about-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-image,
    .about-image,
    .service-detail-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shipment-details-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .tracking-form {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tracking-form-large {
        flex-direction: column;
    }
    
    .shipment-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .shipment-details-cards {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        display: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .tracking-box {
        padding: 1rem;
    }
    
    .service-card,
    .mission-card,
    .team-card,
    .value-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .header,
    .footer,
    .nav-actions,
    .cta-section,
    .tracking-form-wrapper,
    .tracking-help,
    .btn {
        display: none !important;
    }
    
    .tracking-results {
        box-shadow: none;
    }
    
    .shipment-progress,
    .additional-details,
    .tracking-timeline-section {
        break-inside: avoid;
    }
}
