/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #ffffff 0%, #fefefe 100%);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Orange Color Scheme */
:root {
    --primary-orange: #FF8C00;
    --dark-orange: #FF6B00;
    --light-orange: #FFA500;
    --accent-orange: #FF7F00;
    --orange-gradient: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    --dark-bg: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #2c3e50;
    --light-text: #ecf0f1;
    --gray-light: #f3f4f6;
    --gray-medium: #e5e7eb;
    --gray-dark: #9ca3af;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
}

/* Navbar Styles */
.navbar {
    background: var(--orange-gradient);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.admin-link {
    background-color: rgba(192, 57, 43, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-link:hover {
    background-color: rgba(192, 57, 43, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 1002;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Admin Navbar */
.admin-navbar {
    background-color: var(--primary-orange);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-welcome {
    color: var(--white);
    margin-right: 1rem;
}

.logout-btn {
    background-color: var(--dark-orange);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.logout-btn:hover {
    background-color: var(--primary-orange);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://th.bing.com/th/id/R.4c42f7e567bf8fff0d6dc997107ac6be?rik=ooipwe6pig33bg&pid=ImgRaw&r=0');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 1px;
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1.5s ease-out;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.45);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--light-bg), #ffffff);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.features > .container {
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(to bottom, var(--white), #fafafa);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.3);
}

.feature-card h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff, var(--light-bg));
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.services-preview > .container {
    position: relative;
    z-index: 1;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin: 0 auto 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-preview h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: linear-gradient(to bottom, var(--white), #fdfdfd);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 140, 0, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
    transition: height 0.4s ease;
    z-index: 1;
}

.service-item:hover::before {
    height: 4px;
}

.service-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.3);
}

.service-item h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 18px;
    z-index: 2;
}

.service-item h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
    border-radius: 2px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 5rem 0;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out;
}

.page-header p {
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease-out;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* About Content */
.about-content {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-text {
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.about-text ul {
    margin-left: 2rem;
    margin-top: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    padding-left: 10px;
}

.about-text li:before {
    content: '•';
    color: var(--primary-orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.office-locations {
    margin-top: 3rem;
}

.office-locations h2 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.office-locations h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}

.office {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-orange);
    transition: transform 0.3s ease;
}

.office:hover {
    transform: translateX(5px);
}

.office h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Services Page */
.services {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.service-detail {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.1);
}

.service-detail h2 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.service-detail h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
}

.service-detail p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.service-detail ul {
    margin-left: 1.5rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.service-detail li:before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background-color: var(--light-bg);
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2:after,
.contact-form-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 3px solid var(--primary-orange);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    line-height: 1.6;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Track Form */
.track-form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    min-height: 100vh;
}

.track-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.track-form-section > .container {
    position: relative;
    z-index: 1;
}

.track-form-container {
    max-width: 700px;
    margin: 0 auto 2rem;
    background: linear-gradient(145deg, var(--white), #fdfdfd);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(255, 140, 0, 0.25);
}

.track-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--dark-orange));
}

.track-form {
    background: transparent;
    padding: 2rem 0;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: none;
    border: none;
}

.track-form .form-group {
    margin-bottom: 2rem;
    position: relative;
}

.track-form .form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.track-form .form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.track-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

/* Mailto Button Styles */
.mailto-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.mailto-container p {
    margin: 0 0 1rem 0;
    color: #555;
    font-size: 1.1rem;
}

.mailto-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.mailto-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
    text-decoration: none;
    color: white;
}

.mailto-btn i {
    margin-right: 0.5rem;
}

.alternative-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.alternative-contact p {
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 500;
}

.alternative-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.alternative-contact li {
    display: flex;
    justify-content: center;
}

.alternative-contact a {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.alternative-contact a:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.45);
}

