/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 1.5rem;
    color: #333;
}

.hero p {
    font-size: 1.0rem;
    color: #666;
    margin-bottom: 20px;
}

.cta-button {
    padding: 12px 24px;
    background-color: #ff5733;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c70039;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    margin-bottom: 40px;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex-basis: 22%;
    text-align: center;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step p {
    font-size: 1rem;
    color: #666;
}

.step-icon {
    font-size: 3rem;
    color: #ff5733;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial {
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 1.2rem;
    color: #333;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
}

footer {
    background-color: #000033;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

header {
    background-color: #000033;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header p {
    margin: 0;
}

/* Transport Companies Section */
.transport-companies {
    margin-top: 40px;
    margin-bottom: 20px; /* Adding space between sections */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.transport-companies h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Companies Grid */
.companies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Company Card */
.company-card {
    background-color: #fff;  /* White background */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.company-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Company Name Styling */
.company-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Company URL Styling */
.company-url a {
    font-size: 1.2rem;
    color: #007bff;
    text-decoration: none;
}

.company-url a:hover {
    text-decoration: underline;
}

/* Subscribe Card - Differentiated, but Same White Background */
.subscribe-card {
    background-color: #fff;  /* White background for consistency */
    border: 2px solid #007bff;  /* Blue border to differentiate */
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Same shadow effect */
    transition: box-shadow 0.3s ease;
}

/* Center the main CTA button below the grid */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}



/* Form page-specific styles */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form label {
    font-size: 1rem;
    margin-bottom: 8px;
}

.form-container form input, 
.form-container form button {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container form input:focus {
    border-color: #007bff;
    outline: none;
}

.form-container form button {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

.form-container form button:hover {
    background-color: #0056b3;
}

.form-container p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.form-container .suggestions-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ccc;
    max-height: 100px;
    overflow-y: auto;
}

.form-container .suggestions-list li {
    padding: 8px;
    cursor: pointer;
}

.form-container .suggestions-list li:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }

	.steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

/* Button Wrapper */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}
