/* Other Services & Locations Sections - Enhanced Font Sizes Following Style Guide */

/* Base font size */
html {
    font-size: 16px;
}

/* ================================================ */
/* OTHER SERVICES SECTION */
/* ================================================ */

.marshall-home-services {
    background-color: #ffffff;
    padding: 90px 0; /* Increased from 80px to match style guide */
    font-family: 'Lancelot', cursive, serif;
}

.marshall-home-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.marshall-home-services-content {
    text-align: center;
}

.marshall-home-services-title {
    color: #333;
    font-size: 2.75rem; /* Increased from 2.625rem (44px) - matches style guide */
    font-weight: 500;
    margin-bottom: 22px; /* Increased from 15px to match style guide */
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.marshall-home-services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #5ca7db;
}

.marshall-home-services-subtitle {
    font-size: 1.3125rem; /* Increased from 1.25rem (21px) - matches body text */
    color: #555;
    margin-bottom: 55px; /* Increased from 50px to match style guide */
    max-width: 800px; /* Increased from 600px for better readability */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.marshall-home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; /* Reduced from 35px to match style guide grid spacing */
    max-width: 1100px;
    margin: 0 auto;
}

.marshall-home-service-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 38px 28px; /* Increased from 35px 25px to match style guide */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Enhanced to match style guide */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #5ca7db; /* Added to match moments section style */
}

.marshall-home-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.marshall-home-service-icon {
    margin-bottom: 22px; /* Increased from 20px */
}

.marshall-home-service-icon i {
    font-size: 45px; /* Increased from 42px to match style guide */
    color: #5ca7db;
}

.marshall-home-service-name {
    font-size: 1.5625rem; /* Increased from 1.5rem (25px) - matches subtitle hierarchy */
    font-weight: 500;
    color: #333;
    margin-bottom: 22px; /* Increased from 15px to match style guide */
}

.marshall-home-service-desc {
    font-size: 1.25rem; /* Increased from 1.125rem (20px) - extra boost for readability */
    color: #555;
    line-height: 1.6;
}

/* ================================================ */
/* LOCATIONS SECTION */
/* ================================================ */

.marshall-home-locations {
    background-color: #e8e8e8;
    padding: 90px 0; /* Increased from 80px to match style guide */
    font-family: 'Lancelot', cursive, serif;
}

.marshall-home-locations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.marshall-home-locations-content {
    display: flex;
    align-items: flex-start;
    gap: 55px; /* Increased from 50px to match style guide */
}

.marshall-home-locations-info {
    flex: 1;
    min-width: 300px;
}

.marshall-home-locations-title {
    color: #333;
    font-size: 2.75rem; /* Increased from 2.625rem (44px) - matches style guide */
    font-weight: 500;
    margin-bottom: 22px; /* Increased from 20px to match style guide */
    position: relative;
    padding-bottom: 15px;
}

.marshall-home-locations-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #5ca7db;
}

.marshall-home-locations-text {
    font-size: 1.3125rem; /* Increased from 1.25rem (21px) - matches body text */
    color: #333;
    line-height: 1.7; /* Improved from 1.6 to match style guide */
    margin-bottom: 28px; /* Reduced from 30px but adjusted to match style guide spacing */
}

.marshall-home-locations-subtitle {
    font-size: 1.5625rem; /* Increased from 1.5rem (25px) - matches subtitle hierarchy */
    font-weight: 500;
    color: #333;
    margin-bottom: 22px; /* Increased from 20px to match style guide */
    margin-top: 10px;
    position: relative;
    padding-bottom: 10px;
}

.marshall-home-locations-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #5ca7db;
}

.marshall-home-locations-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0; /* Increased from 25px to match style guide */
}

.marshall-home-locations-list li {
    font-size: 1.3125rem; /* Increased from 1.25rem (21px) - extra boost for bullet points */
    color: #333;
    padding-left: 28px; /* Reduced from 30px to match style guide */
    margin-bottom: 14px; /* Increased from 12px to match style guide */
    position: relative;
    line-height: 1.6;
}

