/* About Page Styles - Enhanced Font Sizes Following Style Guide */

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ================================================ */
/* HERO SECTION WITH BACKGROUND IMAGE */
/* ================================================ */

.marshall-about-hero {
    position: relative;
    min-height: 220px; /* Increased from 200px for better proportion */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Lancelot', cursive, serif;
}

.marshall-about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/top-about.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: -1;
}

.marshall-about-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.marshall-about-hero-title {
    color: #fff;
    font-size: 3.75rem; /* Increased from 3.5rem (60px) - matches enhanced hero sizing */
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Lancelot', cursive, serif;
}

/* ================================================ */
/* ABOUT INFO SECTION */
/* ================================================ */

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

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

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

.marshall-about-info-text {
    flex: 1;
}

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

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

.marshall-about-info-text p {
    font-size: 1.3125rem; /* Increased from 1.25rem (21px) - matches body text */
    line-height: 1.7; /* Improved from 1.6 to match style guide */
    color: #333;
    margin-bottom: 22px; /* Increased from 20px to match style guide */
}

.marshall-about-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0; /* Increased from 20px to match style guide */
}

.marshall-about-services-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; /* Improved from 1.4 */
}

.marshall-about-services-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-about-info-image {
    flex: 1;
    max-width: 500px;
}

.marshall-about-info-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.marshall-about-info-image img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================================================ */
/* INSURANCE SECTION */
/* ================================================ */

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

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

.marshall-about-insurance-title {
    color: #333;
    font-size: 2.75rem; /* Increased from 2.625rem (44px) - matches style guide */
    font-weight: 500;
    margin-bottom: 45px; /* Reduced from 50px to match style guide */
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

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

.marshall-about-insurance-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px; /* Reduced from 40px to match style guide grid spacing */
    max-width: 800px;
    margin: 0 auto;
}

.marshall-about-insurance-item {
    text-align: center;
    background-color: #fff;
    padding: 38px 28px; /* Increased from 35px 25px to match style guide */
    border-radius: 8px;
    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 style guide */
}

.marshall-about-insurance-item:hover {
    transform: translateY(-5px); /* Increased from -3px to match style guide */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Enhanced to match style guide */
}

.marshall-about-insurance-item h3 {
    color: #333;
    font-size: 1.5625rem; /* Increased from 1.5rem (25px) - matches subtitle hierarchy */
    font-weight: 500;
    margin-bottom: 22px; /* Increased from 20px to match style guide */
    line-height: 1.3;
}

.marshall-about-insurance-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.marshall-about-insurance-link:hover {
    transform: translateY(-2px);
}

.marshall-about-insurance-link img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/* ================================================ */
/* REVIEW SECTION */
/* ================================================ */

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

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

.marshall-about-review-content {
    text-align: center;
}

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

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

.marshall-about-review-image {
    margin-top: 35px; /* Increased from 30px to match style guide */
}

.marshall-about-review-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.marshall-about-review-link:hover {
    transform: translateY(-3px);
}