.submit-btn:disabled {
    background: linear-gradient(135deg, #cccccc, #999999);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0.7;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled::before {
    opacity: 0;
}

.tracking-result,
.tracking-error {
    background: linear-gradient(145deg, var(--white), #fdfdfd);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
    transition: transform 0.3s ease;
}

.separate-tracking-container,
.separate-error-container {
    max-width: 800px;
    margin: 2rem auto;
    width: 100%;
}

.tracking-result h3 {
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 140, 0, 0.2);
    color: var(--dark-text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-result:hover,
.tracking-error:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 25px rgba(255, 140, 0, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tracking-result.hidden,
.tracking-error.hidden {
    display: none;
}

.shipment-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 10px;
    background: linear-gradient(to right, transparent, rgba(255, 140, 0, 0.03), transparent);
}

.detail-row:hover {
    background: linear-gradient(to right, rgba(255, 140, 0, 0.05), rgba(255, 140, 0, 0.08), rgba(255, 140, 0, 0.05));
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
}

.label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.05rem;
}

.value {
    color: #555;
    font-size: 1.05rem;
    font-weight: 500;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge.Pending,
.status-badge.-pending---shipment-created- {
    background-color: var(--primary-orange);
    color: white;
}

.status-badge.In\ Transit,
.status-badge.-in-transit- {
    background-color: var(--dark-orange);
    color: white;
}

.status-badge.Delivered,
.status-badge.-delivered- {
    background-color: #27ae60;
    color: white;
}

.status-badge.Exportation\ Clearance,
.status-badge.-export-clearance-pending- {
    background-color: #3498db;
    color: white;
}

.status-badge.Importation\ Clearance,
.status-badge.-import-clearance-pending- {
    background-color: #e67e22;
    color: white;
}

.status-badge.-out-for-delivery- {
    background-color: #9b59b6;
    color: white;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tracking-error {
    background: linear-gradient(145deg, #ffffff, #fefefe);
    color: #2c3e50;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.tracking-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
}

.error-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.error-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fdf2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    font-size: 1.8rem;
    border: 2px solid #fbeaea;
}

.error-content h3 {
    color: #c0392b;
    margin: 0;
    font-size: 1.4rem;
}

.error-content p {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.5;
}

.error-suggestions {
    background: #fef9e7;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #f1c40f;
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
}

.error-suggestions p {
    margin: 0;
    color: #8b7355;
    font-size: 0.9rem;
}

.error-suggestions strong {
    color: #c0392b;
}

/* Admin Login */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="1600" height="900" viewBox="0 0 1600 900"%3e%3crect width="1600" height="900" fill="%23FF8C00"/%3e%3cpath d="M0,450 L800,900 L1600,450 L1600,900 L0,900 Z" fill="%23FF6B00" opacity="0.2"/%3e%3cpath d="M0,450 L800,0 L1600,450 L1600,0 L0,0 Z" fill="%23FF6B00" opacity="0.2"/%3e%3ctext x="800" y="450" font-family="Arial" font-size="30" fill="white" text-anchor="middle" dominant-baseline="middle"%3eSecure Login%3c/text%3e%3c/svg%3e');
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.admin-login-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
    width: 100%;
    max-width: 400px;
    border-top: 4px solid var(--primary-orange);
}

.admin-login-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.admin-login-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-text);
}

.admin-login-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.error-message {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: shake 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message.hidden {
    display: none;
}

.admin-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Admin Dashboard */
.admin-container {
    padding: 2rem;
    background-color: var(--light-bg);
}

.admin-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-orange);
}

.admin-section h2 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.admin-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
}

.admin-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-form .form-group.full-width {
    flex: none;
    width: 100%;
}

.admin-form .form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--dark-text);
}

.admin-form .form-group input,
.admin-form .form-group select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-container input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.search-btn {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.2);
}

.search-btn:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 140, 0, 0.3);
}

.shipments-table-container {
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 1rem;
}

.shipments-table {
    width: 100%;
    border-collapse: collapse;
}

.shipments-table th,
.shipments-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.shipments-table th {
    background-color: var(--primary-orange);
    color: white;
}

.shipments-table tr:hover {
    background-color: rgba(255, 140, 0, 0.05);
}

.action-btn {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.2);
}

.edit-btn {
    background-color: var(--primary-orange);
    color: white;
}

.edit-btn:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 140, 0, 0.3);
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.2);
}

.delete-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(231, 76, 60, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.2);
    border-top: 4px solid var(--primary-orange);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.close:hover {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--primary-orange);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after,
.footer-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--light-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-section ul li a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--light-orange);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--light-orange);
    text-decoration: none;
    transform: translateX(5px);
}

