:root {
    --primary: #2c5aa0;
    --secondary: #f8a01e;
    --accent: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
    --darker: #121416;
    --gray: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    --gradient-secondary: linear-gradient(135deg, #f8a01e 0%, #f9b550 100%);
    --gradient-dark: linear-gradient(135deg, #121416 0%, #2d3748 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Fixed Header - Smaller height */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 20, 22, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 10px 0; /* Reduced padding */
}

.header-scrolled {
    padding: 8px 0; /* Reduced padding */
    background: rgba(18, 20, 22, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0; /* Reduced padding */
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 26px; /* Smaller font size */
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0.8);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px; /* Reduced gap */
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0; /* Reduced padding */
    font-size: 15px; /* Smaller font */
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px; /* Smaller padding */
    background: var(--gradient-secondary);
    color: var(--darker);
    border: none;
    border-radius: 10px; /* Smaller radius */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(248, 160, 30, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 14px; /* Smaller font */
    letter-spacing: 0.5px;
    white-space: nowrap; /* Prevent text wrapping */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02); /* Smaller transform */
    box-shadow: 0 8px 20px rgba(248, 160, 30, 0.4);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.4);
}

.btn-dark {
    background: var(--gradient-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(18, 20, 22, 0.3);
}

.mobile-menu {
    display: none;
    font-size: 22px; /* Smaller icon */
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
    padding-top: 80px; /* Reduced padding to account for smaller header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(44, 90, 160, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(248, 160, 30, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 650px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem; /* Slightly smaller */
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #f8a01e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-btns .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px; /* Adjusted padding */
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 100px; /* Smaller */
    height: 100px; /* Smaller */
    border-radius: 20px; /* Smaller */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: var(--transition);
    animation: float3d 8s ease-in-out infinite;
}

.element-1 {
    top: 15%;
    right: 20%;
    background: var(--gradient-primary);
    color: white;
    animation-delay: 0s;
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.3);
}

.element-2 {
    top: 50%;
    right: 10%;
    background: rgba(255, 255, 255, 0.95);
    animation-delay: 2s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.element-3 {
    bottom: 15%;
    right: 25%;
    background: var(--gradient-secondary);
    color: white;
    animation-delay: 4s;
    box-shadow: 0 10px 20px rgba(248, 160, 30, 0.3);
}

.floating-element i {
    font-size: 24px; /* Smaller icon */
    margin-bottom: 8px;
}

.floating-element span {
    font-size: 0.8rem;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    33% {
        transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
    }
    66% {
        transform: translateY(-10px) rotateX(-5deg) rotateY(-5deg);
    }
}

/* Sections Common */
.section {
    padding: 80px 0; /* Reduced padding */
}

.section-title {
    text-align: center;
    margin-bottom: 50px; /* Reduced margin */
}

.section-title h2 {
    font-size: 2.5rem; /* Smaller */
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* Existing Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg) scale(1.1);
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow);
    border: 5px solid var(--light);
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Tracking Section */
.tracking {
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.tracking-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tracking-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.tracking-input {
    display: flex;
    margin-bottom: 20px;
}

.tracking-input input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.tracking-input input:focus {
    border-color: var(--primary);
}

.tracking-input button {
    padding: 0 25px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tracking-input button:hover {
    background: #1e4a8a;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 50px;
    color: rgba(44, 90, 160, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Provinces Section */
.provinces {
    background: var(--gradient-card);
    position: relative;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.search-box:focus-within {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.search-box i {
    color: var(--gray);
    font-size: 1.2rem;
    margin-right: 15px;
    align-self: center;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

.search-box input::placeholder {
    color: var(--gray);
}

.search-box button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-left: 10px;
    white-space: nowrap;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

.provinces-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.toggle-view-btn {
    background: white;
    color: var(--dark);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.toggle-view-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.toggle-view-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.province-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

.province-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.province-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.province-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
}

.province-header h3 {
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.province-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.province-body {
    padding: 20px;
}

.province-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray);
}

.info-item i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1rem;
}

.delivery-price {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
    text-align: center;
    border: 2px dashed var(--primary);
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-note {
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: 5px;
}

.districts-preview {
    margin-top: 15px;
}

.districts-preview h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.districts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.district-tag {
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.district-tag:hover {
    background: rgba(44, 90, 160, 0.2);
}

/* Province Modal */
.province-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from { transform: translateY(100px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.province-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.delivery-details {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid var(--primary);
}

.delivery-details h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.price-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-item .label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.price-item .value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-item .note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
}

.districts-section h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.district-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.district-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.2);
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f8a01e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        width: 45%;
    }
    
    .floating-element {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        text-align: center;
        padding-top: 90px;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        transform: none;
        margin-top: 40px;
    }
    
    .floating-element {
        position: relative;
        display: inline-block;
        margin: 15px;
        width: 80px;
        height: 80px;
    }
    
    .element-1, .element-2, .element-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: inline-block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--darker);
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        gap: 20px;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1001;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .provinces-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .search-box {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    
    .search-box button {
        width: 100%;
        margin-left: 0;
    }
    
    .provinces-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .toggle-view-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .districts-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .price-breakdown {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .districts-grid {
        grid-template-columns: 1fr;
    }
    
    .province-details {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .navbar .btn {
        display: none;
    }

}

/* Enhanced Tracking Section */
.tracking {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    text-align: center;
}

.tracking-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.tracking-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.tracking-input {
    display: flex;
    margin-bottom: 15px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
}

.tracking-input:focus-within {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.2);
}

.tracking-input input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--dark);
    border-right: 1px solid #eee;
}

.tracking-input input::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.tracking-input button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.tracking-input button:hover {
    background: linear-gradient(135deg, #1e4a8a 0%, #2c5aa0 100%);
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.3);
}

.tracking-input button i {
    font-size: 1.2rem;
}

.tracking-spinner {
    margin: 15px 0;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tracking-spinner i {
    font-size: 1.3rem;
}

.tracking-help {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 15px;
}

.tracking-help a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.tracking-help a:hover {
    text-decoration: underline;
    color: #1e4a8a;
}

/* Tracking Results */
.tracking-results {
    max-width: 1000px;
    margin: 30px auto 0;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tracking-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-processing {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.status-transit {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-delivered {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-cancelled {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-waiting {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-sent {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-received {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Tracking Timeline */
.tracking-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: -25px;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid;
    z-index: 1;
}

.timeline-icon.completed {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.timeline-icon.pending {
    background: white;
    color: var(--gray);
    border-color: var(--gray);
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
}

/* Example Tracking Numbers */
.tracking-examples {
    max-width: 800px;
    margin: 30px auto 0;
}

.tracking-examples h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.example-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.example-number {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.example-status {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* Error Message */
.tracking-error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ffcdd2;
    margin-top: 20px;
}

.tracking-error i {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 15px;
}

.tracking-error h4 {
    font-size: 1.3rem;
    color: #d32f2f;
    margin-bottom: 10px;
}

.tracking-error p {
    color: #666;
    margin-bottom: 20px;
}

/* Tracking Modal */
.tracking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.tracking-modal .modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.tracking-modal .modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.tracking-modal .modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tracking-modal .close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-modal .close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.tracking-modal .modal-body {
    padding: 30px;
}

/* Parcel Details Grid */
.parcel-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Branch Info */
.branch-info {
    background: linear-gradient(135deg, #e6f7ff 0%, #d6edff 100%);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid var(--primary);
}

.branch-info h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.branch-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

.branch-details span {
    color: var(--dark);
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tracking-input {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .tracking-input input {
        border-radius: 15px 15px 0 0;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .tracking-input button {
        border-radius: 0 0 15px 15px;
        padding: 15px;
        justify-content: center;
        min-width: auto;
    }
    
    .tracking-box {
        padding: 25px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .parcel-details-grid {
        grid-template-columns: 1fr;
    }
    
    .tracking-info {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tracking-box {
        padding: 20px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: 12px;
    }
    
    .timeline-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}



/* Simple comments styling */
.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.comments-section h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.comment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}



/* ===== Tracking Details Page ===== */
.tracking-details-page {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: var(--gradient-card);
}

.tracking-header {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 0;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tracking-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 1000 100" opacity="0.1"><path d="M0,50 Q250,0 500,50 T1000,50" fill="none" stroke="white" stroke-width="2"/></svg>') repeat-x;
    background-position: 0 50%;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 50%; }
    100% { background-position: 1000px 50%; }
}

.tracking-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tracking-number {
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

.status-badge-lg {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.status-pending-lg { 
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: white;
}

.status-waiting-lg { 
    background: linear-gradient(135deg, #ffb300 0%, #ffca28 100%);
    color: white;
}

.status-sent-lg { 
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
    color: white;
}

.status-received-lg { 
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
    color: white;
}

.status-in_transit-lg { 
    background: linear-gradient(135deg, #9c27b0 0%, #ba68c8 100%);
    color: white;
}

.status-delivered-lg { 
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
}

.status-cancelled-lg { 
    background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
    color: white;
}

.details-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .details-container {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.detail-card h3 {
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-card h3 i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.detail-label {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--primary);
}

.timeline-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary);
}

.timeline-content h4 {
    margin: 0 0 8px 0;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.timeline-content p {
    margin: 0 0 10px 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Comments Section */
.comments-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.05);
}

.comment-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.comment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.comment-user {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.comment-content {
    color: var(--dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* QR Code Container */
.qr-container {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary);
    margin-bottom: 20px;
}

.qr-image {
    max-width: 200px;
    height: auto;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qr-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 15px;
    text-align: center;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 40px 0 20px;
    justify-content: center;
}

.action-buttons .btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

/* Track Another Package Section */
.track-another-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.track-another-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.tracking-input-search {
    max-width: 500px;
    margin: 0 auto;
}

/* Not Found Page */
.not-found-container {
    text-align: center;
    padding: 100px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--gradient-card);
}

.not-found-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.not-found-container h1 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.tracking-display {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 15px;
    margin: 30px 0;
    display: inline-block;
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow);
}

.tracking-display code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
}

/* Print Styles */
@media print {
    .action-buttons,
    .track-another-section,
    footer,
    .navbar,
    .mobile-menu,
    .dropdown {
        display: none !important;
    }
    
    .tracking-header {
        background: #2c5aa0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .detail-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        background: white !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tracking-header h1 {
        font-size: 2rem;
    }
    
    .tracking-number {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .qr-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .tracking-details-page {
        padding: 80px 0 40px;
    }
    
    .tracking-header {
        padding: 30px 15px;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
}