/*
 * JPS Moving Company - Main Stylesheet
 *
 * This stylesheet is organized into logical sections for readability and maintainability.
 *
 * Table of Contents:
 * 1. Base & Reset
 * 2. Layout (Sticky Footer)
 * 3. Global Overlays & Background
 * 4. Header & Navigation
 * 5. Hero Section
 * 6. Content Sections (Common Styling)
 * 6.1. About Section Specifics
 * 7. Service Cards (Original List)
 * 8. Expanded Services Content (Intro, Provinces, Packages, Routes)
 * 9. Highlighted Contact Box
 * 10. Partners Section Specifics
 * 11. Video Showcase Specifics
 * 12. Floating Action Buttons (FABs)
 * 13. Footer
 * 14. Responsive Adjustments (Media Queries)
 */
/* Universal Box-Sizing for consistent sizing */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

/* Global Reset: Remove default margins and paddings */
body, html {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure both HTML and Body take full viewport height */
    overflow-x: hidden; /* Prevent horizontal scroll if elements go slightly off-screen */
}

/* 1. Base & Reset */
* {
    box-sizing: border-box; /* Standardizes box model for consistent sizing */
    margin: 0;             /* Reset default margins for all elements */
    padding: 0;            /* Reset default padding for all elements */
}

html {
    height: 100%;                  /* Important for body to inherit full height for sticky footer */
    scroll-behavior: smooth;       /* Smooth scrolling for anchor links (e.g., nav menu) */
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; /* Modern, system-native font stack */
    line-height: 1.6; /* Improves readability of body text */
    color: #fcfdfe; /* Default light text color for better contrast against dark overlay */
    overflow-x: hidden; /* Prevent horizontal scroll bar from appearing due to minor layout shifts */
}


/* 2. Layout (Sticky Footer) */
body {
    display: flex;         /* Make body a flex container */
    flex-direction: column; /* Stack children (header, main, footer) vertically */
    min-height: 100vh;     /* Ensure body always takes at least the full viewport height */
}

main {
    flex-grow: 1; /* Allows main content to expand and push the footer to the bottom */
}

/* 3. Global Overlays & Background */

/* New: Background Slider Container */
#background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden; /* Crucial: Hides images outside the viewport */
}

/* New: Individual Slide Styles */
#background-slider .slide {
    position: absolute; /* Position slides over each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0; /* Hidden by default */
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out; /* Smooth slide and fade */
    will-change: transform, opacity; /* Optimize for animation performance */
}

#background-slider .slide.active {
    opacity: 1; /* Make active slide visible */
    transform: translateX(0); /* Ensure active slide is in view */
}

/* Updated: Dark overlay for improved text readability over the background images */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1; /* Places the overlay behind the main content but above the slider */
}

/* 4. Header & Navigation */
header {
    position: sticky; /* Makes header stick to the top on scroll */
    top: 0;
    z-index: 100; /* High z-index to ensure header is always on top */
    background: rgba(255, 255, 255, 0.9); /* More opaque white for better legibility */
    backdrop-filter: blur(8px); /* Slightly stronger blur for a more premium look */
    border-bottom: 1px solid rgba(0, 0, 0, 0.15); /* Slightly more defined border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* More noticeable but still subtle shadow */
}

nav {
    max-width: 1100px; /* Limits header content width on large screens */
    margin: 0 auto;    /* Centers the navigation horizontally */
    padding: 1rem 1.5rem; /* Increased padding for more breathing room */
    display: flex;
    align-items: center; /* Vertically aligns logo and nav items */
    justify-content: space-between; /* Spaces logo and nav links apart */
}

.logo {
    height: 90px; /* Slightly reduced height for a more balanced header */
    width: auto; /* Maintains aspect ratio */
    vertical-align: middle;
    margin-right: 1.5rem; /* More space between logo and nav on desktop */
}

nav ul {
    list-style: none; /* Removes bullet points from list */
    display: flex;
    gap: 1.5rem; /* Increased gap for better visual separation of links */
}

nav ul li a {
    text-decoration: none;
    color: #333; /* Darker grey for better contrast on white background */
    font-weight: 600;
    padding: 0.6rem 1rem; /* Increased padding for larger clickable area */
    border-radius: 0.75rem; /* More rounded corners */
    transition: background 0.25s ease, color 0.25s ease, transform 0.1s ease; /* Smoother and more comprehensive transition */
}

nav ul li a:hover,
nav ul li a:focus { /* Consistent hover and focus states for accessibility */
    background: rgba(0, 0, 0, 0.08); /* Lighter hover background */
    color: #000; /* Pure black on hover for strong contrast */
    transform: translateY(-2px); /* Subtle lift effect on hover */
}


