:root {
    --primary-color: #28a745; /* Primary color (green) */
    --secondary-color: #6C757D; /* Secondary color (gray) */
    --accent-color: #FFC107; /* Accent color (yellow) */
    --background-color: #F8F9FA; /* Background color (light gray) */
    --text-color: #343A40; /* Text color (dark gray) */
    --white: #FFFFFF; /* White color */
    --light-gray: #E9ECEF; /* Light gray color */
    --dark-gray: #495057; /* Dark gray color */
    --box-shadow-color: rgba(0, 0, 0, 0.1); /* Box shadow color */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--box-shadow-color);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .logo a:hover {
    color: var(--accent-color);
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 20px;
    position: relative;
    color: var(--text-color);
    padding-bottom: 10px; /* Add padding at the bottom */
    text-align: center; /* Center the heading text */
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}


p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
    max-width: 600px; /* Limit the width of paragraphs */
    margin-left: auto;
    margin-right: auto;
}

.intro {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

ul {
    text-align: left;
    padding-left: 20px;
    margin: 10px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rates-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.rate-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--box-shadow-color);
}

.rate-icon {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
    color: var(--white);
}

.rate-icon i {
    font-size: 3rem;
}

.rate-details {
    padding: 20px;
}

.rate-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.rate-details p, .rate-details ul {
    margin: 10px 0;
    color: var(--dark-gray);
    line-height: 1.6;
}

.book-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-gray);
}

.rates-footnote {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

#cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    background-color: var(--primary-color); /* Add background color */
    color: var(--white); /* Ensure text is readable on dark background */
}

#cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

#cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-gray);
}

footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--dark-gray);
}

footer p{
    text-align: center;
}

.call-button {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 0;
    }

    .call-button {
        display: block; /* Hidden by default */
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background-color: var(--primary-color);
        color: var(--white);
        border-radius: 50%;
        box-shadow: 0 4px 8px var(--box-shadow-color);
        text-align: center;
        line-height: 60px;
        font-size: 24px;
        z-index: 1000;
    }
    
    .call-button:hover {
        background-color: var(--accent-color);
        color: var(--dark-gray);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 10px 0;
    }

    .burger {
        display: block;
    }

   
    .nav-links.active {
        display: flex;
    }

    .about-content, .rates-content, .pricing-content {
        flex-direction: column;
    }

    .rate-card, .about-section, .why-card, .pricing-image {
        max-width: 100%;
    }
    .about-image {
        width: 100%;
        max-width: 800px;
        height: auto;
        aspect-ratio: 2 / 1; /* Ensures the aspect ratio of 800x400 (2:1) */
        border-radius: 10px; /* Optional: to make the corners rounded */
        object-fit: cover; /* Ensures the image covers the container without distortion */
    }
    .rate-icon, .why-icon {
        margin-bottom: 10px;
    }

    form {
        padding: 15px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    label {
        text-align: left;
        margin-bottom: 5px;
    }

    button {
        padding: 10px 20px;
    }

    textarea {
        height: 80px;
    }
}

/* Additional styles for centering and padding */
section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

p {
    max-width: 600px; 
    margin: 0 auto; 
    margin-bottom: 20px;
    text-align: left; 
}

h1, h2, h3 {
    margin: 0 auto; /* Center headings */
}

h1::after, h2::after, h3::after {
    margin: 0 auto; /* Center the :after element */
}

#long-distance-moves .long-distance-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

#cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px; /* Add rounded corners */
    box-shadow: 0 0 20px var(--box-shadow-color); /* Add shadow */
}

#cta h3, #cta p {
    color: var(--white); /* Ensure text is readable on dark background */
}

#cta .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-gray);
}

#cta .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
}
