/* Modal styles for contact form */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
}
.close-modal {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-modal:hover {
  color: #e74c3c;
}
/* Hero section background image */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)), url('../images/hero.jpg') center center/cover no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 60vh;
    color: #fff;
    padding: 80px 20px 60px 20px;
    text-align: center;
    position: relative;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.hero .cta-btn {
    margin: 10px 8px 0 8px;
    z-index: 2;
    position: relative;
}

@media (max-width: 600px) {
    .hero {
        padding: 50px 10px 40px 10px;
        background-position: center top;
    }
}
/* Global Styling */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    padding: 0;
    background-color:rgb(217, 222, 227);
    line-height: 1.6;
}

main {
    flex: 1;
    padding-top: 80px;
}

header {
    background-color: #17181a; /* Navy blue */
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: rgb(246, 58, 58);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #28a745;
}

.get-quote-btn {
    background-color: #ff3232;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: rgb(254, 246, 246);
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.get-quote-btn:hover {
    background-color: #e62020;
    color: white;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)), url('images/hero.jpg') center center/cover no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-btn, .more-btn, .form-btn {
    background-color: #28a745; /* Green */
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-btn:hover, .more-btn:hover, .form-btn:hover {
    background-color: #218838;
}

/* Hero section pricing button */
.cta-btn[aria-label="View Pricing"] {
    background-color: #0077be;
    color: white;
    margin-top: 10px;
    display: inline-block;
}

.services {
    padding: 3rem 2rem;
    text-align: center;
    background: none;
    color: inherit;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.service-item {
    background: #fff;
    color: #23272b;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-align: left;
    max-width: 350px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dark-page .service-item {
    background: #2d3238;
    color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.service-item h3 {
    margin-top: 0;
    color: #0077be;
}

.dark-page .service-item h3 {
    color: #4fc3f7;
}

.service-item p {
    color: #555;
}

.dark-page .service-item p {
    color: #e0e0e0;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.services-cta {
    margin-top: 2rem;
}

.more-btn {
    background-color: #0077be;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.more-btn:hover {
    background-color: #005fa3;
}

.comments, .blog-teaser, .instant-quote, .blog, .contact {
    padding: 3rem 2rem;
    text-align: center;
}

.service-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item, .blog-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: left;
}

.service-item h2, .blog-item h3 {
    margin-top: 0;
    color: #003087;
}

.service-item p, .blog-item p {
    color: #555;
}

.service-item:hover, .blog-item:hover {
    transform: translateY(-5px);
}

.comment-item {
    background-color: white;
    padding: 1rem;
    border-left: 4px solid #e30613;
    margin-bottom: 1rem;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comment-item p {
    margin-top: 0;
}

.comment-item cite {
    display: block;
    font-style: italic;
    color: #777;
    margin-top: 0.5rem;
}

.more-comments-btn {
    display: block;
    margin: 2rem 0;
    color: #e30613;
    text-decoration: none;
    font-weight: bold;
}

.blog-teaser {
    background-color: #f2f2f2;
}

.blog-teaser-btn {
    background-color: #e30613; /* Red */
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
}

.blog-search {
    padding: 0.75rem;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.blog-link {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

.blog-link:hover {
    text-decoration: underline;
}

footer {
    background-color: #394d70;
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-section {
    margin: 1rem;
    text-align: left;
    /* Remove background and border for clean look */
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-section h3 {
    margin-top: 0;
    color: #ddd;
}

.social-link {
    color: #f10404; /* Red */
    text-decoration: none;
}

.social-link:hover {
    text-decoration: underline;
}

/* Instant Quote Styling */
.instant-quote form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.instant-quote label {
    display: block;
    margin-bottom: 0.3rem;
    color: #333;
    font-weight: bold;
}

.instant-quote select, .instant-quote input, .contact input, .contact select, .contact textarea {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-btn, .instant-quote button, .contact button {
    background-color: #28a745;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 2rem;
}

.contact-btn:hover, .instant-quote button:hover, .contact button:hover {
    background: #219150;
}

.quote-result {
    display: none;
    max-width: 800px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quote-result.visible {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}

.quote-details p {
    font-size: 1.1rem;
    color: #495057;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quote-details strong {
    color: #ffffff;
    font-size: 1.2rem;
}

.quote-note {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.quote-note p {
    margin: 0.3rem 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn {
    background: #e30613;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background: #cc0510;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.2);
}

.hidden { display: none; }

.animate-pop {
    animation: popIn 0.5s cubic-bezier(0.26, 0.53, 0.74, 1.48);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#truck-animation {
    /* Placeholder for truck animation */
    height: 50px;
    background-image: url('images/truck-icon.png'); /* Replace with your truck icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0.5rem;
}

.dark-page {
    background-color: #343a40;
    color: #f8f9fa;
}

.dark-page header {
    background-color: #212529;
}

.dark-page nav .nav-links a {
    color: #f8f9fa;
}

.dark-page nav .nav-links a:hover {
    color: #28a745;
}

.dark-page .comment-item {
    background-color: #495057;
    color: #f8f9fa;
    border-left-color: #e30613;
}

.dark-page .comment-item cite {
    color: #ccc;
}

.dark-page .blog-search {
    background-color: #495057;
    color: #f8f9fa;
    border-color: #6c757d;
}

.dark-page .blog-search::placeholder {
    color: #ccc;
}

.dark-page footer {
    background-color: #394d70 !important;
    color: #f8f9fa !important;
}

.dark-page .contact form input,
.dark-page .contact form select,
.dark-page .contact form textarea {
    background-color: #495057;
    color: #f8f9fa;
    border-color: #6c757d;
}

.dark-page .contact form input::placeholder,
.dark-page .contact form select::placeholder,
.dark-page .contact form textarea::placeholder {
    color: #ccc;
}

.dark-page .contact-info {
    color: #f8f9fa;
    text-align: center;
    margin-top: 2rem;
}

.dark-page .contact-info strong {
    color: #28a745;
}

.dark-page .instant-quote form label {
    color: #f8f9fa;
}

.dark-page .quote-result {
    background-color: #495057;
    color: #f8f9fa;
}

.dark-page .footer-section {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Add this or modify existing styles for the form */
form#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds spacing between form elements */
    max-width: 500px; /* Optional: Set a max width for the form */
    margin: 0 auto; /* Center the form horizontally */
}

form#contact-form input,
form#contact-form select,
form#contact-form textarea,
form#contact-form button {
    width: 100%; /* Make all form elements take full width */
    padding: 10px; /* Add padding for better usability */
    font-size: 16px; /* Ensure consistent font size */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 5px; /* Optional: Add rounded corners */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

form#contact-form textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 100px; /* Set a minimum height for the textarea */
}

form#contact-form button {
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Button text color */
    border: none; /* Remove border */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Add hover effect */
}

form#contact-form button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Modify the comment form for proper alignment */
form#comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds spacing between form elements */
    max-width: 500px; /* Optional: Set a max width for the form */
    margin: 0 auto; /* Center the form horizontally */
    margin-bottom: 20px; /* Adds space below the form */
}

form#comment-form input,
form#comment-form textarea,
form#comment-form button {
    width: 100%; /* Make all form elements take full width */
    padding: 10px; /* Add padding for better usability */
    font-size: 16px; /* Ensure consistent font size */
    border: 1px solid #ccc; /* Add a border */
    border-radius: 5px; /* Optional: Add rounded corners */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

form#comment-form input::placeholder,
form#comment-form textarea::placeholder {
    color: #777; /* Placeholder text color */
    font-style: italic; /* Optional: Italicize placeholder text */
}

form#comment-form button {
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Button text color */
    border: none; /* Remove border */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Add hover effect */
    text-align: center; /* Center-align button text */
}

form#comment-form button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

#comment-list {
    margin-top: 20px; /* Adds space above the first comment */
}

/* Advice Grid Styling */
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.advice-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background-color: #f9f9f9;
}

.advice-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Style for the suburb dropdown */
#suburb {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* Optional: Style for dropdown options */
#suburb option {
    padding: 5px;
    font-size: 14px;
}

/* Ensure responsiveness */
@media (max-width: 768px) {
    #suburb {
        font-size: 14px;
        padding: 8px;
    }
}

/* Style for the result message */
#quote-result {
    display: none; /* Initially hidden */
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#quote-result.visible {
    display: block;
}

#quote-text {
    font-size: 24px; /* Bigger font size */
    font-weight: bold; /* Bold text */
    color: #333; /* Darker color for emphasis */
}

/* Truck animation styling */
.animate-truck {
    animation: moveTruck 3s linear;
}

@keyframes moveTruck {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #quote-text {
        font-size: 20px; /* Slightly smaller font size for smaller screens */
    }
}