/* 5. Hero Section */
#hero {
    text-align: center;
    padding: 8rem 1.5rem 6rem; /* More generous padding for a grander feel */
    color: white; /* Text color for hero section */
    /* REMOVED: box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5); - The body::before covers this now */
}


#hero h2 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Larger, more impactful heading */
    margin-bottom: 1rem; /* Ample space below heading */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.95); /* More pronounced text shadow */
    letter-spacing: 0.06em; /* Subtle letter spacing for better appearance */
    line-height: 1.2; /* Tighter line height for large headings */
}

#hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem); /* Larger, more readable paragraph text */
    opacity: 1; /* Full opacity for main hero text */
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.85); /* Clearer text shadow */
    max-width: 800px; /* Prevents paragraph from getting too wide on large screens */
    margin: 0.5rem auto 0; /* Center paragraph below heading */
}


/* 6. Content Sections (Common Styling) */
/* Apply consistent max-width, margins, and padding to all main content sections */
#services,
#about,
#contact,
#video-showcase,
#partners {
    max-width: 1000px; /* Slightly reduced max-width for better content flow */
    margin: 3.5rem auto; /* Generous vertical spacing between sections */
    padding: 0 1.5rem; /* Consistent horizontal padding */
}

/* Headings for all content sections */
#services h3,
#about h3,
#contact h3,
#video-showcase h3,
#partners h3 {
    font-size: clamp(2rem, 3.5vw, 2.8rem); /* Larger, more impactful section headings */
    margin-bottom: 2rem; /* Ample space below headings */
    color: #ffffff; /* White headings for contrast */
    text-align: center; /* All section headings centered */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6); /* Clearer shadow for headings */
}

/* Paragraphs in About and Contact sections */
#about p,
#contact p {
    color: #e0e0e0; /* Slightly off-white for softer contrast */
    font-size: 1.15rem; /* Slightly larger, more readable paragraph font size */
    line-height: 1.75; /* Increased line height for better readability */
    max-width: 800px; /* Constrain paragraph width for better readability */
    margin: 0 auto; /* Center paragraphs */
}

#contact a {
    color: #90d4ff; /* Lighter blue for links to stand out */
    text-decoration: none;
    font-weight: 600; /* Make links slightly bolder */
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

#contact a:hover {
    color: #c0eaff; /* Even lighter blue on hover */
    text-decoration: underline;
}

/* 6.1. About Section Specifics */
.about-content {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack image and text by default */
    align-items: center; /* Center items horizontally */
    gap: 1.5rem; /* Space between the image and text */
    max-width: 800px; /* Match the max-width of your paragraphs */
    margin: 0 auto; /* Center the content block */
    text-align: center; /* Center the text inside this block */
}

.owner-profile-pic {
    max-width: 200px; /* Set a reasonable maximum width for the image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make it circular (common for profile pics) */
    border: 4px solid rgba(255, 255, 255, 0.7); /* A nice white border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    object-fit: cover; /* Ensures image fills the circle without distortion */
    aspect-ratio: 1 / 1; /* Ensures it's a perfect circle/square */
}


/* 7. Service Cards (Original List) */
/* If you decide to keep a list of core services like 'Residential Moves' etc.
    alongside the new content, this styling will apply to that specific list. */
.services-list {
    list-style: none; /* Removes bullet points */
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Larger min-width for cards */
    gap: 2rem; /* More space between service cards */
    margin-bottom: 2rem; /* Added margin to separate from new content */
}

.services-list li {
    background: rgba(255, 255, 255, 0.95); /* Nearly opaque white for best readability on cards */
    color: #222; /* Darker text for maximum contrast on light cards */
    padding: 2rem; /* More generous padding inside cards */
    border-radius: 1rem; /* More pronounced rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18); /* Stronger, yet still elegant shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    font-weight: 500;
    line-height: 1.7; /* Good line height for card content */
}

.services-list li:hover {
    transform: translateY(-8px); /* More noticeable lift on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}


/* 8. Expanded Services Content (Intro, Provinces, Packages, Routes) */
.service-intro {
    margin-bottom: 3rem; /* Space before packages */
    text-align: center;
}

.service-intro p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 1.5rem; /* Center and add space below intro paragraph */
}

.service-intro h4 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.province-list {
    list-style: none; /* Remove bullets */
    padding: 0;
    display: grid; /* Use grid for a clean, multi-column list */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.7rem 1.5rem; /* Row and column gap */
    max-width: 800px; /* Constrain width of province list */
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.05rem;
}

