/* General styling for the section */
.track-shipping1 {
    width: 100%;
    margin: 0 auto;
    
}

/* Header container styling */
.track-shipping-header1 {
    background-image: url('../Assets/pexels-pixabay-358220.jpg');
    background-size: cover;
    background-position: center;
    height: 350px; /* Adjust height as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 20px;
    color: white; /* Ensure contrast with the background */
}

/* Optional overlay */
.track-shipping-header1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    z-index: 1;
}

/* Title styling */
.track-shipping-header1 h3 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px; /* Space between title and form */
    z-index: 2; /* Place above the overlay */
    position: relative;
}

/* Form container styling */
.track-shipping-form1 {
    z-index: 2;
    position: relative;
    width: 100%; /* Scale properly */
    max-width: 500px; /* Limit form width for larger screens */
    text-align: center;
}

/* Input field styling */
.track-shipping-form1 input[type="text"] {
    width: calc(100% - 20px); /* Full width with spacing */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Submit button styling */
.track-shipping-form1 input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.track-shipping-form1 input[type="submit"]:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Slight zoom effect */
}

/* Mobile-first responsive adjustments */
@media (min-width: 768px) {
    .track-shipping-header1 {
        height: 400px;
    }
    .track-shipping-form1 {
        max-width: 600px;
    }
}

@media (min-width: 1200px) {
    .track-shipping-header1 h3 {
        font-size: 3rem;
    }
    .track-shipping-form1 input[type="text"],
    .track-shipping-form1 input[type="submit"] {
        font-size: 1.1rem;
    }
}
