:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #67e8f9;
    --secondary: #f59e0b;
    --dark: #334155;
    --light: #f8fafc;
    --gray: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f0f5f9;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-img {
    width: 50px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
    outline: none;
    border: none;
}

.nav-links a:hover {
    color: var(--primary);
    background-color: rgba(8, 145, 178, 0.1);
}

.nav-links a:focus,
.nav-links a:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.login-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    outline: none;
    border: none;
}

.login-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.login-btn:focus,
.login-btn:active {
    outline: none;
    border: none;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://i.pinimg.com/736x/ad/b5/d9/adb5d94b275fd49b214bef94cb00af4e.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 75px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Tracking Section */
.tracking {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.tracking-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tracking h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    color: var(--primary);
}

.tracking p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 30px;
    color: var(--dark);
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    background: white;
}

.search-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search-form input::placeholder {
    color: #999;
}

.search-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 60px;
}

.search-form button:hover {
    background-color: var(--primary-dark);
}

/* Loading State */
.tracking-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--primary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(8, 145, 178, 0.2);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tracking Results */
.tracking-result {
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 10px;
}

.result-container h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 25px;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Close Button */
#close-tracking {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3) !important;
    transition: all 0.3s ease !important;
}

#close-tracking:hover {
    background: var(--primary-dark) !important;
    transform: scale(1.1) !important;
}

.order-details {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.order-details p {
    margin-bottom: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.order-details p:last-child {
    border-bottom: none;
}

.order-details strong {
    color: var(--dark);
    min-width: 140px;
    text-align: left;
}

.order-details span {
    color: var(--primary);
    font-weight: 600;
    text-align: right;
}

/* Timeline Styles */
.status-timeline {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.status-timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), rgba(8, 145, 178, 0.3));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.timeline-item.completed {
    opacity: 1;
}

.timeline-item.active {
    opacity: 1;
    transform: scale(1.02);
}

.timeline-dot {
    position: absolute;
    left: 4px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ddd;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #ddd;
    transition: all 0.3s ease;
    z-index: 10;
}

.timeline-item.completed .timeline-dot {
    background-color: #10b981;
    box-shadow: 0 0 0 2px #10b981;
    transform: scale(1.1);
}

.timeline-item.active .timeline-dot {
    background-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), 0 0 20px rgba(8, 145, 178, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1.1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2);
    }
}

.timeline-content h4 {
    margin-bottom: 8px;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--dark);
    font-weight: 600;
}

.timeline-item.completed .timeline-content h4 {
    color: #10b981;
}

.timeline-item.active .timeline-content h4 {
    color: var(--primary);
    font-weight: bold;
}

.timeline-content p {
    color: var(--gray);
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    line-height: 1.4;
}

.next-steps {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(103, 232, 249, 0.1));
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.next-steps p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 1px solid #f87171;
    color: #dc2626;
    padding: 15px;
    border-radius: 10px;
    margin: 15px auto;
    text-align: center;
    max-width: 600px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.services-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.service-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.features-image {
    flex: 1;
    text-align: center;
}

.features-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.features-content {
    flex: 1;
}

.features-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    color: var(--primary);
}

.features-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 30px;
    color: var(--gray);
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(8, 145, 178, 0.05);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-light), rgba(103, 232, 249, 0.8));
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}

.feature-icon i {
    color: var(--primary);
    font-size: 22px;
}

.feature-text h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-text p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 0;
    color: var(--gray);
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 35px 25px;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 20px;
    color: var(--dark);
}

.pricing-price {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.pricing-price span {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: normal;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 25px;
    color: var(--primary);
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.7;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 40px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 20px;
}

.cta p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 8px;
    width: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: clamp(0.8rem, 2vw, 0.875rem);
}