.province-list li {
    background: rgba(255, 255, 255, 0.1); /* Initial subtle background */
    color: #e0e0e0; /* Initial text color */
    padding: 0.75rem 1.25rem; /* Slightly more padding for a "button" feel */
    border-radius: 0.75rem; /* Slightly more rounded corners */
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Slightly stronger initial shadow */
    backdrop-filter: blur(3px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease; /* Add transitions for background and color */
    cursor: default; /* Indicates they are interactive, but not clickable links */
}

.province-list li:hover {
    transform: translateY(-5px); /* Slightly less lift than packages, adjust if needed */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); /* Stronger shadow on hover */
    background: #0a66c2; /* Your site's blue on hover */
    color: #ffffff; /* White text on blue background */
}

/* Package Boxes (Budget & Basic) */
.packages-container {
    display: grid; /* Use grid to lay out packages */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* At least 350px wide, or stack */
    gap: 2rem; /* Space between package boxes */
    margin-top: 3rem; /* Space from intro */
    margin-bottom: 4rem; /* Space before route details */
}

.service-package {
    background: rgba(255, 255, 255, 0.95); /* Same as your service list cards */
    color: #222; /* Dark text on light background */
    padding: 2.5rem; /* Generous padding */
    border-radius: 1rem; /* Consistent rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure boxes are equal height if content differs */
    display: flex;
    flex-direction: column;
}

.service-package:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.service-package h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0a66c2; /* A nice blue for package titles */
    text-align: left; /* Package titles aligned left */
}

.service-package p {
    font-size: 1rem; /* Standard paragraph size for package details */
    line-height: 1.7;
    color: #333;
    flex-grow: 1; /* Makes paragraph take up available space, pushing content down */
}

/* Route Details Section */
.route-details {
    background: rgba(255, 255, 255, 0.1); /* Subtle transparent background for the route details box */
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 4rem; /* Ensure space above this section */
}

.route-details h4 {
    font-size: clamp(1.8rem, 3vw, 2.5rem); /* Consistent with other section sub-headings */
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.route-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.route-steps {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin-bottom: 2.5rem; /* Space before contact message */
}

/* Styling for individual route steps */
.route-steps li {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background than provinces for contrast */
    padding: 1.2rem 1.5rem; /* Good padding for readability */
    margin-bottom: 1rem; /* Space between steps */
    border-radius: 0.8rem; /* Consistent rounding */
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); /* Soft initial shadow */
    backdrop-filter: blur(4px); /* Slightly stronger blur for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease; /* All smooth transitions */
    color: #e0e0e0; /* Default text color */
    line-height: 1.6; /* Improve readability */
}

/* Hover effect for route steps */
.route-steps li:hover {
    transform: translateY(-3px); /* A more subtle lift than other boxes */
    box-shadow: 0 6px 15px rgba(0,0,0,0.3); /* Enhanced shadow on hover */
    background: #0a66c2; /* Your site's blue */
    color: #ffffff; /* White text for contrast */
}

/* Optional: Style for the strong tag inside the list item for emphasis */
.route-steps li strong {
    color: #f0f0f0; /* Make strong tags stand out slightly initially */
    transition: color 0.3s ease; /* Transition for strong tag color */
}

.route-steps li:hover strong {
    color: #ffffff; /* Ensure strong tag is white on hover as well */
}


/* 9. Highlighted Contact Box */
#contact p.highlight {
    background: rgba(10, 102, 194, 0.95); /* Very opaque blue for highlight box */
    color: white;
    padding: 2rem; /* More padding */
    border-radius: 1rem; /* Consistent rounded corners */
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(10, 102, 194, 0.4); /* Stronger shadow from the blue */
    max-width: 650px; /* Slightly wider highlight box */
    margin: 2rem auto; /* More vertical space */
    text-align: center;
    font-size: 1.2rem; /* Larger text for highlight */
    line-height: 1.4; /* Tighter line height for highlight */
}

.google-review-link {
    display: inline-block;
    margin-top: 1rem; /* More space from previous line */
    font-weight: 700;
    color: #FFD700; /* Gold color for Google Review to stand out (or Google's blue #4285F4) */
    text-decoration: underline;
    cursor: pointer;
    font-size: 1.1rem; /* Slightly larger font */
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.google-review-link:hover {
    color: #FFC107; /* Slightly darker gold on hover */
    text-decoration: none;
}


/* 10. Partners Section Specifics */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exactly 2 columns */
    gap: 3rem; /* More space between logos */
    justify-items: center; /* Center logos within their cells */
    align-items: center; /* Vertically center logos */
    background: rgba(255, 255, 255, 0.15); /* Very subtle white transparent background */
    padding: 2.5rem; /* Generous padding */
    border-radius: 1rem; /* Consistent large rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Nicer shadow for the transparent box */
    max-width: 700px; /* Controls the maximum width of the 2-column grid */
    margin-left: auto;
    margin-right: auto;
}

