/* Tablet Styles */
@media (max-width: 1400px) {
    .hero-layout {
        gap: 2rem;
    }
    .hero-form {
        flex: 1 1 350px;
        max-width: 600px;
    }
    .hero-form-main {
        flex: 1 1 350px;
        max-width: 450px;
    }
    .hero-content {
        flex: 1 1 500px;
    }
    .item-row {
        gap: 2rem;
    }
    .item-text, .item-image {
        max-width: 100%;
    }
    /* .item-image img { */
        /* height: 220px; */
    /* } */
}
@media (max-width: 1100px) {
    .hero-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .hero-form {
        flex: none;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-form-main {
        flex: none;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-content {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .services-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }
    .moving-process-timeline {
        gap: 1rem; /* Adjusted gap */
        justify-content: center;
         padding-top: 35px; /* Adjust padding */
         padding-bottom: 35px; /* Adjust padding */
    }
    .moving-process-timeline::before {
        top: calc(35px + 56px / 2); /* Adjust line position */
    }
    .process-step {
        flex: 0 0 calc(20% - 0.8rem); /* Adjusted flex basis */
        min-width: 160px;
        max-width: 210px; /* Adjusted max-width */
        padding: 1.5rem 1rem 1rem 1rem; /* Adjusted padding */
        margin-top: 0; /* No top margin needed */
    }
    .process-icon {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
        top: -28px; /* Adjust icon position */
    }
    .process-content {
        margin-top: 1.2rem; /* Adjust content margin */
    }
}
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .top-bar-left, .top-bar-center, .top-bar-right {
        justify-content: center;
        flex: unset;
    }
    .header-logo img {
        height: 48px;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    .nav-links a {
        padding: 1rem 0.5rem;
    }
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        min-width: 100%;
    }
    .main-nav {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        position: relative;
    }
    .mobile-menu-toggle {
        display: block;
        margin-right: 0;
        margin-left: auto;
        order: 2;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 8px 24px rgba(44,82,130,0.10);
        z-index: 1001;
        padding: 1rem 0;
        order: 1;
    }
    .nav-links.active {
        display: block;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
        width: 100%;
    }
    .nav-links li {
        width: 100%;
        text-align: left;
    }
    .nav-links a {
        padding: 1rem 2rem;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        min-width: 100%;
        display: none;
        background: #f7fafc;
        padding: 0;
    }
    .has-dropdown.open .dropdown {
        display: block;
    }
    .dropdown a {
        padding-left: 2.5rem;
        background: none;
    }
    .item-image {
        display: none;
    }
    .flex-section, .flex-section.reverse {
        flex-direction: column !important;
        gap: 2rem;
    }
    .section-image, .section-content {
        max-width: 100%;
        min-width: 0;
    }
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    .form-row {
        flex-direction: column;
        gap: 0.7rem;
    }
    .carousel-arrow-left {
        left: -40px;
    }
    .carousel-arrow-right {
        right: -40px;
    }
    .item-row {
        flex-direction: column !important;
        gap: 1.2rem;
    }
    .item-text, .item-image {
        max-width: 100%;
        width: 100%;
        padding: 1.2rem 0.7rem;
    }
    .item-image img {
        height: 160px;
    }
    .moving-process-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 0; /* Gap between steps handled by step margin */
        margin-top: 2rem;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
        position: relative;
        /* Add padding for the vertical line and icons/circles on the left */
        padding-left: 60px; /* Space for vertical line and icon/circle */
        padding-top: 0; /* Remove top padding */
    }
    .moving-process-timeline::before {
        content: '';
        display: block; /* Show vertical line on mobile */
        position: absolute;
        left: 30px; /* Position line to the left of steps */
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
        border-radius: 2px;
        z-index: 0;
        display: none;
    }
    .process-step {
        flex-direction: row; /* Layout content horizontally */
        align-items: flex-start;
        min-width: 0;
        max-width: 100%;
        padding: 1.2rem 1rem;
        margin-left: 0; /* Reset left margin */
        text-align: left;
        margin-bottom: 0; /* Remove bottom margin */
        position: relative; /* Needed for positioning inside step */
        flex: 1 1 auto;
        margin-top: 0; /* Remove top margin */
        /* Add bottom margin for spacing between steps in vertical layout */
        margin-bottom: 2rem;
    }
    /* Remove extra margin on the last step */
    .process-step:last-child {
        margin-bottom: 0;
    }

    .process-icon {
        position: absolute; /* Position icon relative to the step */
        /* Position centered vertically on the left, aligned with the vertical line */
        left: -40px; /* Position to align with line and padding */
        top: 50%;
        transform: translate(-50%, -50%); /* Center vertically relative to its size */
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        box-shadow: none; /* Remove shadow in vertical view */
        background: #fff; /* White background to cover line */
        border: 2px solid var(--secondary-color); /* Border color */
        z-index: 2; /* Ensure icon is above the line */
    }

    .process-content {
        margin-top: 0; /* Remove top margin */
        margin-left: 1.5rem; /* Add left margin for spacing */
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .hero-form {
        max-width: 100%;
    }
    .hero-form-container {
        padding: 2rem 1.5rem;
    }
    .hero-form-container h2 {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-cta .btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-background);
        margin-top: 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .trust-block {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 20px;
    }    
    .trust-block img {
        min-width: 80px;
        height: auto;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .phone-number span {
        display: none;
    }
}

@media (max-width: 700px) {
    .services-grid-redesign {
        grid-template-columns: 1fr;
    }
    .service-card-redesign {
        min-height: 0;
        max-width: 100%;
    }
    .carousel {
        max-width: 100%;
        min-height: 380px;
    }
    .carousel-card {
        max-width: 95%;
        min-height: 400px;
    }
    .carousel-image {
        width: 100%;
        height: 300px;
    }
    .carousel-title {
        font-size: 1.2rem;
    }
    .carousel-desc {
        font-size: 1rem;
        min-height: 40px;
    }
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    .carousel-arrow-left {
        left: -20px;
    }
    .carousel-arrow-right {
        right: -20px;
    }
    .item-handling-section .section-content {
        padding: 1.2rem 0.7rem;
        max-width: 98%;
    }
    .item-handling-section .section-content h3 {
        font-size: 1.08rem;
    }
    .item-handling-section .section-content p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 2.5rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .pricing-cards, .card-grid, .faq-cards {
        gap: 1rem;
    }
    .testimonial-card {
        padding: 1.2rem 0.5rem;
    }
    .quote-form {
        padding: 1.2rem 0.5rem;
    }
    .hero-quote-form {
        padding: 1.2rem 0.5rem;
    }
    .faq-accordion-header {
        font-size: 1rem;
        padding: 1rem 2.2rem 1rem 1rem;
    }
    .faq-accordion-header i {
        font-size: 1rem;
    }
    .accordion-icon {
        right: 1rem;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-layout {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-form-container {
        padding: 1.5rem 1rem;
    }
    
    .hero-form-container h2 {
        font-size: 1.3rem;
    }
    
    .hero-form-container p {
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero {
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }

    .services,
    .cta-section,
    .reviews,
    .map-section {
        padding: 3rem 0;
    }

    .review-card {
        padding: 1.5rem;
    }

    .google-map {
        height: 300px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .hero-features,
    .cta-section,
    .reviews,
    .map-section,
    .site-footer {
        display: none;
    }

    .hero {
        padding: 2rem 0;
        background: none;
        color: black;
    }

    .services {
        padding: 2rem 0;
        background: none;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
} 

/* Moving Process Section Styles For Other Pages */
@media (max-width: 1200px) {
    .moving-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .process-card:nth-child(4) {
        grid-column: auto;
    }
    .process-card:nth-child(5) {
        grid-column: auto;
    }
    .process-card-header {
        padding: 1.2rem;
    }
    .process-card-body {
        padding: 1.2rem;
    }
    .process-card h3 {
        font-size: 1.2rem;
    }
    .process-card p {
        font-size: 1rem;
    }
    .process-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .moving-process-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .moving-process-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .process-card-header {
        padding: 1rem;
    }
    .process-card-body {
        padding: 1rem;
    }
    .process-card-image {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .moving-process-section {
        padding: 3rem 0;
    }
    .moving-process-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .process-card-header {
        padding: 1rem;
        gap: 1rem;
    }
    .process-card-body {
        padding: 1rem;
    }
    .process-number {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .process-card h3 {
        font-size: 1.1rem;
    }
    .process-card p {
        font-size: 0.95rem;
    }
    .process-card-image {
        height: 180px;
    }
}

/* Reviews Section Responsive Styles */
@media (max-width: 900px) {
    .reviews-carousel {
        max-width: 100%;
        min-height: 380px;
    }
    .review-card {
        max-width: 95%;
        min-height: 380px;
        padding: 2rem 1.5rem;
    }
    .review-text {
        font-size: 1.1rem;
    }
    .reviews-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .reviews-arrow-left {
        left: -50px;
    }
    .reviews-arrow-right {
        right: -50px;
    }
}

@media (max-width: 700px) {
    .reviews-carousel {
        min-height: 350px;
    }
    .review-card {
        max-width: 98%;
        min-height: 350px;
        padding: 1.5rem 1rem;
    }
    .review-text {
        font-size: 1rem;
    }
    .review-stars i {
        font-size: 1.3rem;
    }
    .reviews-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .reviews-arrow-left {
        left: -20px;
    }
    .reviews-arrow-right {
        right: -20px;
    }
}

@media (max-width: 660px) {
    .review-card {
        max-width: 95%;
        min-height: 340px;
        padding: 1.2rem 0.8rem;
    }
    .review-text {
        font-size: 0.9rem !important;
    }
    .author-info h4 {
        font-size: 1.05rem;
    }
    .author-info span {
        font-size: 0.95rem;
    }
    .review-stars i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .reviews {
        padding: 3rem 0;
    }
    .review-card {
        max-width: 95%;
        min-height: 320px;
        padding: 1.2rem 0.8rem;
    }
    .review-text {
        font-size: 0.95rem;
    }
    .review-stars {
        margin-bottom: 1rem;
    }
    .review-stars i {
        font-size: 1.2rem;
    }
    .author-info h4 {
        font-size: 1rem;
    }
    .author-info span {
        font-size: 0.9rem;
    }
}