.footer-section ul li a:hover:before {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
        width: 100%;
        text-align: center;
        transition: all 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        padding: 2rem 0;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 1rem;
        display: block;
        border-radius: 8px;
        margin: 0.25rem 2rem;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.02);
    }

    .admin-link {
        margin: 0.25rem 2rem;
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .admin-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .admin-form .form-group {
        margin-bottom: 1rem;
    }

    .search-container {
        flex-direction: column;
    }
}

/* Icon and Image Styles */
.feature-icon {
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.service-icon {
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.contact-icon {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item .contact-icon {
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item > h3, .contact-item > p {
    margin: 0;
}

.nav-link i {
    margin-right: 0.5rem;
}

.service-image img, .about-image img, .contact-image img, .login-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tracking-img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    border: 4px solid rgba(255, 140, 0, 0.1);
}

.tracking-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.35);
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
}

.submit-btn i {
    margin-right: 0.5rem;
}

.status-badge i {
    margin-right: 0.5rem;
}

.shipments-table th i {
    margin-right: 0.5rem;
}

/* Tracking Page Updates */
.tracking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tracking-header h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.tracking-header p {
    font-size: 1.1rem;
    color: #666;
}

.tracking-visual {
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    padding: 2rem 1rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.tracking-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.05), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tracking-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.4);
}

.step-label {
    text-align: center;
    font-weight: 500;
    color: var(--dark-text);
    font-size: 0.9rem;
    max-width: 100px;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, var(--primary-orange), var(--dark-orange));
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: slide 2s infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.track-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-form .form-group input {
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.track-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
}

.track-btn {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1rem;
    width: 100%;
    transform: translateY(0);
}

.track-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

.track-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}

/* Progress Bar for Tracking */
.progress-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: white;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.progress-step.active {
    transform: scale(1.1);
}

.progress-step i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.progress-step.active i {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.progress-step span {
    font-size: 0.8rem;
    text-align: center;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.progress-step.active span {
    color: var(--dark-text);
    font-weight: 600;
}

.progress-step:hover {
    transform: scale(1.15);
}

.progress-step:hover i {
    transform: scale(1.1);
}

/* Header Content */
.header-content {
    text-align: center;
    margin-bottom: 2rem;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-content h1 i {
    color: var(--primary-orange);
    background: rgba(255, 140, 0, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.track-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-orange), var(--primary-orange));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.track-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

.track-btn:hover::before {
    opacity: 1;
}

.track-btn:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.45);
}

.shipment-card {
    background: linear-gradient(to bottom, var(--white), #fafafa);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.15);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.shipment-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shipment-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.shipment-header h3 i {
    margin-right: 0.5rem;
}

.shipment-status {
    display: flex;
    align-items: center;
}

.shipment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    color: #555;
    padding: 0.5rem;
    background-color: rgba(255, 140, 0, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--primary-orange);
}

.shipment-progress {
    padding: 1.5rem;
    background-color: rgba(255, 140, 0, 0.03);
    border-top: 1px solid rgba(255, 140, 0, 0.1);
}

.shipment-progress h4 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-align: center;
    max-width: 120px;
}

.progress-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

.progress-step-label {
    font-size: 0.8rem;
    color: var(--dark-text);
    font-weight: 500;
    text-align: center;
}

.progress-connector {
    flex: 1;
    height: 2px;
    background: #ddd;
    position: relative;
}

.error-card {
    text-align: center;
    padding: 2rem;
}

.error-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-card h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.error-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Vertical Timeline Styles based on me.txt guidelines */
.vertical-timeline-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    padding-left: 8%; /* 8% from left as per me.txt */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-timeline {
    position: relative;
}