/* RESPONSIVE BREAKPOINTS */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        background-attachment: scroll;
        min-height: 40vh;
    }
    
    .features-container,
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .services-grid,
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        height: auto;
        flex-direction: row;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 16px;
        margin: 0;
        border-radius: 25px;
        text-align: center;
        font-size: 0.9rem;
        white-space: nowrap;
        outline: none;
        border: none;
    }
    
    .nav-links a:focus,
    .nav-links a:active {
        outline: none;
        border: none;
        box-shadow: none;
    }
    
    .login-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: 35vh;
        padding: 20px 0;
    }
    
    .hero h1 {
        margin-bottom: 15px;
    }
    
    .hero p {
        margin-bottom: 25px;
    }
    
    .tracking {
        padding: 40px 15px;
    }
    
    .services {
        padding: 60px 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features,
    .about {
        padding: 60px 15px;
    }
    
    .features-image,
    .about-image {
        margin-bottom: 30px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .pricing {
        padding: 60px 15px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact {
        padding: 60px 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta {
        padding: 60px 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    footer {
        padding: 40px 15px 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .nav-links {
        padding: 15px;
        gap: 8px;
    }
    
    .nav-links a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .login-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .hero {
        min-height: 30vh;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 15px;
        max-width: 100%;
        margin: 0 15px;
    }
    
    .search-form input {
        width: 100%;
        border-radius: 15px 15px 0 0;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .search-form button {
        width: 100%;
        padding: 16px;
        border-radius: 0 0 15px 15px;
        font-size: 16px;
    }
    
    .result-container {
        margin: 0 5px;
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    #close-tracking {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
        top: 10px !important;
        right: 10px !important;
    }
    
    .order-details p {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 10px 0;
    }
    
    .order-details strong {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .order-details span {
        text-align: left;
        font-weight: 700;
    }
    
    .status-timeline {
        padding-left: 15px;
    }
    
    .timeline-item {
        padding-left: 35px;
        margin-bottom: 20px;
    }
    
    .timeline-dot {
        width: 16px;
        height: 16px;
        left: 2px;
    }
    
    .service-icon {
        height: 200px;
    }
    
    .feature-item {
        padding: 15px 10px;
    }
    
    .feature-icon {
        min-width: 50px;
        height: 50px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .hero {
        min-height: 40vh;
    }
    
    .result-container {
        padding: 15px 10px;
    }
    
    .order-details,
    .status-timeline,
    .next-steps {
        margin-bottom: 20px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .service-content,
    .pricing-card,
    .contact-card {
        padding: 20px 15px;
    }
}

/* Smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
}

/* Better touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .btn,
    .search-form button,
    #close-tracking {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-item:hover,
    .service-card:hover,
    .pricing-card:hover,
    .contact-card:hover {
        transform: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #f1f5f9;
        --light: #1e293b;
        --gray: #64748b;
    }
    
    body {
        background-color: #0f172a;
        color: var(--dark);
    }
    
    nav,
    .tracking,
    .services,
    .features,
    .about,
    .contact,
    .result-container,
    .service-card,
    .pricing-card,
    .contact-card {
        background-color: #1e293b;
    }
    
    .search-form {
        background-color: #1e293b;
    }
    
    .search-form input {
        color: var(--dark);
    }
    
    .search-form input::placeholder {
        color: var(--gray);
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu-btn,
    #close-tracking,
    .cta,
    footer {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
        min-height: auto;
        padding: 20px 0;
    }
    
    .result-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn,
    .search-form button,
    #close-tracking {
        border: 2px solid currentColor;
    }
    
    .timeline-dot {
        border-width: 2px;
    }
}

/* Focus styles for keyboard navigation */
*:focus {
    outline: none;
}

button:focus,
.btn:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.3);
}

/* Remove all outline and border artifacts */
a:focus,
a:active,
a:visited {
    outline: none;
    border: none;
    text-decoration: none;
}

button:focus,
button:active {
    outline: none;
    border: none;
}

input:focus,
input:active {
    outline: none;
    border: none;
}

/* Loading states */
.search-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Utility classes for responsive text */
.text-responsive {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.heading-responsive {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Animation classes */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-up {
    animation: slideInUp 0.5s ease-out;
}

/* Interactive elements enhancement */
.interactive:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.interactive:active {
    transform: translateY(0);
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    nav {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .nav-links {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
    }
}