.marshall-home-locations-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px; /* Adjusted for larger text */
    width: 10px; /* Reduced from 12px to match style guide */
    height: 10px; /* Reduced from 12px to match style guide */
    border-radius: 50%;
    background-color: #5ca7db;
}

.marshall-home-locations-note {
    font-size: 1.1875rem; /* Increased from 1.125rem (19px) - matches secondary text */
    color: #666;
    line-height: 1.6; /* Improved from 1.5 */
    font-style: italic;
}

.marshall-home-locations-map {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* Added hover effect */
}

.marshall-home-locations-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.marshall-home-locations-map iframe {
    width: 100%;
    height: 460px; /* Increased from 450px */
    border: 0;
    display: block;
}

/* ================================================ */
/* RESPONSIVE BREAKPOINTS */
/* ================================================ */

/* Large Tablet Styles (769px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    .marshall-home-services,
    .marshall-home-locations {
        padding: 80px 0; /* Increased from 70px to match style guide */
    }
    
    .marshall-home-services-container,
    .marshall-home-locations-container {
        padding: 0 30px;
    }
    
    .marshall-home-services-title,
    .marshall-home-locations-title {
        font-size: 2.4875rem; /* Updated to match style guide (39.8px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-home-services-subtitle {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 50px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-text {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 25px;
    }
    
    .marshall-home-locations-subtitle {
        font-size: 1.4375rem; /* Updated to match style guide (23px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 12px; /* Adjusted to match style guide */
        padding-left: 26px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li::before {
        top: 7px; /* Adjusted for larger text */
    }
    
    .marshall-home-locations-note {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
    }
    
    .marshall-home-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-item {
        padding: 35px 25px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-icon {
        margin-bottom: 20px;
    }
    
    .marshall-home-service-icon i {
        font-size: 40px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-name {
        font-size: 1.4375rem; /* Updated to match style guide (23px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-desc {
        font-size: 1.125rem; /* Updated to match style guide (18px) */
    }
    
    .marshall-home-locations-content {
        gap: 45px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-map iframe {
        height: 420px; /* Adjusted to match style guide proportions */
    }
}

/* Small Tablet Styles (481px - 768px) */
@media (max-width: 768px) {
    .marshall-home-services,
    .marshall-home-locations {
        padding: 70px 0; /* Increased from 60px to match style guide */
    }
    
    .marshall-home-services-container,
    .marshall-home-locations-container {
        padding: 0 20px;
    }
    
    .marshall-home-services-title,
    .marshall-home-locations-title {
        font-size: 2.25rem; /* Updated to match style guide (36px) */
        margin-bottom: 38px; /* Adjusted to match style guide */
    }
    
    .marshall-home-services-subtitle {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 45px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-text {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 22px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-subtitle {
        font-size: 1.3125rem; /* Updated to match style guide (21px) */
        margin-bottom: 18px; /* Adjusted to match style guide */
        text-align: center;
    }
    
    .marshall-home-locations-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .marshall-home-locations-list li {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 12px; /* Adjusted to match style guide */
        padding-left: 22px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li::before {
        width: 8px;
        height: 8px;
        top: 6px; /* Adjusted for larger text */
    }
    
    .marshall-home-locations-note {
        font-size: 1rem; /* Updated to match style guide (16px) */
    }
    
    .marshall-home-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-item {
        padding: 32px 22px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-icon {
        margin-bottom: 20px;
    }
    
    .marshall-home-service-icon i {
        font-size: 38px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-name {
        font-size: 1.3125rem; /* Updated to match style guide (21px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-desc {
        font-size: 1rem; /* Updated to match style guide (16px) */
    }
    
    .marshall-home-locations-content {
        flex-direction: column;
        gap: 35px; /* Adjusted to match style guide */
        text-align: center;
    }
    
    .marshall-home-locations-info,
    .marshall-home-locations-map {
        width: 100%;
        min-width: auto;
    }
    
    .marshall-home-locations-title {
        text-align: center;
        width: 100%;
    }
    
    .marshall-home-locations-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .marshall-home-locations-text {
        text-align: center;
        max-width: 100%;
    }
    
    .marshall-home-locations-list {
        text-align: left;
        display: inline-block;
        margin: 0 auto 22px auto; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-note {
        text-align: center;
        max-width: 100%;
    }
    
    .marshall-home-locations-map iframe {
        height: 390px; /* Adjusted to match style guide proportions */
    }
}

/* Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    .marshall-home-services,
    .marshall-home-locations {
        padding: 60px 0; /* Increased from 50px to match style guide */
    }
    
    .marshall-home-services-container,
    .marshall-home-locations-container {
        padding: 0 20px; /* Increased from 15px to match style guide */
    }
    
    .marshall-home-services-title,
    .marshall-home-locations-title {
        font-size: 2.125rem; /* Updated to match style guide (34px) */
        margin-bottom: 35px; /* Adjusted to match style guide */
    }
    
    .marshall-home-services-subtitle {
        font-size: 1.03125rem; /* Updated to match style guide (16.5px) */
        margin-bottom: 40px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-text {
        font-size: 1.03125rem; /* Updated to match style guide (16.5px) */
        margin-bottom: 25px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-subtitle {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 18px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li {
        font-size: 1rem; /* Updated to match style guide (16px) */
        padding-left: 20px; /* Adjusted to match style guide */
        margin-bottom: 10px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li::before {
        width: 7px;
        height: 7px;
        top: 5px; /* Adjusted for larger text */
    }
    
    .marshall-home-locations-note {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
    }
    
    .marshall-home-services-grid {
        grid-template-columns: 1fr;
        gap: 25px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-item {
        padding: 28px 20px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-icon {
        margin-bottom: 18px;
    }
    
    .marshall-home-service-icon i {
        font-size: 35px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-name {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 18px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-desc {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
    }
    
    /* Mobile Locations - Centered layout */
    .marshall-home-locations-content {
        gap: 30px; /* Adjusted to match style guide */
        text-align: center;
    }
    
    .marshall-home-locations-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .marshall-home-locations-list {
        margin: 0 auto 25px auto; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-map iframe {
        height: 360px; /* Adjusted to match style guide proportions */
    }
}

/* Extra Small Mobile (≤ 360px) */
@media (max-width: 360px) {
    .marshall-home-services-container,
    .marshall-home-locations-container {
        padding: 0 18px; /* Adjusted to match style guide */
    }
    
    .marshall-home-services-title,
    .marshall-home-locations-title {
        font-size: 2rem; /* Updated to match style guide (32px) */
        margin-bottom: 30px; /* Adjusted to match style guide */
    }
    
    .marshall-home-services-subtitle {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
        margin-bottom: 35px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-text {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
        margin-bottom: 22px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-subtitle {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 15px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li {
        font-size: 0.9375rem; /* Updated to match style guide (15px) */
        padding-left: 18px; /* Adjusted to match style guide */
        margin-bottom: 8px; /* Adjusted to match style guide */
    }
    
    .marshall-home-locations-list li::before {
        width: 6px;
        height: 6px;
        top: 5px; /* Adjusted for larger text */
    }
    
    .marshall-home-locations-note {
        font-size: 0.90625rem; /* Updated to match style guide (14.5px) */
    }
    
    .marshall-home-service-item {
        padding: 25px 18px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-icon i {
        font-size: 30px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-name {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 15px; /* Adjusted to match style guide */
    }
    
    .marshall-home-service-desc {
        font-size: 0.90625rem; /* Updated to match style guide (14.5px) */
    }
    
    .marshall-home-locations-map iframe {
        height: 330px; /* Adjusted to match style guide proportions */
    }
}