/* Timeline spine line */
.timeline-spine {
    position: absolute;
    left: -8%; /* Positioned at 8% from left as per me.txt */
    top: 0;
    bottom: 0;
    width: 3px; /* 2-3px as per me.txt */
    background: linear-gradient(to bottom, #d1d5db, #ff8c00, #d1d5db); /* Gradient for visual interest */
    z-index: 1;
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    margin-bottom: 64px; /* 64-96px vertical spacing as per me.txt */
    padding-left: 40px; /* Space for the icon */
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.timeline-step.active {
    opacity: 1;
    animation: pulse 1.5s infinite;
    background: linear-gradient(145deg, #fff, #f8f9fa);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4), 0 8px 20px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.5);
    position: relative;
}

.timeline-step.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 16px; /* Match the status card border radius */
    background: linear-gradient(45deg, #ff8c00, #ff6b00, #ff8c00, #ff6b00);
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.timeline-step.completed {
    opacity: 1;
    background: #fff;
    border-color: #e9ecef;
}

/* Timeline step marker (icon) */
.timeline-step-marker {
    position: absolute;
    left: -44px; /* Positioned to overlap the timeline line */
    width: 36px; /* 28-36px as per me.txt */
    height: 36px;
    border-radius: 50%;
    background: #9ca3af; /* Default gray color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px; /* Appropriate for emoji */
    z-index: 3;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.2);
    position: relative;
}

.timeline-step-marker::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    z-index: 1;
}

.timeline-step-marker.created {
    background: #9ca3af;
}

.timeline-step-marker.export-clearance {
    background: #3b82f6;
}

.timeline-step-marker.in-transit {
    background: #f59e0b;
}

.timeline-step-marker.import-clearance {
    background: #8b5cf6;
}

.timeline-step-marker.delivered {
    background: #22c55e;
}

.timeline-step.active .timeline-step-marker,
.timeline-step.completed .timeline-step-marker {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2), 0 0 15px rgba(255, 140, 0, 0.6), 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 4;
}

/* Status card styles */
.status-card {
    flex: 1;
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 12px; /* 12-16px radius as per me.txt */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid #e5e7eb;
    min-height: 130px; /* More rectangular shape */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.status-card.delivered-card {
    background: linear-gradient(145deg, #ecfdf5, #f0fdf4);
    border-left: 4px solid #22c55e;
    min-height: 140px; /* Taller rectangular card for delivered state */
    position: relative;
    overflow: hidden;
}

.status-card.delivered-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.status-card.delivered-card > * {
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.status-card h4 {
    margin: 0 0 8px 0;
    color: var(--dark-text);
    font-size: 14px; /* 14-16px as per me.txt */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.status-description {
    margin: 0 0 8px 0;
    font-size: 12px; /* 12-13px as per me.txt */
    color: #6b7280; /* Softer gray color */
    font-style: normal;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
    line-height: 1.4;
}

.status-details {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-info {
    margin: 4px 0;
    font-size: 11px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
}

.status-info .status-value {
    font-weight: 500;
    color: var(--dark-text);
    margin-left: 5px;
    flex: 1;
    word-break: break-word;
}

.status-location {
    font-size: 11px; /* 11-12px as per me.txt */
    color: #9ca3af; /* Low emphasis */
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

.status-date {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
}

.timeline-step.active .status-date,
.timeline-step.active .status-location,
.timeline-step.completed .status-date,
.timeline-step.completed .status-location {
    color: var(--dark-text);
}

/* Responsive adjustments for vertical timeline */
@media (max-width: 768px) {
    .vertical-timeline-container {
        padding-left: 12%;
    }
    
    .timeline-spine {
        left: -12%;
    }
    
    .timeline-step {
        margin-bottom: 48px; /* Reduced spacing on mobile */
        padding-left: 30px;
    }
    
    .timeline-step-marker {
        left: -50px;
    }
    
    .status-card {
        padding: 12px 14px;
    }
    
    .status-card h4 {
        font-size: 13px;
    }
    
    .status-description {
        font-size: 11px;
    }
    
    .status-location,
    .status-date {
        font-size: 10px;
    }
}

/* Responsive adjustments for tracking page */
@media (max-width: 768px) {
    .tracking-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-connector {
        width: 3px;
        height: 50px;
        transform: rotate(90deg);
    }
    
    .progress-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .progress-connector {
        width: 3px;
        height: 40px;
        transform: rotate(90deg);
    }
    
    .shipment-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .shipment-details-grid {
        grid-template-columns: 1fr;
    }
    
    .separate-tracking-container,
    .separate-error-container {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }
    
    .track-form-container {
        margin-bottom: 1.5rem;
    }
}

/* Admin Form Styles */
.admin-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form .form-group {
    margin-bottom: 1.2rem;
}

.admin-form .form-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .admin-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Status Tabs for Admin Dashboard and Tracking Page */
.status-tabs-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.status-tab {
    position: relative;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.status-tab input[type="radio"] {
    display: none;
}

.status-tab label {
    display: block;
    padding: 12px 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

.status-tab input[type="radio"]:checked + label {
    background: var(--primary-orange);
    color: white;
    border-color: var(--dark-orange);
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.2);
}

.status-tab:hover label {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.status-tab input[type="radio"]:checked + label:hover {
    background: var(--dark-orange);
}

/* About Page Enhancements */
.page-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    padding: 4rem 0;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content h1 i {
    margin-right: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Enhancements */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-orange);
    transition: transform 0.3s ease;
}

.values-list li:hover {
    transform: translateX(5px);
}

.values-list li i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

.office-locations {
    background: linear-gradient(145deg, var(--white), #fdfdfd);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.office {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 10px;
    background: rgba(255, 140, 0, 0.03);
    border: 1px solid rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
}

.office:last-child {
    margin-bottom: 0;
}

.office:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 140, 0, 0.05);
}

.office-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.stats-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat:hover .stat-number,
.stat:hover .stat-label {
    color: white;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .office-locations {
        position: static;
    }
    
    .stats-section {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat {
        flex: 1 1 45%;
    }
}

/* Tracking Page Timeline Enhancements */
.tracking-result {
    margin-top: 2.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    min-width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* NEW TRACKING PAGE UI STYLES */

/* Shipment Header Section */
.shipment-header {
    background: var(--orange-gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tracking-id-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.tracking-id-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.back-to-tracking {
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.9rem;
}

.back-to-tracking:hover {
    color: white;
    text-decoration: underline;
}

/* Estimated Delivery Section */
.estimated-delivery-section {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
}

.est-label {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.est-date {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-orange);
}

/* Progress Section */
.progress-section {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: bold;
    color: var(--dark-text);
}

.progress-percent {
    font-weight: bold;
    color: var(--primary-orange);
}

.progress-track {
    width: 100%;
    height: 12px;
    background: var(--gray-medium);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--orange-gradient);
    width: 0%;
    transition: width 0.5s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-bottom: 0.75rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.info-value {
    font-weight: bold;
    color: var(--dark-text);
}

/* Map Section */
.map-section {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    margin: 0;
    color: var(--dark-text);
}

.live-badge {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.map-container {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

#map {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    text-align: center;
    color: var(--gray-dark);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-medium);
}

/* Timeline Section */
.timeline-section {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
}

.timeline-new {
    position: relative;
}

.timeline-new::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 2px;
    background: var(--gray-medium);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.timeline-item.completed {
    opacity: 1;
}

.timeline-item.active {
    opacity: 1;
    font-weight: bold;
}

.timeline-dot {
    position: absolute;
    left: 4px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-medium);
    z-index: 2;
}

.timeline-item.completed .timeline-dot {
    background: var(--primary-orange);
}

.timeline-item.active .timeline-dot {
    background: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.3);
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-text);
}

.timeline-content p {
    margin: 0 0 0.5rem 0;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--gray-dark);
}

/* Package Section */
.package-section {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
}

.package-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.package-header h3 {
    margin: 0 0 0 0.5rem;
    color: var(--dark-text);
}

.package-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.package-image-container {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.package-image-container img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
}

.package-details {
    flex: 2;
    min-width: 200px;
}

.pkg-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--gray-medium);
}

.pkg-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pkg-label {
    font-weight: bold;
    color: var(--dark-text);
}

.pkg-value {
    color: var(--gray-dark);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.status-badge.pending,
.status-badge.-pending---shipment-created- {
    background: var(--warning);
    color: white;
}

.status-badge.in-transit,
.status-badge.-in-transit- {
    background: var(--primary-orange);
    color: white;
}

.status-badge.delivered,
.status-badge.-delivered- {
    background: var(--success);
    color: white;
}

.status-badge.export-clearance,
.status-badge.-export-clearance-pending- {
    background: #3b82f6;
    color: white;
}

.status-badge.import-clearance,
.status-badge.-import-clearance-pending- {
    background: #8b5cf6;
    color: white;
}

.status-badge.out-for-delivery,
.status-badge.-out-for-delivery- {
    background: #ec4899;
    color: white;
}

/* Mobile Touch Enhancements */
@media (max-width: 768px) {
    /* Increase touch targets for better mobile experience */
    .info-card {
        min-height: 80px;
        padding: 1.2rem;
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
    }
    
    /* Better spacing for mobile */
    .shipment-header {
        margin-bottom: 1.2rem;
    }
    
    .estimated-delivery-section,
    .progress-section,
    .map-section,
    .timeline-section,
    .package-section {
        margin-bottom: 1.2rem;
    }
}

/* Enhanced Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tracking-id-value {
        font-size: 1.3rem;
    }
    
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-label {
        font-size: 1rem;
    }
    
    .progress-percent {
        font-size: 1.1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    
    .info-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .info-label {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .map-section {
        padding: 1rem;
    }
    
    .map-container {
        height: 200px;
    }
    
    .timeline-section {
        padding: 1rem;
    }
    
    .timeline-new::before {
        left: 6px;
    }
    
    .timeline-item {
        padding-left: 30px;
        margin-bottom: 1.2rem;
    }
    
    .timeline-dot {
        left: 2px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.8rem;
    }
    
    .package-section {
        padding: 1rem;
    }
    
    .package-header {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .package-header h3 {
        font-size: 1.1rem;
    }
    
    .package-content {
        flex-direction: column;
    }
    
    .package-image-container img {
        max-width: 150px;
        height: 150px;
    }
    
    .pkg-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .pkg-label {
        font-size: 0.9rem;
    }
    
    .pkg-value {
        font-size: 0.9rem;
    }
    
    .shipment-header {
        padding: 1.2rem;
    }
    
    .estimated-delivery-section,
    .progress-section {
        padding: 1.2rem;
    }
    
    .est-date {
        font-size: 1.1rem;
    }
    
    .tracking-result {
        padding: 0.5rem;
    }
    
    /* Mobile specific styles for better touch targets */
    .back-to-tracking {
        font-size: 0.8rem;
    }
    
    .status-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Mobile specific layout improvements */
    .container {
        padding: 0 15px;
    }
    
    .track-form-container {
        padding: 1.5rem;
        margin: 0 10px 1.5rem;
    }
    
    .tracking-card {
        margin-bottom: 1.2rem;
    }
    
    /* Mobile touch enhancements for timeline */
    .timeline-item {
        min-height: 80px;
    }
    
    .timeline-content {
        min-height: 60px;
    }
}

.tracking-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    padding-left: 40px;
    margin: auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
    height: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d1d5db;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
    animation: pulse 1.5s infinite;
    background: linear-gradient(145deg, #fff, #f8f9fa);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.3);
}

.timeline-item.completed {
    opacity: 1;
    background: #fff;
    border-color: #e9ecef;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.timeline-icon {
    position: absolute;
    left: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-icon.created {
    background: #9ca3af;
}

.timeline-icon.export-clearance {
    background: #3b82f6;
}

.timeline-icon.in-transit {
    background: #f59e0b;
}

.timeline-icon.import-clearance {
    background: #8b5cf6;
}

.timeline-icon.delivered {
    background: #22c55e;
}

.timeline-item.active .timeline-icon,
.timeline-item.completed .timeline-icon {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2), 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-content.delivered-card {
    background: #ecfdf5;
    border-left: 4px solid #22c55e;
}

.timeline-emoji {
    font-size: 1rem;
}

.timeline-content {
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timeline-description {
    margin: 6px 0;
    font-size: 13px;
    color: #374151;
    font-style: normal;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
    line-height: 1.4;
}

.timeline-date {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.timeline-status {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.timeline-item.active .timeline-date,
.timeline-item.active .timeline-status,
.timeline-item.completed .timeline-date,
.timeline-item.completed .timeline-status {
    color: var(--dark-text);
}

.timeline-content h4 {
    margin: 0;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.step-details {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 10px;
    border: 1px solid #eee;
    line-height: 1.5;
}

.step-info {
    font-style: italic;
    font-size: 13px;
    color: #374151;
    margin-top: 0.3rem;
    line-height: 1.4;
}

.step-location {
    font-size: 12px;
    color: #6b7280;
    margin: 0.2rem 0;
    font-style: italic;
    line-height: 1.4;
}

.step-details p {
    margin: 0.3rem 0;
    font-size: 0.85rem;
    color: #666;
}

.step-details p strong {
    color: var(--dark-text);
    font-weight: 500;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 13px;
    border-bottom: 1px dashed #eee;
    line-height: 1.4;
    width: 100%;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #666;
    margin-right: 0.5rem;
    font-size: 12px;
}

.summary-value {
    text-align: right;
    color: var(--dark-text);
    word-break: break-word;
    font-weight: 500;
    font-size: 13px;
}

.summary-value.status-badge {
    text-align: right;
    display: inline-block;
}

@media (max-width: 768px) {
    .tracking-result {
        margin-top: 1.5rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .tracking-content {
        flex-direction: column;
    }
    
    .timeline-container {
        width: 100%;
        max-width: 100%;
        padding-left: 40px;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 18px;
    }
    
    .timeline-item {
        margin-bottom: 30px;
    }
    
    .timeline-icon {
        left: 9px;
        width: 18px;
        height: 18px;
    }
    
    .timeline-content h4 {
        font-size: 14px;
    }
    
    .step-info {
        font-size: 13px;
    }
    
    .step-location {
        font-size: 12px;
    }
    
    .shipment-summary {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .summary-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .summary-label {
        margin-bottom: 2px;
    }
    
    .summary-value {
        text-align: left;
    }
}

.shipment-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    background: var(--white);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}



.timeline {
    position: relative;
    padding-top: 2rem;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-orange);
}

.timeline-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 18%;
    min-width: 180px;
    margin-right: 2%;
    padding-top: 2.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-align: center;
}

.timeline-item:last-child {
    margin-right: 0;
}

.timeline-item.active {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

.timeline-item.completed {
    opacity: 1;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.timeline-icon {
    position: absolute;
    left: 7px;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 0.9rem;
    z-index: 3;
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,0.1);
    font-weight: bold;
}

.timeline-item.active .timeline-icon,
.timeline-item.completed .timeline-icon {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2), 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-content {
    padding: 0.8rem 0.5rem 0;
    transition: all 0.3s ease;
    text-align: left;
}

@media (max-width: 768px) {
    .timeline-content {
        padding: 0.8rem 0.3rem 0;
    }
}

.step-details {
    margin-top: 0.6rem;
    padding: 0.6rem;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 8px;
    border: 1px solid #eee;
}

.step-details p {
    margin: 0.3rem 0;
    font-size: 0.85rem;
    color: #666;
}

.step-info {
    font-style: italic;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.3rem;
}

.step-location {
    font-size: 0.75rem;
    color: #999;
    margin: 0.2rem 0;
    font-style: italic;
}

.step-details p strong {
    color: var(--dark-text);
    font-weight: 500;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #666;
    margin-right: 0.5rem;
}

.summary-value {
    text-align: right;
    color: var(--dark-text);
    word-break: break-word;
    font-weight: 500;
}

.summary-value.status-badge {
    text-align: right;
    display: inline-block;
}

.timeline-item.active .timeline-content,
.timeline-item.completed .timeline-content {
    font-weight: 500;
}

.timeline-content h4 {
    margin: 0 0 0.3rem 0;
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: 600;
}

.timeline-date {
    margin: 0.2rem 0;
    font-size: 0.85rem;
    color: #666;
}

.timeline-status {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

.timeline-item.active .timeline-date,
.timeline-item.active .timeline-status,
.timeline-item.completed .timeline-date,
.timeline-item.completed .timeline-status {
    color: var(--dark-text);
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive adjustments for tracking page timeline */
@media (max-width: 768px) {
    .tracking-result {
        padding: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .tracking-content {
        flex-direction: column;
    }
    
    .timeline-container {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .progress-timeline {
        min-width: auto;
        padding: 1.8rem;
    }
    
    .timeline::before {
        left: 7px;
    }
    
    .timeline-item {
        padding-left: 1.8rem;
        margin-bottom: 1.5rem;
        min-height: 100px;
        padding: 1.2rem;
    }
    
    .timeline-icon {
        left: 3px;
        width: 22px;
        height: 22px;
        box-shadow: 0 0 0 3px #fff;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .step-info {
        font-size: 0.75rem;
    }
    
    .step-location {
        font-size: 0.7rem;
    }
}