/* General styling for the advice section */
.advice-section {
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
    font-family: Arial, sans-serif;
}

.advice-section h1 {
    text-align: center;
    color: #0073e6;
    margin-bottom: 20px;
    margin-top: 20px; /* Add spacing above the heading */
}

/* Updated Advice Section Styling */
.advice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.advice-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.advice-item:hover {
    transform: translateY(-5px);
}

.advice-item h3 {
    color: #0073e6;
    margin-bottom: 10px;
}

.advice-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.advice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.advice-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.advice-item h3 {
    color: #0073e6;
    margin-bottom: 10px;
}

.advice-item p {
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .quote-result {
        padding: 1rem;
        font-size: 1rem;
    }
    #quote-amount {
        font-size: 2rem;
    }
    .instant-quote form {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Add these styles for the instant quote page */
.instant-quote-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.dark-page .instant-quote-page {
    background: #23272b !important;
}

.instant-quote {
    max-width: 900px;
    margin: 0 auto;
    background: none;
    box-shadow: none;
}

.instant-quote h1 {
    text-align: center;
    color: #1a237e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.dark-page .instant-quote h1 {
    color: #4fc3f7;
    text-shadow: none;
}

.instant-quote .lead {
    text-align: center;
    color: #455a64;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.dark-page .instant-quote .lead {
    color: #b0bec5;
}

#quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#quote-form:hover {
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group select,
.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #1a237e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,35,126,0.3);
}