.marshall-about-review-link img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.marshall-about-review-link:hover img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* Large Tablet Styles (769px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    .marshall-about-hero {
        min-height: 200px; /* Adjusted proportionally */
    }
    
    .marshall-about-hero-container {
        padding: 0 30px;
    }
    
    .marshall-about-hero-title {
        font-size: 3.375rem; /* Adjusted proportionally (54px) */
    }
    
    .marshall-about-info,
    .marshall-about-insurance,
    .marshall-about-review {
        padding: 80px 0; /* Increased from 70px to match style guide */
    }
    
    .marshall-about-info-container,
    .marshall-about-insurance-container,
    .marshall-about-review-container {
        padding: 0 30px;
    }
    
    .marshall-about-info-title,
    .marshall-about-insurance-title,
    .marshall-about-review-title {
        font-size: 2.4875rem; /* Updated to match style guide (39.8px) */
        margin-bottom: 40px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-text p,
    .marshall-about-services-list li {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 20px; /* For paragraphs only */
    }
    
    .marshall-about-services-list li {
        margin-bottom: 12px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item h3 {
        font-size: 1.4375rem; /* Updated to match style guide (23px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-content {
        gap: 45px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-content {
        gap: 28px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item {
        padding: 35px 25px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li {
        padding-left: 26px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li::before {
        width: 10px; /* Adjusted to match style guide */
        height: 10px;
        top: 7px; /* Adjusted for larger text */
    }
    
    .marshall-about-review-image {
        margin-top: 32px; /* Adjusted proportionally */
    }
}

/* Small Tablet Styles (481px - 768px) */
@media (max-width: 768px) {
    .marshall-about-hero {
        min-height: 180px; /* Adjusted proportionally */
    }
    
    .marshall-about-hero-container {
        padding: 0 20px;
    }
    
    .marshall-about-hero-title {
        font-size: 2.875rem; /* Adjusted proportionally (46px) */
    }
    
    .marshall-about-info,
    .marshall-about-insurance,
    .marshall-about-review {
        padding: 70px 0; /* Increased from 60px to match style guide */
    }
    
    .marshall-about-info-container,
    .marshall-about-insurance-container,
    .marshall-about-review-container {
        padding: 0 20px;
    }
    
    .marshall-about-info-title,
    .marshall-about-insurance-title,
    .marshall-about-review-title {
        font-size: 2.25rem; /* Updated to match style guide (36px) */
        margin-bottom: 38px; /* Adjusted to match style guide */
        text-align: center;
        width: 100%;
    }
    
    .marshall-about-info-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .marshall-about-info-text p,
    .marshall-about-services-list li {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 20px; /* For paragraphs only */
    }
    
    .marshall-about-services-list li {
        margin-bottom: 12px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item h3 {
        font-size: 1.3125rem; /* Updated to match style guide (21px) */
        margin-bottom: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-content {
        flex-direction: column;
        gap: 35px; /* Adjusted to match style guide */
        text-align: center;
    }
    
    .marshall-about-info-text p {
        text-align: center;
    }
    
    .marshall-about-services-list {
        text-align: left;
        display: inline-block;
        margin: 0 auto 22px auto; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-content {
        grid-template-columns: 1fr;
        gap: 28px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item {
        padding: 32px 22px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li {
        padding-left: 22px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li::before {
        width: 8px;
        height: 8px;
        top: 6px; /* Adjusted for larger text */
    }
    
    .marshall-about-review-image {
        margin-top: 28px; /* Adjusted proportionally */
    }
}

/* Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    .marshall-about-hero {
        min-height: 160px; /* Adjusted proportionally */
    }
    
    .marshall-about-hero-container {
        padding: 0 20px; /* Increased from 15px to match style guide */
    }
    
    .marshall-about-hero-title {
        font-size: 2.5rem; /* Adjusted proportionally (40px) */
        line-height: 1.3;
    }
    
    .marshall-about-info,
    .marshall-about-insurance,
    .marshall-about-review {
        padding: 60px 0; /* Increased from 50px to match style guide */
    }
    
    .marshall-about-info-container,
    .marshall-about-insurance-container,
    .marshall-about-review-container {
        padding: 0 20px; /* Increased from 15px to match style guide */
    }
    
    .marshall-about-info-title,
    .marshall-about-insurance-title,
    .marshall-about-review-title {
        font-size: 2.125rem; /* Updated to match style guide (34px) */
        margin-bottom: 35px; /* Adjusted to match style guide */
        text-align: center;
        width: 100%;
    }
    
    .marshall-about-info-title::after,
    .marshall-about-insurance-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .marshall-about-info-text p,
    .marshall-about-services-list li {
        font-size: 1.03125rem; /* Updated to match style guide (16.5px) */
        margin-bottom: 25px; /* For paragraphs only */
    }
    
    .marshall-about-services-list li {
        margin-bottom: 10px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item h3 {
        font-size: 1.1875rem; /* Updated to match style guide (19px) */
        margin-bottom: 18px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-content {
        gap: 30px; /* Adjusted to match style guide */
        text-align: center;
    }
    
    .marshall-about-info-text p {
        text-align: center;
    }
    
    .marshall-about-services-list {
        text-align: left;
        display: inline-block;
        margin: 0 auto 25px auto; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li {
        padding-left: 20px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li::before {
        width: 7px;
        height: 7px;
        top: 5px; /* Adjusted for larger text */
    }
    
    .marshall-about-insurance-content {
        gap: 25px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item {
        padding: 28px 20px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-link img {
        max-width: 180px;
    }
    
    .marshall-about-review-image {
        margin-top: 25px;
    }
    
    .marshall-about-review-link img {
        max-width: 150px;
    }
}

/* Extra Small Mobile (≤ 360px) */
@media (max-width: 360px) {
    .marshall-about-hero {
        min-height: 140px; /* Adjusted proportionally */
    }
    
    .marshall-about-hero-container {
        padding: 0 18px; /* Adjusted to match style guide */
    }
    
    .marshall-about-hero-title {
        font-size: 2.25rem; /* Adjusted proportionally (36px) */
        line-height: 1.3;
    }
    
    .marshall-about-info-container,
    .marshall-about-insurance-container,
    .marshall-about-review-container {
        padding: 0 18px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-title,
    .marshall-about-insurance-title,
    .marshall-about-review-title {
        font-size: 2rem; /* Updated to match style guide (32px) */
        margin-bottom: 30px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-text p,
    .marshall-about-services-list li {
        font-size: 0.96875rem; /* Updated to match style guide (15.5px) */
        margin-bottom: 22px; /* For paragraphs only */
    }
    
    .marshall-about-services-list li {
        margin-bottom: 8px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-item h3 {
        font-size: 1.0625rem; /* Updated to match style guide (17px) */
        margin-bottom: 15px; /* Adjusted to match style guide */
    }
    
    .marshall-about-info-content {
        gap: 25px;
    }
    
    .marshall-about-services-list li {
        padding-left: 18px; /* Adjusted to match style guide */
    }
    
    .marshall-about-services-list li::before {
        width: 6px;
        height: 6px;
        top: 5px; /* Adjusted for larger text */
    }
    
    .marshall-about-insurance-content {
        gap: 20px;
    }
    
    .marshall-about-insurance-item {
        padding: 25px 18px; /* Adjusted to match style guide */
    }
    
    .marshall-about-insurance-link img {
        max-width: 160px;
    }
    
    .marshall-about-review-image {
        margin-top: 22px;
    }
    
    .marshall-about-review-link img {
        max-width: 130px;
    }
}