.partners-grid a {
    display: flex; /* Centers the image inside the link */
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0.5rem; /* Small internal padding for the link area */
}

.partner-logo {
    max-width: 100%; /* Ensures logos don't overflow */
    height: 90px; /* Standardized height for all partner logos */
    width: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the entire logo is visible within the fixed height */
    filter: grayscale(100%) brightness(1.2); /* Slightly brighter grayscale for better visibility */
    opacity: 0.8; /* Slightly more opaque in grayscale state */
    transition: all 0.4s ease; /* Smoother transition for hover effects */
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1); /* Full color and normal brightness on hover */
    opacity: 1; /* Full opacity on hover */
    transform: scale(1.08); /* More noticeable zoom on hover */
}


/* 11. Video Showcase Specifics */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 1rem; /* Consistent rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow for the video player */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 12. Floating Action Buttons (FABs) */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Increased gap between FABs */
    z-index: 1000; /* Ensure FABs are on top of everything */
}

.fab {
    width: 55px; /* Slightly larger FABs */
    height: 55px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25); /* Stronger shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease; /* Comprehensive transition */
}

.fab:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* More pronounced shadow on hover */
    transform: translateY(-3px); /* Subtle lift on hover */
}

.fab svg {
    width: 30px; /* Slightly larger icons */
    height: 30px;
}


/* 13. Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem; /* Consistent padding */
    color: #fcfdfe; /* Light text for footer (assumes dark footer background from overlay) */
    background: rgba(0, 0, 0, 0.7); /* A darker, semi-transparent background for the footer */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle light border at the top */
    font-size: 0.95rem; /* Consistent font size */
}


/* 14. Responsive Adjustments (Media Queries) */

/* General adjustments for tablets and smaller desktops */
@media (max-width: 1024px) {
    #services, #about, #contact, #video-showcase, #partners {
        margin: 3rem auto; /* Slightly less vertical margin */
        padding: 0 1rem; /* Reduced padding on sides for smaller screens */
    }

    /* Header adjustments */
    nav {
        padding: 0.8rem 1rem;
    }
    .logo {
        height: 80px; /* Slightly smaller logo */
    }
    nav ul li a {
        padding: 0.5rem 0.8rem; /* Adjusted nav link padding */
    }

    /* Hero adjustments */
    #hero {
        padding: 6rem 1rem 4rem;
    }
    #hero h2 {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }
    #hero p {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
    }

    /* Section heading adjustments */
    #services h3, #about h3, #contact h3, #video-showcase h3, #partners h3 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    /* About section profile pic adjustment for larger screens */
    .about-content {
        flex-direction: row; /* Layout image and text side-by-side */
        text-align: left; /* Align text left when side-by-side */
        align-items: flex-start; /* Align items to the top */
        gap: 2.5rem; /* More space between image and text on wider screens */
    }
    .owner-profile-pic {
        flex-shrink: 0; /* Prevent image from shrinking */
        width: 200px; /* Fixed width on larger screens */
        height: 200px; /* Fixed height for perfect circle */
        margin-right: 1.5rem; /* Space to the right of the image */
    }
    .about-content p {
        margin: 0; /* Remove auto margins when in flex row */
    }
}