.quote-result {
    max-width: 800px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.918);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.295);
    display: none;
}

.quote-result.visible {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#quote-amount {
    font-size: 2.5rem;
    color: #1a237e;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
}

.quote-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.quote-details p {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: #3d6a79;
}

.quote-note {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.quote-note p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 5px 0;
}

.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,35,126,0.3);
}

/* Truck Animation */
@keyframes drive {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

#truck-animation {
    height: 60px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

#truck-animation::before {
    content: '🚛';
    font-size: 40px;
    position: absolute;
    animation: drive 2s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .instant-quote h1 {
        font-size: 2rem;
    }

    #quote-form {
        padding: 20px;
    }

    .form-group select,
    .form-group input[type="number"],
    .form-group input[type="text"] {
        font-size: 16px; /* Better for mobile */
    }

    #quote-amount {
        font-size: 2rem;
    }
}

/* Pricing Page Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

.pricing-table th, 
.pricing-table td {
    border: 1px solid #ddd;
    padding: 12px;
}

.pricing-table th {
    background-color: #0077be;
    color: white;
}

.pricing-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.pricing-table tr:hover {
    background-color: #f1f1f1;
}

.pricing-hero {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
}

.pricing-hero h1 {
    color: #0077be;
}

.additional-info {
    margin-top: 30px;
}

.additional-info ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Ensure all text is readable on dark backgrounds */
.dark-page,
.dark-page main,
.dark-page .services,
.dark-page .comments,
.dark-page .blog-teaser,
.dark-page .blog,
.dark-page .contact,
.dark-page .advice-section,
.dark-page .advice-list,
.dark-page .advice-item,
.dark-page .pricing-hero,
.dark-page .pricing-details,
.dark-page .additional-info {
    background-color: #23272b !important;
    color: #f8f9fa !important;
}

.dark-page h1,
.dark-page h2,
.dark-page h3,
.dark-page h4,
.dark-page h5,
.dark-page h6,
.dark-page label,
.dark-page .logo-text {
    color: #1a5f9b !important;
    text-shadow: 0 1px 2px #17181a44;
}

.dark-page .service-item,
.dark-page .blog-item,
.dark-page .advice-item,
.dark-page .comment-item,
.dark-page .quote-result,
.dark-page .quote-details,
.dark-page .pricing-table,
.dark-page #quote-form,
.dark-page .footer-section {
    color: #f8f9fa !important;
    border-color: #394d70 !important;
}

.dark-page .service-item h2,
.dark-page .blog-item h3,
.dark-page .advice-item h3 {
    color: #4fc3f7 !important;
}

.dark-page .service-item p,
.dark-page .blog-item p,
.dark-page .advice-item p,
.dark-page .comment-item p,
.dark-page .quote-details p,
.dark-page .quote-note,
.dark-page .pricing-table td,
.dark-page .pricing-table th {
    color: #e0e0e0 !important;
}

.dark-page .quote-details {
    background: #23272b !important;
}

.dark-page .quote-note {
    background: #2d3238 !important;
    color: #b0bec5 !important;
}

.dark-page .contact-btn,
.dark-page .instant-quote button,
.dark-page .contact button,
.dark-page .submit-btn {
    background: linear-gradient(135deg, #1976d2 0%, #394d70 100%) !important;
    color: #fff !important;
}

.dark-page .contact-btn:hover,
.dark-page .instant-quote button:hover,
.dark-page .contact button:hover,
.dark-page .submit-btn:hover {
    background: #1565c0 !important;
}

.dark-page input,
.dark-page select,
.dark-page textarea {
    background-color: #23272b !important;
    color: #f8f9fa !important;
    border: 1px solid #394d70 !important;
}

.dark-page input::placeholder,
.dark-page select::placeholder,
.dark-page textarea::placeholder {
    color: #b0bec5 !important;
}

.dark-page .nav-links a {
    color: #f8f9fa !important;
}

.dark-page .nav-links a:hover {
    color: #4fc3f7 !important;
}

.dark-page .logo-text {
    color: #ff5252 !important;
}

.dark-page .footer-section h3 {
    color: #90caf9 !important;
}

.dark-page .social-link {
    color: #4fc3f7 !important;
}

.dark-page .social-link:hover {
    color: #fff !important;
}

.dark-page .blog-search {
    background-color: #23272b !important;
    color: #f8f9fa !important;
    border-color: #394d70 !important;
}

.dark-page .blog-search::placeholder {
    color: #b0bec5 !important;
}

.dark-page .advice-item {
    border: 1px solid #394d70 !important;
}

.dark-page .pricing-table th {
    background-color: #394d70 !important;
    color: #fff !important;
}

.dark-page .pricing-table tr:nth-child(even) {
    background-color: #23272b !important;
}

.dark-page .pricing-table tr:hover {
    background-color: #394d70 !important;
}

.dark-page #quote-amount {
    color: #4fc3f7 !important;
}

.dark-page #truck-animation::before {
    filter: drop-shadow(0 0 4px #4fc3f7);
}

/* Instant Quote Form Updates */
.instant-quote label,
.instant-quote .form-instructions,
.instant-quote select,
.instant-quote input[type="number"],
.instant-quote input[type="text"] {
    color: #ffffff !important;
}

.instant-quote .form-group label {
    color: #111 !important;
}

.instant-quote .form-group select,
.instant-quote .form-group input[type="number"],
.instant-quote .form-group input[type="text"] {
    color: #ffffff !important;
}

/* Ensure the distance field text is also black */
#distance {
    color: #ffffff !important;
}

/* Responsive Navigation Bar */
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        display: none;
        background: #17181a;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
        z-index: 1001;
    }
    .nav-links.active {
        display: flex;
    }
    .get-quote-btn {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 1rem;
        z-index: 1002;
    }
}

/* Hamburger hidden by default */
.menu-toggle {
    display: none;
}

/* Responsive main content and grids */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .service-grid, .blog-grid, .advice-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    main, .services, .comments, .blog-teaser, .instant-quote, .blog, .contact, .advice-section {
        padding: 1rem !important;
    }
    .hero {
        padding: 2rem 0.5rem;
        height: auto;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .footer-section {
        margin: 0.5rem 0;
    }
    .logo-img {
        height: 32px;
        width: 32px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .get-quote-btn, .cta-btn, .more-btn, .form-btn, .contact-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    .quote-result, #quote-form {
        padding: 1rem;
    }
}

/* Ensure forms and buttons are touch-friendly */
input, select, textarea, button {
    font-size: 1rem;
    min-height: 44px;
}

/* Hide overflow for nav on mobile */
@media (max-width: 900px) {
    header, nav {
        position: relative;
    }
}

/* Footer responsive text */
@media (max-width: 600px) {
    footer {
        font-size: 0.95rem;
    }
}