/* Adjustments for larger phones and small tablets */
@media (max-width: 768px) {
    /* Header responsive layout */
    nav {
        flex-wrap: wrap; /* Allow navigation items to wrap */
        justify-content: center; /* Center items when wrapped */
        gap: 0.8rem; /* Smaller gap when wrapping */
    }
    /* Updated to target the link wrapping the logo, assuming you added it */
    .logo-link {
        width: 100%; /* Make logo take full width */
        text-align: center; /* Center logo itself */
    }
    .logo {
        height: 70px; /* Smaller logo for mobile */
        margin-right: 0; /* Remove right margin when centered */
        margin-bottom: 0.5rem; /* Add some space below logo */
    }
    nav ul {
        width: 100%; /* Make nav links take full width */
        justify-content: center; /* Center the links */
        flex-wrap: wrap; /* Allow links to wrap if too many */
        gap: 0.8rem;
    }
    nav ul li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.95rem; /* Slightly smaller font for nav links */
    }

    /* Hero section for mobile */
    #hero {
        padding: 5rem 1rem 3rem;
    }
    #hero h2 {
        font-size: clamp(2rem, 4.5vw, 3rem); /* Smaller on mobile */
        text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    }
    #hero p {
        font-size: clamp(1rem, 2.5vw, 1.2rem); /* Smaller on mobile */
        text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    }

    /* Content sections for mobile */
    #services, #about, #contact, #video-showcase, #partners {
        margin: 2.5rem auto; /* Reduced vertical margin */
        padding: 0 1rem;
    }
    #services h3, #about h3, #contact h3, #video-showcase h3, #partners h3 {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem); /* Smaller headings */
        margin-bottom: 1.5rem;
    }
    #about p, #contact p {
        font-size: 1rem; /* Smaller body text */
    }

    /* Service cards */
    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller min-width for cards */
        gap: 1.2rem;
    }
    .services-list li {
        padding: 1.2rem;
        border-radius: 0.75rem;
    }

    /* Expanded Services Content */
    .service-intro h4,
    .route-details h4 {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
        margin-bottom: 1rem;
    }
    .service-intro p,
    .route-intro,
    .route-contact {
        font-size: 1rem;
    }
    .province-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Adjust for smaller screens */
        gap: 0.5rem 1rem;
    }
    .service-package {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
    .service-package h4 {
        font-size: 1.6rem;
    }
    .route-details {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
    .route-steps li {
        padding: 1rem;
        border-radius: 0.5rem;
        font-size: 0.95rem;
    }
    .route-steps li strong {
        font-size: 1rem;
    }

    /* Contact highlight box */
    #contact p.highlight {
        padding: 1.2rem;
        border-radius: 0.75rem;
        margin: 1.5rem auto;
        font-size: 1.1rem;
    }
    .google-review-link {
        margin-top: 0.8rem;
        font-size: 1rem;
    }

    /* Partners grid */
    .partners-grid {
        grid-template-columns: 1fr; /* Stack partners on top of each other */
        max-width: 350px; /* Constrain width when stacked */
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .partner-logo {
        height: 70px; /* Smaller logos when stacked */
    }

    /* FAB buttons */
    .fab-container {
        bottom: 1.5rem; /* Closer to bottom on mobile */
        right: 1.5rem; /* Closer to right on mobile */
        gap: 0.8rem; /* Smaller gap */
    }
    .fab {
        width: 48px; /* Smaller FABs */
        height: 48px;
    }
    .fab svg {
        width: 26px; /* Smaller icons */
        height: 26px;
    }
}

/* Adjustments for very small phones */
@media (max-width: 480px) {
    /* Reduce padding on header and general sections */
    nav {
        padding: 0.5rem 0.8rem;
    }
    #hero {
        padding: 4rem 0.8rem 2.5rem;
    }
    #services, #about, #contact, #video-showcase, #partners {
        margin: 2rem auto;
        padding: 0 0.8rem;
    }

    /* Hero text smaller */
    #hero h2 {
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    }
    #hero p {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }

    /* Section headings smaller */
    #services h3, #about h3, #contact h3, #video-showcase h3, #partners h3 {
        font-size: clamp(1.4rem, 3.5vw, 2rem);
        margin-bottom: 1rem;
    }

    /* Body text smaller */
    #about p, #contact p {
        font-size: 0.9rem;
    }

    /* Service packages stack */
    .packages-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-package {
        padding: 1rem;
    }
    .service-package h4 {
        font-size: 1.4rem;
    }

    /* Route details */
    .route-details h4 {
        font-size: 1.5rem;
    }
    .route-intro, .route-contact, .route-steps li {
        font-size: 0.9rem;
    }
    .route-steps li strong {
        font-size: 0.95rem;
    }

    /* Contact highlight box smaller */
    #contact p.highlight {
        padding: 1rem;
        font-size: 1rem;
    }
    .google-review-link {
        font-size: 0.9rem;
    }

    /* Footer text smaller */
    footer {
        font-size: 0.85rem;
        padding: 1.5rem 0.8rem;
    }
}

/* Styling for the "Just Professional Services" heading within the hero section */
#hero h2 {
    color: #ffffff; /* Your site's signature blue */
    text-align: center; /* Center it */
    margin-bottom: 1rem; /* Space below the heading */
    padding-bottom: 0.5rem; /* Space between text and underline */
    border-bottom: 2px solid #ffffff; /* A subtle blue underline */
    display: inline-block; /* Essential to make border-bottom only as wide as the text */
    font-size: 5.0rem; /* Adjust font size if needed */
    font-weight: 600; /* Ensure it's bold enough */
    /* Add margin-left and margin-right for centering the inline-block element */
    margin-left: auto;
    margin-right: auto;
}