body{background: #F3F4F6;}
/* ===== HERO SECTION ===== */
.thomas-wrp-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.thomas-wrp-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.thomas-wrp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(22, 41, 76, 0.92) 0%, rgba(22, 41, 76, 0.78) 50%, rgba(22, 41, 76, 0.55) 100%);
}

.thomas-wrp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 60px;
    width: 100%;
}

.thomas-wrp-badge {
    display: inline-block;
    background: rgba(198, 160, 60, 0.15);
    border: 1px solid #C6A03C;
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 20px;
}

.thomas-wrp-badge-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C6A03C;
}

.thomas-wrp-label {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C6A03C;
    margin: 0 0 12px;
}

.thomas-wrp-hero-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 16px;
    max-width: 700px;
}

.thomas-wrp-hero-subtitle {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #D5DCE8;
    margin: 0 0 28px;
    max-width: 600px;
}

.thomas-wrp-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.thomas-wrp-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.thomas-wrp-trust-badges span {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 12px;
    color: #9AA1AC;
    letter-spacing: 0.04em;
}

.thomas-wrp-trust-badges span:not(:last-child)::after {
    content: "|";
    color: #1a5a8a;
    margin-left: 20px;
}

/* ===== BUTTONS ===== */
.thomas-wrp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 15px 30px;
    border-radius: 4px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.thomas-wrp-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.thomas-wrp-btn-white {
    background-color: #FFFFFF;
    color: #16294C;
    border-color: #FFFFFF;
}

.thomas-wrp-btn-white:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.thomas-wrp-btn-gold {
    background-color: #C6A03C;
    color: #16294C;
    border-color: #C6A03C;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
        
}
.thomas-wrp-center-action .thomas-wrp-btn-gold {

text-transform: uppercase;
    letter-spacing: 1.5px;
    color:#fff;
        padding: 10px 28px;

}

.thomas-wrp-btn-gold:hover {
    background-color: #a8872e;
    border-color: #a8872e;
    color: #FFFFFF;
}

.thomas-wrp-btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.thomas-wrp-btn-outline:hover {
    border-color: #C6A03C;
    color: #C6A03C;
}

/* ===== MAIN LAYOUT ===== */
.thomas-wrp-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.thomas-wrp-main {
    flex: 1;
    min-width: 0;
}

.thomas-wrp-sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

/* ===== SECTIONS ===== */
.thomas-wrp-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 40px;
    margin-bottom: 32px;
}

.thomas-wrp-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.thomas-wrp-accent-bar {
    width: 4px;
    height: 28px;
    background-color: #C6A03C;
    border-radius: 2px;
}

.thomas-wrp-section-title {
    font-family: Raleway, sans-serif;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #004F82;
    margin: 0;
}

.thomas-wrp-section-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #5B6472;
    margin: 0 0 16px;
    
}

.thomas-wrp-section-text:last-of-type {
    margin-bottom: 0;
}

/* ===== COUNTY GROUPS ===== */
.thomas-wrp-county-group {
    margin-bottom: 24px;
    margin-top:20px;
}

.thomas-wrp-county-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}

.thomas-wrp-county-header svg {
    flex-shrink: 0;
}

.thomas-wrp-county-name {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #004F82;
}

.thomas-wrp-county-count {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 12px;
    color: #9AA1AC;
    margin-left: auto;
}

.thomas-wrp-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.thomas-wrp-city-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: #FCF8EE;
    border: 1px solid #EADFC4;
    border-radius: 4px;
    border-left: 3px solid #C6A03C;
    text-decoration: none;
    color: #16294C;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(22, 41, 76, 0.04);
}

.thomas-wrp-city-link svg {
    flex-shrink: 0;
    opacity: 0.55;
    width: 12px;
    height: 12px;
}

.thomas-wrp-city-link span {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: inherit;
}

.thomas-wrp-city-link:hover {
    background-color: #C6A03C;
    border-color: #C6A03C;
    border-left-color: #16294C;
    box-shadow: 0 4px 12px rgba(198, 160, 60, 0.35);
}

.thomas-wrp-county-description {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #5B6472;
    margin: 0;
    padding: 14px 16px;
    background-color: #FCF8EE;
    border: 1px solid #EADFC4;
    border-radius: 4px;
    border-left: 3px solid #C6A03C;
}

.thomas-wrp-county-description a {
    color: #C6A03C;
    font-weight: 600;
}

/* ===== COUNTIES SECTION ===== */
.thomas-wrp-counties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top:26px;
}

.thomas-wrp-county-card {
    background-color: #004F82;
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.thomas-wrp-county-number {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: #C6A03C;
    line-height: 1;
    margin-bottom: 4px;
}

.thomas-wrp-county-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    text-align: left;
    text-transform: inherit;
    margin: 8px 0 12px;
}

.thomas-wrp-county-card-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #D5DCE8;
    margin: 0 0 16px;
    flex: 1;
}

.thomas-wrp-county-meta {
    border-top: 1px solid #1a5a8a;
    padding-top: 12px;
}

.thomas-wrp-meta-label {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C6A03C;
}

.thomas-wrp-meta-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 12px;
    color: #9AA1AC;
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ===== SERVICES SECTION ===== */
.thomas-wrp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.thomas-wrp-service-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 24px;
    border-top: 3px solid #004F82;
}

.thomas-wrp-service-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #004F82;
    margin: 0 0 8px;
}

.thomas-wrp-service-description {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #5B6472;
    margin: 0;
}

/* ===== FORM SIDEBAR ===== */
.thomas-wrp-form-card {
    background-color: #004F82;
    border-radius: 6px;
    padding: 28px;
}

.thomas-wrp-form-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #FFFFFF;
    margin: 0 0 4px;
    line-height: 1.3;
}

.thomas-wrp-form-subtitle {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 13px;
    color: #D5DCE8;
    margin: 0 0 24px;
    font-style: italic;
}

.thomas-wrp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thomas-wrp-form-group {
    display: flex;
    flex-direction: column;
}

.thomas-wrp-form-label {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    margin-bottom: 6px;
}

.thomas-wrp-form-hint {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 12px;
    color: #C6A03C;
    margin: 0 0 6px;
    font-style: italic;
}

.thomas-wrp-form-input,
.thomas-wrp-form-select,
.thomas-wrp-form-textarea {
    width: 100%;
    padding: 12px 14px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    color: #004F82;
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.thomas-wrp-form-input:focus,
.thomas-wrp-form-select:focus,
.thomas-wrp-form-textarea:focus {
    border-color: #C6A03C;
}

.thomas-wrp-form-textarea {
    resize: vertical;
}

.thomas-wrp-form-submit {
    width: 100%;
    padding: 14px;
    background-color: #C6A03C;
    color: #FFFFFF;
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}


/* Recent Projects */
.thomas-wrp-projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 26px;
}
.thomas-wrp-project-card {
    display: flex;
    gap: 20px;
    background: #FAFBFC;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
}
.thomas-wrp-project-image {
    width: 240px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}
.thomas-wrp-project-content {
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.thomas-wrp-project-tag {
    font-family: 'Lato', Calibri, sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C6A03C;
    margin: 0 0 6px;
}
.thomas-wrp-project-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #004F82;
    margin: 0 0 8px;
    text-align: left;
    text-transform: inherit;
    letter-spacing: 0.5px;
}
.thomas-wrp-project-desc {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #5B6472;
    margin: 0;
}
.thomas-wrp-center-action {
    text-align: center;
    margin-top: 24px;
}

/* Reviews Widget */
.thomas-wrp-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}
.thomas-wrp-reviews-logo {
    height: 40px;
    width: auto;
}
.thomas-wrp-reviews-rating-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.thomas-wrp-stars {
    color: #C6A03C;
    font-size: 16px;
    letter-spacing: 2px;
}
.thomas-wrp-rating-number {
    font-family: Lora, Cambria, serif;
    font-weight: 700;
    font-size: 24px;
    color: #004F82;
}
.thomas-wrp-reviews-count {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 13px;
    color: #9AA1AC;
}
.thomas-wrp-reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.thomas-wrp-review-card .thomas-wrp-stars {
    font-size: 14px;
    margin-bottom: 8px;
}
.thomas-wrp-review-text {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #5B6472;
    margin: 0 0 12px;
    font-style: italic;
}
.thomas-wrp-review-author {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #004F82;
    margin: 0;
}
.thomas-wrp-read-reviews-link {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 14px;
    color: #C6A03C;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.thomas-wrp-read-reviews-link:hover {
    color: #a8872e;
}

/* Mid-Page CTA Break */
.thomas-wrp-mid-cta {
    background: #004F82;
    border-radius: 6px;
    padding: 48px 40px;
    margin-bottom: 32px;
    text-align: center;
}
.thomas-wrp-mid-cta-subtitle {
    font-family: Lora, Cambria, serif;
    font-style: italic;
    font-size: 28px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0 0 8px;
}
.thomas-wrp-mid-cta-text {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 15px;
    color: #D5DCE8;
    margin: 0 auto 28px auto;
    max-width: 500px;
    line-height: 22px;
}
.thomas-wrp-btn.thomas-wrp-btn-outline:hover{border-color: rgb(198, 160, 60) !important;
    color: rgb(198, 160, 60) !important;}
    .thomas-wrp-mid-cta .thomas-wrp-btn.thomas-wrp-btn-gold{color: rgb(0, 79, 130);font-weight: 600;}
    .thomas-wrp-mid-cta .thomas-wrp-btn.thomas-wrp-btn-gold:hover{color:#fff;}

/* Gallery Section */
.thomas-wrp-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.thomas-wrp-gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Trust Bar / Associations */
.thomas-wrp-trust-bar-section {
    background: #004F82;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 32px;
}
.thomas-wrp-trust-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #1a5a8a;
    flex-wrap: wrap;
}
.thomas-wrp-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-right: 1px solid #1a5a8a;
    font-family: 'Lato', Calibri, sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #FFFFFF;
    font-style: italic;
}
.thomas-wrp-trust-badge-item:last-child {
    border-right: none;
}
.thomas-wrp-gold-star {
    color: #C6A03C;
    font-size: 16px;
    font-style: normal;
}
.thomas-wrp-associations-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 24px 20px;
    flex-wrap: nowrap;
}
.thomas-wrp-assoc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-right: 1px solid #1a5a8a;
    flex: 1;
    text-align: center;
}
.thomas-wrp-assoc-item:last-child {
    border-right: none;
}
.thomas-wrp-assoc-title {
    font-family: 'Lato', Calibri, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    display: block;
}
.thomas-wrp-assoc-desc {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 10px;
    color: #9AA1AC;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Map */
.thomas-wrp-map-wrapper {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

/* FAQs */
.thomas-wrp-faqs-list {
    display: flex;
    flex-direction: column;
}
.thomas-wrp-faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
}
.thomas-wrp-faq-item:last-child {
    border-bottom: none;
}
.thomas-wrp-faq-question {
    font-family: Lora, Cambria, serif;
    font-weight: 700;
    font-size: 17px;
    color: #004F82;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.thomas-wrp-faq-answer {
    font-family: 'Lato', Calibri, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #5B6472;
    margin: 12px 0 0;
    padding-right: 32px;
}

.thomas-wrp-form-submit:hover {
    background-color: #a8872e;
}

/* ===== CTA SECTION ===== */
.thomas-wrp-cta {
    background-color: #004F82;
    border-radius: 6px;
    padding: 48px 40px;
    text-align: center;
    /*margin: 0 24px 32px;*/
}

.thomas-wrp-cta-label {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C6A03C;
    margin: 0 0 12px;
}

.thomas-wrp-cta-title {
    font-family: Raleway, sans-serif;
    font-style: italic;
    font-size: 28px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.thomas-wrp-cta-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 15px;
    color: #D5DCE8;
    margin: 0 0 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.thomas-wrp-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.thomas-wrp-footer-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 12px;
    color: #9AA1AC;
    margin: 0;
}

/* ===== FOOTER CTA ===== */
.thomas-wrp-footer-cta {
    background-color: #004F82;
    padding: 64px 40px;
    text-align: center;
}

.thomas-wrp-footer-cta-label {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C6A03C;
    margin: 0 0 12px;
}

.thomas-wrp-footer-cta-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0 0 12px;
    line-height: 1.25;
}

.thomas-wrp-footer-cta-text {
    font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
    font-size: 16px;
    color: #D5DCE8;
    margin: 0 0 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.thomas-wrp-footer-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


.thomas-wrp-faq-item[open] .thomas-wrp-faq-question svg {
    transform: rotate(45deg);
}


/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1024px) {
    
    .thomas-wrp-container {
        flex-direction: column;
        gap: 32px;
    }

    .thomas-wrp-sidebar {
        width: 100%;
        position: static;
    }

    .thomas-wrp-counties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thomas-wrp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {

.thomas-wrp-main{width:100%;}



}



@media (max-width: 768px) {

    
    .thomas-wrp-hero {
        min-height: 380px;
    }

    .thomas-wrp-hero-content {
        padding: 60px 24px 40px;
    }

    .thomas-wrp-hero-title {
        font-size: 36px;
    }

    .thomas-wrp-hero-subtitle {
        font-size: 16px;
    }

    .thomas-wrp-hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .thomas-wrp-btn {
        width: 100%;
        justify-content: center;
    }

    .thomas-wrp-container {
        padding: 32px 16px;
        gap: 24px;
    }

    .thomas-wrp-section {
        padding: 24px;
        margin-bottom: 24px;
    }

    .thomas-wrp-section-title {
        font-size: 20px;
    }

    .thomas-wrp-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thomas-wrp-counties-grid {
        grid-template-columns: 1fr;
    }

    .thomas-wrp-services-grid {
        grid-template-columns: 1fr;
    }

    .thomas-wrp-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .thomas-wrp-trust-badges span:not(:last-child)::after {
        content: "";
        margin-left: 0;
    }

    /* Mobile adjustments for new sections */
    .thomas-wrp-reviews-grid {
        grid-template-columns: 1fr !important;
    }

    .thomas-wrp-project-card {
        flex-direction: column !important;
    }

    .thomas-wrp-project-image {
        width: 100% !important;
        height: 200px !important;
    }

    .thomas-wrp-project-content {
        padding: 20px !important;
    }

    .thomas-wrp-trust-top-row {
        flex-direction: column !important;
    }

    .thomas-wrp-trust-badge-item {
        border-right: none !important;
        border-bottom: 1px solid #1a5a8a;
        width: 100%;
        justify-content: center;
    }

    .thomas-wrp-trust-badge-item:last-child {
        border-bottom: none;
    }

    .thomas-wrp-associations-row {
        flex-wrap: wrap !important;
        gap: 16px !important;
        padding: 20px 10px !important;
    }

    .thomas-wrp-assoc-item {
        border-right: none !important;
        flex: 1 1 40% !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .thomas-wrp-hero-title {
        font-size: 28px;
    }

    .thomas-wrp-hero-subtitle {
        font-size: 14px;
    }

    .thomas-wrp-section-title {
        font-size: 18px;
    }

    .thomas-wrp-cities-grid {
        grid-template-columns: 1fr;
    }

    .thomas-wrp-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .thomas-wrp-county-card-text {
        font-size: 12px;
    }

    .thomas-wrp-hero-content {
        padding: 40px 16px 30px;
    }

    .thomas-wrp-associations-row {
        flex-direction: column !important;
    }
    
    .thomas-wrp-assoc-item {
        flex: 1 1 100% !important;
        border-bottom: 1px solid #1a5a8a;
        padding-bottom: 12px;
    }

    .thomas-wrp-assoc-item:last-child {
        border-bottom: none;
    }
}




/* ========================================
   THOMAS HOMES - FOR SALE PAGE CSS
   Complete Styling (Hero to Footer)
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.thomas-sales-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.thomas-sales-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thomas-sales-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 79, 130, 0.92) 0%, rgba(0, 79, 130, 0.7) 50%, rgba(0, 79, 130, 0.3) 100%);
}

.thomas-sales-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7% 6%;
  max-width: 700px;
}

.thomas-sales-hero-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #C6A03C;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.thomas-sales-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  line-height: 1.15;
}

.thomas-sales-hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  color: #D5DCE8;
  font-weight: 400;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.thomas-sales-hero-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  line-height: 1.7;
  margin: 0 0 28px 0;
  max-width: 560px;
}

.thomas-sales-hero-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.thomas-sales-badge-primary {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #004F82;
  background: #C6A03C;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  display: inline-block;
}

.thomas-sales-badge-secondary {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  color: #D5DCE8;
  display: inline-block;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */

.thomas-sales-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.thomas-sales-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.thomas-sales-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.thomas-sales-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.thomas-sales-header-accent {
  width: 4px;
  height: 32px;
  background: #C6A03C;
  border-radius: 2px;
  flex-shrink: 0;
}

.thomas-sales-section-header h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #004F82;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ========================================
   PROPERTY CARDS
   ======================================== */

.thomas-sales-property-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.thomas-sales-property-card:hover {
  box-shadow: 0 8px 32px rgba(0, 79, 130, 0.12);
}

.thomas-sales-property-image-wrapper {
  position: relative;
  width: 100%;
}

.thomas-sales-property-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.thomas-sales-property-featured .thomas-sales-property-image {
  height: 320px;
}

.thomas-sales-property-sold .thomas-sales-property-image-sold {
  filter: grayscale(0.3);
}

.thomas-sales-property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thomas-sales-badge-featured {
  background: #C6A03C;
  color: #004F82;
}

.thomas-sales-badge-sale {
  background: #00659E;
  color: #FFFFFF;
}

.thomas-sales-badge-sold {
  background: #9AA1AC;
  color: #FFFFFF;
}

.thomas-sales-property-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 79, 130, 0.9);
  color: #FFFFFF;
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
}

.thomas-sales-property-featured .thomas-sales-property-price {
  font-size: 24px;
}

.thomas-sales-property-content {
  padding: 24px 28px 12px;
}

.thomas-sales-property-featured .thomas-sales-property-content {
  padding: 28px 28px 12px;
}

.thomas-sales-property-community {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #C6A03C;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.thomas-sales-property-title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #004F82;
  margin: 0 0 8px 0;
}

.thomas-sales-property-featured .thomas-sales-property-title {
  font-size: 26px;
}

.thomas-sales-property-address {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #9AA1AC;
  margin: 0 0 16px 0;
}

.thomas-sales-property-specs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.thomas-sales-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.thomas-sales-spec-value {
  font-family: 'Raleway', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #C6A03C;
}

.thomas-sales-property-featured .thomas-sales-spec-value {
  font-size: 28px;
}

.thomas-sales-spec-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  color: #9AA1AC;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thomas-sales-property-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  color: #5B6472;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.thomas-sales-property-sold {
  opacity: 0.85;
}

.thomas-sales-property-actions {
  padding: 0 28px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.thomas-sales-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.thomas-sales-btn-primary {
  background: #C6A03C;
  color: #004F82;
}

.thomas-sales-btn-primary:hover {
  background: #b08e2e;
}

.thomas-sales-btn-outline {
  background: transparent;
  color: #004F82;
  border-color: #004F82;
}

.thomas-sales-btn-outline:hover {
  background: #004F82;
  color: #FFFFFF;
}

.thomas-sales-btn-outline-white {
  background: #004F82;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.thomas-sales-btn-outline-white:hover {
  background: #003A5E;
}

.thomas-sales-btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   CTA BREAK SECTION
   ======================================== */

.thomas-sales-cta-break {
  background: #004F82;
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
}

.thomas-sales-cta-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #C6A03C;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.thomas-sales-cta-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  font-style: italic;
}

.thomas-sales-cta-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  line-height: 1.7;
  margin: 0 0 28px 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.thomas-sales-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   FEATURES GRID
   ======================================== */

.thomas-sales-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.thomas-sales-feature-box {
  background: #FAFBFC;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 24px;
}

.thomas-sales-feature-box h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #004F82;
  margin: 0 0 8px 0;
}

.thomas-sales-feature-box p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #5B6472;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   ASSOCIATIONS
   ======================================== */

.thomas-sales-associations {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.thomas-sales-associations a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.thomas-sales-associations img {
  height: 52px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.thomas-sales-associations a:hover img {
  opacity: 1;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.thomas-sales-reviews {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 28px 28px 24px;
}

.thomas-sales-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.thomas-sales-reviews-header img {
  height: 44px;
  object-fit: contain;
}

.thomas-sales-reviews-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thomas-sales-stars {
  display: flex;
  gap: 2px;
  font-size: 18px;
  color: #C6A03C;
}

.thomas-sales-rating-value {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #004F82;
}

.thomas-sales-rating-count {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #9AA1AC;
}

.thomas-sales-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.thomas-sales-review-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.thomas-sales-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #C6A03C;
}

.thomas-sales-review-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #5B6472;
  line-height: 1.65;
  margin: 0 0 14px 0;
  font-style: italic;
}

.thomas-sales-review-author {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #004F82;
  margin: 0;
}

.thomas-sales-reviews-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #C6A03C;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.thomas-sales-reviews-link:hover {
  color: #b08e2e;
}

/* ========================================
   MAP
   ======================================== */

.thomas-sales-map {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.thomas-sales-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* ========================================
   SIDEBAR
   ======================================== */

.thomas-sales-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.thomas-sales-sidebar-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
}

.thomas-sales-sidebar-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #C6A03C;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 0;
}

.thomas-sales-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thomas-sales-sidebar-nav a {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #004F82;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid #E5E7EB;
  display: block;
  transition: color 0.2s ease;
}

.thomas-sales-sidebar-nav a:last-child {
  border-bottom: none;
}

.thomas-sales-sidebar-nav a:hover {
  color: #C6A03C;
}

/* ========================================
   SIDEBAR FORM
   ======================================== */
.thomas-sales-sidebar-form {
  background: #004F82;
  border-radius: 6px;
  padding: 28px 24px;
}

.thomas-sales-form-title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.thomas-sales-form-subtitle {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #9AA1AC;
  font-style: italic;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.thomas-sales-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thomas-sales-form-group {
  display: flex;
  flex-direction: column;
}

.thomas-sales-form-group label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #004F82;
  display: block;
  margin-bottom: 6px;
}

.thomas-sales-required {
  color: #C6A03C;
}

.thomas-sales-form-hint {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  color: #C6A03C;
  font-style: italic;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.thomas-sales-form-group input,
.thomas-sales-form-group select,
.thomas-sales-form-group textarea {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: #FFFFFF;
  color: #004F82;
  outline: none;
  transition: border-color 0.2s ease;
}

.thomas-sales-form-group input:focus,
.thomas-sales-form-group select:focus,
.thomas-sales-form-group textarea:focus {
  border-color: #C6A03C;
}

.thomas-sales-form-group textarea {
  resize: vertical;
}

/* ========================================
   TRUST BADGE
   ======================================== */

.thomas-sales-trust-badge {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.thomas-sales-badge-number {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #C6A03C;
}

.thomas-sales-badge-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #004F82;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.thomas-sales-badge-location {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  color: #9AA1AC;
  margin-top: 4px;
}

/* ========================================
   FOOTER CTA SECTION
   ======================================== */

.thomas-sales-footer-cta {
  background: #004F82;
  padding: 56px 24px;
  text-align: center;
  margin-top: 48px;
}

.thomas-sales-cta-container {
  max-width: 640px;
  margin: 0 auto;
}

.thomas-sales-footer-cta .thomas-sales-cta-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  line-height: 1.7;
  margin: 0 0 28px 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .thomas-sales-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thomas-sales-sidebar {
    position: static;
    top: auto;
  }

  .thomas-sales-features-grid {
    grid-template-columns: 1fr;
  }

  .thomas-sales-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .thomas-sales-associations {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .thomas-sales-hero {
    height: 360px;
  }

  .thomas-sales-hero-content {
    padding: 0 32px;
  }

  .thomas-sales-hero-title {
    font-size: 36px;
  }

  .thomas-sales-hero-subtitle {
    font-size: 18px;
  }

  .thomas-sales-hero-description {
    font-size: 14px;
  }

  .thomas-sales-main {
    padding: 32px 24px 0;
  }

  .thomas-sales-section-header h2 {
    font-size: 18px;
  }

  .thomas-sales-cta-break {
    padding: 32px 24px;
  }

  .thomas-sales-cta-title {
    font-size: 24px;
  }

  .thomas-sales-feature-box {
    padding: 16px;
  }

  .thomas-sales-feature-box h3 {
    font-size: 16px;
  }

  .thomas-sales-footer-cta {
    padding: 40px 20px;
  }

  .thomas-sales-cta-container .thomas-sales-cta-title {
    font-size: 24px;
  }

  .thomas-sales-reviews-grid {
    grid-template-columns: 1fr;
  }

  .thomas-sales-sidebar-form {
    padding: 20px 16px;
  }

  .thomas-sales-form-title {
    font-size: 18px;
  }

  .thomas-sales-footer-cta {
    padding: 40px 20px;
  }

  .thomas-sales-cta-container .thomas-sales-cta-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .thomas-sales-hero {
    height: 360px;
  }

  .thomas-sales-hero-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .thomas-sales-hero-title {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .thomas-sales-hero-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .thomas-sales-hero-description {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .thomas-sales-hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .thomas-sales-main {
    padding: 24px 16px 0;
  }

  .thomas-sales-section-header h2 {
    font-size: 16px;
  }

  .thomas-sales-property-image {
    height: 200px;
  }

  .thomas-sales-property-featured .thomas-sales-property-image {
    height: 240px;
  }

  .thomas-sales-property-specs {
    gap: 16px;
  }

  .thomas-sales-spec-value {
    font-size: 22px;
  }

  .thomas-sales-property-featured .thomas-sales-spec-value {
    font-size: 24px;
  }

  .thomas-sales-btn {
    font-size: 12px;
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
  }

  .thomas-sales-property-actions {
    flex-direction: column;
    padding: 0 16px 16px;
  }

  .thomas-sales-cta-break {
    padding: 24px 16px;
    border-radius: 4px;
  }

  .thomas-sales-cta-title {
    font-size: 20px;
  }

  .thomas-sales-cta-text {
    font-size: 13px;
  }

  .thomas-sales-cta-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .thomas-sales-footer-content {
    flex-direction: column;
    gap: 12px;
  }

  .thomas-sales-footer-left,
  .thomas-sales-footer-right {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .thomas-sales-associations {
    flex-direction: column;
    padding: 16px;
  }

  .thomas-sales-reviews-header {
    flex-direction: column;
    gap: 12px;
  }

  .thomas-sales-map iframe {
    height: 240px;
  }

  .thomas-sales-footer-cta {
    padding: 24px 16px;
  }

  .thomas-sales-cta-title {
    font-size: 20px;
  }

  .thomas-sales-cta-text {
    font-size: 13px;
  }

  .thomas-sales-cta-buttons {
    flex-direction: column;
    gap: 8px;
  }
}




/* ========================================
   THOMAS HOMES - ABOUT PAGE CSS
   Complete Styling (Hero to Footer)
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.thomas-about-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.thomas-about-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.thomas-about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 41, 76, 0.75);
}

.thomas-about-hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 3%;
    max-width: 700px;
    padding: 7% 3%;
    z-index: 1;
}

.thomas-about-hero-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #C6A03C;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  display: block;
}

.thomas-about-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.15;
}

.thomas-about-hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(18px, 2.5vw, 20px);
  color: #D5DCE8;
  margin: 0 0 24px;
  line-height: 1.4;
}

.thomas-about-hero-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #D5DCE8;
  margin: 0 0 32px;
  max-width: 580px;
}

.thomas-about-hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.thomas-about-badge-primary {
  display: inline-flex;
  align-items: center;
  background: rgba(198, 160, 60, 0.15);
  border: 1px solid #C6A03C;
  border-radius: 4px;
  padding: 8px 18px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #C6A03C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thomas-about-badge-secondary {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #D5DCE8;
  display: inline-block;
}

.thomas-about-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.thomas-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thomas-about-btn-primary {
  background: linear-gradient(135deg, #C6A03C 0%, #d4b04a 100%);
  color: #004F82;
  box-shadow: 0 4px 12px rgba(198, 160, 60, 0.3);
}

.thomas-about-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(198, 160, 60, 0.4);
}

.thomas-about-btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.thomas-about-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.thomas-about-btn-lg {
  font-size: 15px;
  padding: 16px 40px;
}

.thomas-about-btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */

.thomas-about-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.thomas-about-left {
  flex: 1 1 0;
  min-width: 0;
}

.thomas-about-sidebar {
  flex: 0 0 340px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========================================
   SECTIONS
   ======================================== */

.thomas-about-section {
  margin-bottom: 48px;
}

.thomas-about-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.thomas-about-section-accent {
  width: 4px;
  height: 32px;
  background: #C6A03C;
  border-radius: 2px;
  flex-shrink: 0;
}

.thomas-about-section-header h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: #004F82;
  margin: 0;
  letter-spacing: 0.04em;
}

.thomas-about-story-box,
.thomas-about-trust-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-about-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #5B6472;
  margin: 0 0 20px;
}

.thomas-about-text:last-of-type {
  margin-bottom: 28px;
}

/* ========================================
   QUOTE SECTION
   ======================================== */

.thomas-about-quote {
  background: linear-gradient(135deg, #004F82 0%, #00639E 100%);
  border-radius: 10px;
  padding: 32px 36px;
  margin: 0 0 32px;
  position: relative;
  overflow: hidden;
}

.thomas-about-quote-mark {
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin: 0;
}

.thomas-about-quote-text {
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 22px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.5;
  position: relative;
}

.thomas-about-quote-line {
  width: 40px;
  height: 2px;
  background: #FFFFFF;
  margin-top: 16px;
  border-radius: 1px;
}

/* ========================================
   PHOTO SECTION
   ======================================== */

.thomas-about-photo-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.thomas-about-photo {
  width: 100%;
  display: block;
}

.thomas-about-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(22, 41, 76, 0.85));
  padding: 24px 20px 16px;
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: 15px;
  color: #FFFFFF;
  margin: 0;
}

/* ========================================
   FEATURES GRID
   ======================================== */

.thomas-about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.thomas-about-feature-card {
  background: #FAFBFC;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #E5E7EB;
}

.thomas-about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #004F82;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.thomas-about-feature-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  color: #004F82;
  font-size: 14px;
  margin-bottom: 4px;
}

.thomas-about-feature-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #9AA1AC;
  line-height: 1.5;
}

/* ========================================
   STATS SECTION
   ======================================== */

.thomas-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.thomas-about-stat-card {
  background: linear-gradient(135deg, #004F82 0%, #005A92 100%);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thomas-about-stat-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(198, 160, 60, 0.08);
  z-index: 0;
}

.thomas-about-stat-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #C6A03C;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.thomas-about-stat-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #D5DCE8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

/* ========================================
   SIDEBAR FORM
   ======================================== */

.thomas-about-form-box {
  background: #004F82;
  border-radius: 6px;
  overflow: hidden;
}

.thomas-about-form-header {
  padding: 28px 24px 0;
}

.thomas-about-form-header h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.thomas-about-form-header p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #D5DCE8;
  margin: 0 0 24px;
  font-style: italic;
}

.thomas-about-form {
  padding: 0 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thomas-about-form-group {
  display: flex;
  flex-direction: column;
}

.thomas-about-form-group label {
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #004F82;
  margin-bottom: 6px;
}

.thomas-about-required {
  color: #C6A03C;
}

.thomas-about-form-hint {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  color: #C6A03C;
  font-style: italic;
  margin: 0 0 6px;
  line-height: 1.4;
}

.thomas-about-form-group input,
.thomas-about-form-group select,
.thomas-about-form-group textarea {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #FFFFFF;
  color: #004F82;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.thomas-about-form-group input:focus,
.thomas-about-form-group select:focus,
.thomas-about-form-group textarea:focus {
  border-color: #C6A03C;
}

.thomas-about-form-group textarea {
  resize: vertical;
}

/* ========================================
   CALL CTA BOX
   ======================================== */

.thomas-about-call-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-about-call-box p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #9AA1AC;
  margin: 0 0 6px;
}

.thomas-about-call-box a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #004F82;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.thomas-about-call-box a:hover {
  color: #C6A03C;
}

.thomas-about-call-box span {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  color: #9AA1AC;
  display: block;
  margin-top: 12px;
}

/* ========================================
   MID-PAGE CTA
   ======================================== */

.thomas-about-mid-cta {
  background: linear-gradient(135deg, #004F82 0%, #005088 100%);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.thomas-about-mid-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(198, 160, 60, 0.04);
  transform: translate(50%, -50%);
}

.thomas-about-mid-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(198, 160, 60, 0.03);
  transform: translate(-50%, 50%);
}

.thomas-about-mid-cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.thomas-about-cta-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: #C6A03C;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  display: block;
}

.thomas-about-cta-title {
  font-family: 'Raleway', sans-serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.35;
}

.thomas-about-cta-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  margin: 0 0 36px;
  line-height: 1.7;
}

.thomas-about-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.thomas-about-reviews {
  background: #F3F4F6;
  padding: 72px 40px;
}

.thomas-about-reviews > * {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.thomas-about-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.thomas-about-logo {
  height: 40px;
  object-fit: contain;
}

.thomas-about-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thomas-about-stars {
  display: flex;
  gap: 2px;
  font-size: 18px;
  color: #C6A03C;
}

.thomas-about-rating-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #004F82;
}

.thomas-about-rating-count {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #9AA1AC;
}

.thomas-about-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.thomas-about-review-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
}

.thomas-about-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  font-size: 16px;
  color: #C6A03C;
}

.thomas-about-review-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5B6472;
  margin: 0 0 16px;
  font-style: italic;
}

.thomas-about-review-author {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  color: #004F82;
  font-size: 14px;
}

.thomas-about-reviews-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #C6A03C;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.thomas-about-reviews-link:hover {
  color: #b08e2e;
}

.thomas-about-map {
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-about-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ========================================
   ASSOCIATIONS SECTION
   ======================================== */

.thomas-about-associations {
  background: #FFFFFF;
  padding: 56px 40px;
}

.thomas-about-associations-header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.thomas-about-associations-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: #C6A03C;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  display: block;
}

.thomas-about-associations-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #004F82;
  margin: 0;
}

.thomas-about-associations-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0.65;
}

.thomas-about-associations-grid a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.thomas-about-associations-grid img {
  height: 56px;
  object-fit: contain;
}

/* ========================================
   FOOTER CTA SECTION
   ======================================== */

.thomas-about-footer-cta {
  background: linear-gradient(135deg, #004F82 0%, #005088 100%);
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.thomas-about-footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 160, 60, 0.3), transparent);
}

.thomas-about-footer-cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.thomas-about-footer-cta-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: #FFFFFF;
  margin: 0 0 16px;
  line-height: 1.3;
}

.thomas-about-footer-cta-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  margin: 0 0 40px;
  line-height: 1.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .thomas-about-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thomas-about-sidebar {
    position: static;
    top: auto;
    flex: 0 0 auto;
    width: 100%;
  }

  .thomas-about-features-grid {
    grid-template-columns: 1fr;
  }

  .thomas-about-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .thomas-about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .thomas-about-hero-content {
    padding: 60px 32px;
  }

  .thomas-about-hero-title {
    font-size: 36px;
  }

  .thomas-about-hero-subtitle {
    font-size: 18px;
  }

  .thomas-about-hero-description {
    font-size: 14px;
  }

  .thomas-about-main {
    padding: 32px 24px;
    flex-direction: column;
  }

  .thomas-about-section-header h2 {
    font-size: 18px;
  }

  .thomas-about-story-box,
  .thomas-about-trust-box {
    padding: 24px;
  }

  .thomas-about-cta-title {
    font-size: 24px;
  }

  .thomas-about-feature-card {
    padding: 16px;
  }

  .thomas-about-reviews {
    padding: 48px 24px;
  }

  .thomas-about-reviews-grid {
    grid-template-columns: 1fr;
  }

  .thomas-about-associations {
    padding: 40px 24px;
  }

  .thomas-about-associations-grid {
    gap: 32px;
  }

  .thomas-about-footer-cta {
    padding: 40px 24px;
  }

  .thomas-about-footer-cta-title {
    font-size: 24px;
  }

  .thomas-about-btn {
    font-size: 14px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .thomas-about-hero {
    min-height: 380px;
  }

  .thomas-about-hero-content {
    padding: 40px 20px;
    max-width: 100%;
  }

  .thomas-about-hero-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .thomas-about-hero-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .thomas-about-hero-description {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .thomas-about-hero-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .thomas-about-btn {
    width: 100%;
    font-size: 13px;
    padding: 12px 20px;
  }

  .thomas-about-main {
    padding: 24px 16px;
  }

  .thomas-about-sidebar {
    width: 100%;
  }

  .thomas-about-section-header h2 {
    font-size: 16px;
  }

  .thomas-about-story-box,
  .thomas-about-trust-box {
    padding: 16px;
  }

  .thomas-about-text {
    font-size: 14px;
  }

  .thomas-about-quote {
    padding: 20px 16px;
  }

  .thomas-about-quote-text {
    font-size: 18px;
  }

  .thomas-about-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .thomas-about-feature-card {
    padding: 12px;
  }

  .thomas-about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .thomas-about-stat-card {
    padding: 20px 16px;
  }

  .thomas-about-stat-value {
    font-size: 32px;
  }

  .thomas-about-form-box {
    border-radius: 6px;
  }

  .thomas-about-form-header {
    padding: 20px 16px 0;
  }

  .thomas-about-form-header h3 {
    font-size: 18px;
  }

  .thomas-about-form {
    padding: 0 16px 20px;
  }

  .thomas-about-cta-label {
    font-size: 10px;
  }

  .thomas-about-cta-title {
    font-size: 20px;
  }

  .thomas-about-cta-description {
    font-size: 13px;
  }

  .thomas-about-cta-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .thomas-about-reviews {
    padding: 32px 16px;
  }

  .thomas-about-reviews-header {
    flex-direction: column;
    gap: 12px;
  }

  .thomas-about-reviews-grid {
    gap: 12px;
  }

  .thomas-about-map iframe {
    height: 240px;
  }

  .thomas-about-associations {
    padding: 32px 16px;
  }

  .thomas-about-associations-label {
    font-size: 9px;
  }

  .thomas-about-associations-title {
    font-size: 20px;
  }

  .thomas-about-associations-grid {
    gap: 24px;
  }

  .thomas-about-associations-grid img {
    height: 48px;
  }

  .thomas-about-footer-cta {
    padding: 32px 16px;
  }

  .thomas-about-footer-cta-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .thomas-about-footer-cta-description {
    font-size: 13px;
    margin-bottom: 24px;
  }
}



/* --- Global Resets & Typography --- */
.thomas-contact-body {
  margin: 0;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.thomas-contact-a {
  color: #004F82;
  text-decoration: none;
}

.thomas-contact-a:hover {
  color: #C6A03C;
}

/* --- HERO SECTION --- */
.thomas-contact-hero-section {
  position: relative;
  overflow: hidden;
}

.thomas-contact-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thomas-contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,35,58,0.92) 0%, rgba(0,50,80,0.85) 50%, rgba(0,40,65,0.6) 100%);
}

.thomas-contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 3%;
  padding: 5% 0% 0% 3%;
}

.thomas-contact-breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.thomas-contact-breadcrumb a:hover {
  color: #fff;
}

.thomas-contact-breadcrumb-current {
  color: #C6A03C;
}

.thomas-contact-hero-content {
  padding: 30px 0 40px;
  max-width: 650px;
}

.thomas-contact-hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C6A03C;
  margin-bottom: 16px;
}

.thomas-contact-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.thomas-contact-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #D5DCE8;
  margin: 0 0 24px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.thomas-contact-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C6A03C;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Raleway', sans-serif;
  transition: background 0.2s;
}

.thomas-contact-btn-primary:hover {
  background: #b08e30;
}

.thomas-contact-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-family: 'Raleway', sans-serif;
  transition: border-color 0.2s;
}

.thomas-contact-btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
}

.thomas-contact-trust-bar {
  position: relative;
  z-index: 1;
  background: rgba(0,30,50,0.6);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.thomas-contact-trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.thomas-contact-trust-item-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198,160,60,0.15);
  border: 1px solid #C6A03C;
  color: #C6A03C;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-trust-item-white {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

/* --- MAIN CONTENT CONTAINER --- */
.thomas-contact-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* Consultation Form Section */
.thomas-contact-section {
  margin-bottom: 48px;
}

.thomas-contact-heading-main {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #004F82;
  margin: 0 0 4px;
}

.thomas-contact-subheading-main {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9AA1AC;
  margin-bottom: 20px;
}

.thomas-contact-text-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5B6472;
  margin: 0 0 32px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
      background: #004F82;
    padding: 30px;
    border-radius: 15px;
}

.thomas-contact-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.thomas-contact-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-required-star {
  color: #C6A03C;
}

.thomas-contact-form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid #d0d8e0;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
  outline: none;
  background: #f8fafc;
}

.thomas-contact-form-helper {
  font-size: 12px;
  color: #9AA1AC;
  margin-bottom: 6px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-form-select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid #d0d8e0;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
  color: #5B6472;
  outline: none;
  background: #f8fafc;
  appearance: auto;
}

.thomas-contact-form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid #d0d8e0;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
  outline: none;
  background: #f8fafc;
  resize: vertical;
}

.thomas-contact-form-submit-btn {
  align-self: flex-start;
  padding: 14px 40px;
  background: #C6A03C;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}

.thomas-contact-form-submit-btn:hover {
  background: #b08e30;
}

.thomas-contact-secure-notice {
  font-size: 12px;
  color: #9AA1AC;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-divider {
  height: 1px;
  background: #E5E7EB;
  margin-bottom: 48px;
}

/* Section Title Headers */
.thomas-contact-section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.thomas-contact-title-bar {
  width: 4px;
  height: 28px;
  background: #C6A03C;
  border-radius: 2px;
}

.thomas-contact-heading-section {
  font-family: Lato, Calibri, sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #004F82;
  margin: 0;
}

/* Office Info Section */
.thomas-contact-office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.thomas-contact-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 24px;
}

.thomas-contact-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.thomas-contact-icon-box {
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thomas-contact-card-title {
  font-weight: 700;
  font-size: 14px;
  color: #004F82;
  margin-bottom: 6px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-card-text {
  font-size: 14px;
  color: #5B6472;
  line-height: 1.6;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

/* Office Hours Section */
.thomas-contact-hours-box {
  background: #FAFBFC;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 24px 28px;
}

.thomas-contact-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.thomas-contact-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #E5E7EB;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-hours-day {
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.thomas-contact-hours-time {
  font-size: 14px;
  color: #5B6472;
}

.thomas-contact-hours-appointment {
  font-size: 14px;
  color: #C6A03C;
  font-weight: 700;
}

/* Mid-page CTA */
.thomas-contact-mid-cta {
 margin: 0 auto 48px auto;
  background: #004F82;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px; /* Full container width match */
  box-sizing: border-box;
}

.thomas-contact-mid-cta-container {
  position: relative;
  z-index: 1;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.thomas-contact-mid-cta-bg-effect {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(198,160,60,0.08));
  pointer-events: none;
}

.thomas-contact-mid-cta-content {
 flex: 1;
  min-width: 0;
}

.thomas-contact-mid-cta-tag {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C6A03C;
  margin-bottom: 8px;
}

.thomas-contact-mid-cta-heading {
  font-family: 'Lora', Cambria, serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

.thomas-contact-mid-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

.thomas-contact-btn-mid-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Raleway', sans-serif;
  transition: border-color 0.2s;
}

.thomas-contact-btn-mid-outline:hover {
  border-color: #fff;
}

/* Reviews Section */
.thomas-contact-reviews-box {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
}

.thomas-contact-reviews-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 16px;
}

.thomas-contact-google-logo-box {
  width: 48px;
  height: 48px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thomas-contact-reviews-title {
  font-weight: 700;
  font-size: 16px;
  color: #333;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-reviews-score {
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.thomas-contact-stars-container {
  display: flex;
  gap: 1px;
}

.thomas-contact-reviews-count {
  font-size: 13px;
  color: #9AA1AC;
}

.thomas-contact-reviews-grid {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.thomas-contact-review-card {
  background: #FAFBFC;
  border-radius: 6px;
  padding: 16px;
}

.thomas-contact-review-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.thomas-contact-review-avatar {
  width: 32px;
  height: 32px;
  background: #004F82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-review-username {
  font-weight: 700;
  font-size: 13px;
  color: #333;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-review-text {
  font-size: 13px;
  line-height: 1.6;
  color: #5B6472;
  margin: 0;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-reviews-footer {
  padding: 0 24px 16px;
  text-align: center;
}

.thomas-contact-reviews-link {
  font-size: 13px;
  font-weight: 700;
  color: #004F82;
  text-decoration: none;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-reviews-link:hover {
  color: #C6A03C;
}

/* Map Section */
.thomas-contact-map-wrapper {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.thomas-contact-map-info-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #004F82;
  text-decoration: none;
}

.thomas-contact-map-directions-link:hover {
  color: #C6A03C;
}

.thomas-contact-map-separator {
  color: #E5E7EB;
}

.thomas-contact-map-address-text {
  font-size: 13px;
  color: #5B6472;
}

/* Associations Section */
.thomas-contact-associations-box {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 28px 32px;
  text-align: center;
}

.thomas-contact-associations-img-wrapper {
  overflow: hidden;
  max-height: 150px;
}

.thomas-contact-associations-img {
  max-width: 100%;
  height: auto;
  margin-top: -45px;
}

.thomas-contact-associations-license {
  margin-top: 8px;
  font-size: 13px;
  color: #9AA1AC;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

/* --- FOOTER CTA SECTION --- */
.thomas-contact-footer-cta {
  background: #004F82;
  padding: 56px 24px;
  text-align: center;
}

.thomas-contact-footer-cta-container {
  max-width: 680px;
  margin: 0 auto;
}

.thomas-contact-footer-cta-tag {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C6A03C;
  margin-bottom: 14px;
}

.thomas-contact-footer-cta-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 16px;
}

.thomas-contact-footer-cta-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #D5DCE8;
  margin: 0 0 28px;
  font-family: 'Source Sans Pro', Calibri, sans-serif;
}

.thomas-contact-footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.thomas-contact-btn-transparent-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Raleway', sans-serif;
  transition: border-color 0.2s;
}

.thomas-contact-btn-transparent-outline:hover {
  border-color: #fff;
}

/* Mobile Responsive Alignment */
@media only screen and (max-width: 767px) {
  .thomas-contact-mid-cta-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
  }
  
  .thomas-contact-mid-cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  
  .thomas-contact-mid-cta-heading {
    font-size: 22px !important;
  }
}


/* --- Map & Associations Side-by-Side Layout --- */
.thomas-contact-map-assoc-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 48px;
}

.thomas-contact-map-col {
  flex: 0 0 60%;
  margin-bottom: 0 !important;
}

.thomas-contact-assoc-col {
  flex: 0 0 calc(40% - 30px);
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

.thomas-contact-assoc-col .thomas-contact-associations-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile & Tablet Responsive View */
@media only screen and (max-width: 992px) {
  .thomas-contact-map-assoc-wrapper {
    flex-direction: column;
  }
  
  .thomas-contact-map-col,
  .thomas-contact-assoc-col {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}


/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablets aur chhote laptops (max-width: 992px) ke liye */
@media screen and (max-width: 992px) {
  .thomas-contact-office-grid,
  .thomas-contact-reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .thomas-contact-hours-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Mobile Phones (max-width: 768px) ke liye */
@media screen and (max-width: 768px) {
  .thomas-contact-hero-title {
    font-size: 32px !important;
  }

  .thomas-contact-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .thomas-contact-hero-inner,
  .thomas-contact-main-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .thomas-contact-mid-cta {
    padding: 30px 20px;
  }

  .thomas-contact-mid-cta-heading {
    font-size: 22px !important;
  }

  .thomas-contact-footer-cta-title {
    font-size: 26px !important;
  }
}



/* --- Two-Column Consultation & Sticky Sidebar Layout --- */
.thomas-contact-consultation-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 0px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.thomas-contact-main-content-col {
  flex: 1;
  min-width: 0;
}

.thomas-contact-sidebar-col {
  width: 38%;
  flex-shrink: 0;
  position: sticky;
  top: 96px; /* Header ke niche sticky rehne ke liye */
}

.thomas-contact-sidebar-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.thomas-contact-hours-grid-sidebar {
  display: flex;
  flex-direction: column;
}

/* Mobile aur Tablet ke liye (jab screen chhoti ho) */
@media only screen and (max-width: 767px) {
  .thomas-contact-consultation-wrapper {
    flex-direction: column !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .thomas-contact-sidebar-col {
    width: 100% !important;
    position: static !important;
  }
}


/* ================================================================= *
 * THOMAS HOMES GALLERY - FULL WORKING STYLES                        *
 * ================================================================= */

.thomas-gallery {
    font-family: 'Lato', Calibri, sans-serif;
    color: #4A5464;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

.thomas-gallery *, 
.thomas-gallery *::before, 
.thomas-gallery *::after {
    box-sizing: border-box;
}

.thomas-gallery a {
    color: #004F82;
    text-decoration: none;
    transition: color 0.2s;
}

.thomas-gallery a:hover {
    color: #C6A03C;
}

/* Keyframe Animation */
@keyframes thomasFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION */
.thomas-gallery-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 56px;
}

.thomas-gallery-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.thomas-gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,44,72,0.94) 0%, rgba(26,44,72,0.88) 45%, rgba(26,44,72,0.62) 100%);
}

.thomas-gallery-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 3%;
    padding: 5% 0% 0% 3%;
}

.thomas-gallery-subheading {
    font-weight: 700;
    font-size: 11px;
    color: #C6A03C;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.thomas-gallery-hero h1 {
    margin: 0 0 10px;
    font-family: 'Lato', Calibri, sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 3.4vw, 42px);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}

.thomas-gallery-hero-subtitle {
    font-family: 'Lora', Cambria, serif;
    font-weight: 400;
    font-size: 22px;
    color: #D5DCE8;
    margin-bottom: 18px;
}

.thomas-gallery-hero-desc {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #D5DCE8;
    max-width: 560px;
}

.thomas-gallery-meta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.thomas-gallery-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border: 1px solid #C6A03C;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    color: #C6A03C;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.thomas-gallery-license {
    font-size: 15px;
    color: #D5DCE8;
}

.thomas-gallery-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.thomas-gallery-btn-group a{color:#fff!important}

.thomas-gallery-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #C6A03C;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
}

.thomas-gallery-btn-primary:hover {
    background: #b8922e;
    color: #fff;
}

.thomas-gallery-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    background: transparent;
    color: #fff;
    border: 1px solid #C6A03C;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
}

.thomas-gallery-btn-outline:hover {
    background: rgba(198,160,60,0.12);
    color: #fff;
}

/* MAIN CONTENT WRAPPER */
.thomas-gallery-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px;
}

.thomas-gallery-intro {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
}

.thomas-gallery-intro p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
    color: #4A5464;
}

.thomas-gallery-intro p:last-child {
    margin-bottom: 0;
}

/* CATEGORY TABS */
.thomas-gallery-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid #E5E7EB;
}

.thomas-gallery-tab-btn {
    padding: 12px 24px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    background: transparent;
    margin-bottom: -2px;
    color: #9AA1AC;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.thomas-gallery-tab-btn.active {
    color: #004F82;
    border-bottom: 2px solid #004F82;
}

/* TAB PANELS */
.thomas-gallery-tab-pane {
    display: none;
}
.thomas-gallery-tab-pane.active {
    display: block;
}

/* PROJECT CARDS */
.thomas-gallery-projects-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.thomas-gallery-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    scroll-margin-top: 100px;
    animation: thomasFadeUp 0.4s ease-out;
}

.thomas-gallery-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-left: 4px solid #C6A03C;
    flex-wrap: wrap;
}

.thomas-gallery-card-header h3 {
    margin: 0;
    font-family: 'Lora', Cambria, serif;
    font-weight: 700;
    font-size: 22px;
    color: #1a1f26;
    text-transform:inherit;
    letter-spacing: 0.5px;
}

.thomas-gallery-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(198,160,60,0.1);
    border: 1px solid #C6A03C;
    border-radius: 100px;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #C6A03C;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.thomas-gallery-count-label {
    margin-left: auto;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: #9AA1AC;
}

/* GRIDS */
.thomas-gallery-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 24px 16px;
}

.thomas-gallery-expanded-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0 24px 24px;
    display: none; /* toggled via JS */
}

.thomas-gallery-thumb-item {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(145deg, #e2e6ea, #d0d5dc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thomas-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EXPAND BUTTON */
.thomas-gallery-expand-wrap {
    padding: 0 24px 20px;
    text-align: center;
    display:flex;
    justify-content: center;
}

.thomas-gallery-expand-btn {
    padding: 10px 28px;
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #004F82;
    cursor: pointer;
    transition: all 0.2s;
}

.thomas-gallery-expand-btn:hover {
    background: #F3F4F6;
    border-color: #004F82;
}

/* VIDEO EMBEDS */
.thomas-gallery-video-container {
    padding: 0 24px 24px;
}

.thomas-gallery-video-label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: #C6A03C;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.thomas-gallery-video-frame-wrap {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.thomas-gallery-video-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* MID-PAGE CTA BOX */
.thomas-gallery-mid-cta {
    background: #004F82;
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    margin-top: 32px;
}

.thomas-gallery-mid-cta-title {
    font-family: 'Lora', Cambria, serif;
    font-style: italic;
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
}

.thomas-gallery-mid-cta-desc {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #D5DCE8;
    margin: 0 auto 28px;
    max-width: 480px;
    line-height: 1.6;
}

/* REVIEWS SECTION */
.thomas-gallery-reviews-section {
    margin-top: 56px;
    text-align: center;
}

.thomas-gallery-section-tag {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #C6A03C;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}

.thomas-gallery-section-heading {
    margin: 0 0 28px;
    font-family: 'Lora', Cambria, serif;
    font-weight: 700;
    font-size: 30px;
    color: #1A2C48;
}

.thomas-gallery-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.thomas-gallery-review-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #C6A03C;
    border-radius: 6px;
    padding: 22px;
}

.thomas-gallery-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.thomas-gallery-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #004F82;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.thomas-gallery-review-name {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #1A2C48;
}

.thomas-gallery-stars {
    font-size: 15px;
    color: #C6A03C;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.thomas-gallery-review-text {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #4A5464;
}

/* ASSOCIATIONS SECTION */
.thomas-gallery-assoc-box {
    margin-top: 48px;
    padding: 36px 28px;
    background: #FAFBFC;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    text-align: center;
}

.thomas-gallery-assoc-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.thomas-gallery-assoc-logos img {
    width: auto !important;
    height: auto !important;
    max-width: 180px;
    max-height: 72px;
    object-fit: contain;
    display: inline-block;
}

.thomas-gallery-assoc-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.thomas-gallery-assoc-license {
    margin-top: 22px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: #9AA1AC;
}

/* MAP SECTION */
.thomas-gallery-map-wrap {
    margin-top: 32px;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    border: 1px solid #E5E7EB;
}

.thomas-gallery-map-wrap iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* FOOTER CTA */
.thomas-gallery-footer-cta {
    background: #004F82;
    padding: 64px 40px;
    text-align: center;
}

.thomas-gallery-footer-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.thomas-gallery-footer-cta-title {
    font-family: 'Lora', Cambria, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin-bottom: 12px;
}

.thomas-gallery-footer-cta-desc {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #D5DCE8;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
    .thomas-gallery-hero-inner { padding: 0 40px; }
    .thomas-gallery-thumbs-grid { grid-template-columns: repeat(3, 1fr); }
    .thomas-gallery-expanded-grid { grid-template-columns: repeat(3, 1fr); }
    .thomas-gallery-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .thomas-gallery-hero { padding: 40px 0 36px; }
    .thomas-gallery-hero-inner { padding: 0 24px; }
    .thomas-gallery-hero h1 { font-size: 30px; white-space: normal; }
    .thomas-gallery-main { padding: 32px 20px; }
    .thomas-gallery-thumbs-grid { grid-template-columns: repeat(2, 1fr); }
    .thomas-gallery-expanded-grid { grid-template-columns: repeat(2, 1fr); }
    .thomas-gallery-reviews-grid { grid-template-columns: 1fr; }
}



/*----------------------------General Service Page---------------------------------------*/


.thomas-gen-service-content-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thomas-gen-service-content-col li {
  position: relative;
  padding-left: 20px;
}

.thomas-gen-service-content-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #C6A03C;
  font-weight: 900;
}

.thomas-gen-service-content-col li strong {
  color: #004F82;
  font-weight: 700;
}

.thomas-gen-service-body {
  margin: 0;
  font-family: 'Calibri', sans-serif;
  color: #5B6472;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.thomas-gen-service-link {
  color: #C6A03C;
  text-decoration: none;
}

.thomas-gen-service-link:hover {
  color: #a8862e;
}

.thomas-gen-service-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.thomas-gen-service-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.thomas-gen-service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 36, 66, 0.88) 0%, rgba(18, 36, 66, 0.70) 55%, rgba(18, 36, 66, 0.42) 100%);
}

.thomas-gen-service-hero-inner {
  position: relative;
  max-width: 1330px;
  margin: 0 6%;
  padding: 7% 0%;
}

.thomas-gen-service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.thomas-gen-service-breadcrumb-link {
  color: #9FB2C9;
  text-decoration: none;
}

.thomas-gen-service-breadcrumb-link:hover {
  color: #C6A03C;
}

.thomas-gen-service-breadcrumb-sep {
  color: #6E829C;
}

.thomas-gen-service-breadcrumb-current {
  color: #C6A03C;
}

.thomas-gen-service-hero-content {
  max-width: 680px;
}

.thomas-gen-service-hero-title {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 50px;
  color: #FFFFFF;
  margin: 0 0 18px;
  line-height: 1.14;
}

.thomas-gen-service-hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #D5DCE8;
  margin: 0 0 32px;
  max-width: 620px;
}

.thomas-gen-service-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.thomas-gen-service-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #12294C;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 4px;
}

.thomas-gen-service-btn-light:hover {
  background: #EEF2F7;
}

.thomas-gen-service-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #C6A03C;
  color: #12294C;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 4px;
}

.thomas-gen-service-btn-gold:hover {
  background: #d4af4e;
}

.thomas-gen-service-main-layout {
  max-width: 1350px;
  margin: 0 auto;
  padding: 64px 40px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.thomas-gen-service-content-col {
  flex: 1 1 480px;
  min-width: 0;
}

.thomas-gen-service-lead-text {
  font-family: 'Cambria', serif;
  font-size: 21px;
  line-height: 1.6;
  color: #004F82;
  margin: 0 0 24px;
}

.thomas-gen-service-text {
  font-size: 16.5px;
  line-height: 1.9;
  margin: 0 0 20px;
}

.thomas-gen-service-text-mb-lg {
  font-size: 16.5px;
  line-height: 1.9;
  margin: 0 0 36px;
}

.thomas-gen-service-text-mb-md {
  font-size: 16.5px;
  line-height: 1.9;
  margin: 0 0 40px;
}

.thomas-gen-service-text-mb-sm {
  font-size: 16.5px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.thomas-gen-service-figure {
  margin: 0 0 40px;
}

.thomas-gen-service-img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.thomas-gen-service-figcaption {
  font-size: 13px;
  color: #8C99A8;
  font-style: italic;
  margin-top: 10px;
}

.thomas-gen-service-heading {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 28px;
  color: #004F82;
  margin: 0 0 6px;
  line-height: 1.25;
}

.thomas-gen-service-divider {
  width: 56px;
  height: 3px;
  background: #C6A03C;
  margin: 0 0 20px;
}

.thomas-gen-service-bold-link {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.thomas-gen-service-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 20px;
}

.thomas-gen-service-bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.8;
}

.thomas-gen-service-bullet-icon {
  color: #C6A03C;
  font-weight: 900;
}

.thomas-gen-service-bullet-title {
  color: #004F82;
  font-weight: 700;
}

.thomas-gen-service-bullet-list-simple {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
}

.thomas-gen-service-bullet-list-alt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 40px;
}

.thomas-gen-service-action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid #E5E7EB;
}

.thomas-gen-service-action-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #004F82;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
}

.thomas-gen-service-action-btn-primary:hover {
  background: #00639E;
  color: #FFFFFF;
}

.thomas-gen-service-action-btn-outline {
  display: inline-flex;
  align-items: center;
  color: #004F82;
  border: 1px solid #C6A03C;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
}

.thomas-gen-service-action-btn-outline:hover {
  background: #C6A03C;
  color: #fff;
}

.thomas-gen-service-sidebar-col {
  flex: 0 1 330px;
  min-width: 290px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.thomas-gen-service-form-card {
  background: #004F82;
  border-radius: 6px;
  padding: 36px 28px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.thomas-gen-service-form-title {
  font-family: 'Calibri', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
  margin: 0 0 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.thomas-gen-service-form-subtitle {
  font-size: 14px;
  color: #D5DCE8;
  margin: 0 0 28px;
  font-style: italic;
  text-align: center;
}

.thomas-gen-service-form-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thomas-gen-service-label {
  display: block;
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.thomas-gen-service-required {
  color: #F2A7A7;
}

.thomas-gen-service-input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  background: #F5F8FA;
  border: 1px solid #CBD6E2;
  border-radius: 12px;
  color: #12294C;
  font-family: 'Calibri', sans-serif;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.thomas-gen-service-input:focus {
  border-color: #C6A03C;
}

.thomas-gen-service-select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: #F5F8FA;
  border: 1px solid #CBD6E2;
  border-radius: 12px;
  color: #5B6472;
  font-family: 'Calibri', sans-serif;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.thomas-gen-service-select:focus {
  border-color: #C6A03C;
}

.thomas-gen-service-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #F5F8FA;
  border: 1px solid #CBD6E2;
  border-radius: 12px;
  color: #12294C;
  font-family: 'Calibri', sans-serif;
  font-size: 15px;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.thomas-gen-service-textarea:focus {
  border-color: #C6A03C;
}

.thomas-gen-service-btn-submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.thomas-gen-service-submit-btn {
  padding: 12px 28px;
  background: #0070BA;
  color: #FFFFFF;
  font-family: 'Calibri', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.thomas-gen-service-submit-btn:hover {
  background: #0082D6;
}

.thomas-gen-service-sidebar-phone-box {
  margin-top: 20px;
  text-align: center;
}

.thomas-gen-service-sidebar-phone-label {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 6px;
}

.thomas-gen-service-sidebar-phone-link {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 22px;
  color: #004F82;
  text-decoration: none;
}

.thomas-gen-service-sidebar-phone-link:hover {
  color: #C6A03C;
}

.thomas-gen-service-license {
  font-size: 12px;
  color: #6B7280;
  margin-top: 10px;
}

.thomas-gen-service-sidebar-links-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

.thomas-gen-service-sidebar-links-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #004F82;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.thomas-gen-service-sidebar-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thomas-gen-service-sidebar-link-item {
  font-size: 15px;
  color: #5B6472;
  text-decoration: none;
}

.thomas-gen-service-sidebar-link-item:hover {
  color: #C6A03C;
}

.thomas-gen-service-reviews-section {
  background: #F3F4F6;
  padding: 72px 40px;
}

.thomas-gen-service-reviews-container {
  max-width: 1100px;
  margin: 0 auto;
}

.thomas-gen-service-reviews-header {
  text-align: center;
  margin-bottom: 36px;
}

.thomas-gen-service-badge-text {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: #C6A03C;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.thomas-gen-service-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.thomas-gen-service-review-card {
  display: flex;
  flex-direction: column;
}

.thomas-gen-service-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.thomas-gen-service-review-icon {
  width: 20px;
  height: 20px;
}

.thomas-gen-service-review-author {
  font-weight: 700;
  color: #004F82;
  font-size: 14px;
}

.thomas-gen-service-review-text {
  font-size: 15px;
  line-height: 1.8;
  color: #5B6472;
  margin: 0;
  font-style: italic;
}

.thomas-gen-service-associations-section {
  background: #FFFFFF;
  padding: 56px 40px;
}

.thomas-gen-service-associations-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thomas-gen-service-associations-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.65;
}

.thomas-gen-service-assoc-img {
  height: 56px;
  object-fit: contain;
}

.thomas-gen-service-footer-cta {
  background: #004F82;
  padding: 72px 40px;
}

.thomas-gen-service-footer-cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.thomas-gen-service-footer-cta-title {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 32px;
  color: #FFFFFF;
  margin: 0 0 16px;
  line-height: 1.3;
}

.thomas-gen-service-footer-cta-desc {
  font-size: 16px;
  color: #D5DCE8;
  margin: 0 0 36px;
  line-height: 1.7;
}









/***-------------------------services-page css---------------------*/

/*
.thomas-services-content-col .thomas-services-section-box > p:first-child {
      font-family: 'Cambria', serif;
    font-size: 20px;
    line-height: 1.5;
    color: #004F82;
    margin: 0 0 20px;
}
    */


.thomas-services-content-col .thomas-services-section-box p {
  
  margin: 0 0 16px;
      font-size: 16px;
    line-height: 1.85;
    margin: 0 0 20px;
}


.thomas-services-content-col .thomas-services-section-box p a {
  color: #C6A03C;
  font-weight: 700;
}


.thomas-services-content-col .thomas-services-section-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
}


.thomas-services-content-col .thomas-services-section-box ul li {
  position: relative;
  padding-left: 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}


.thomas-services-content-col .thomas-services-section-box ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #C6A03C;
  font-weight: 900;
}


.thomas-services-content-col .thomas-services-section-box img {
  max-width: 100%;
  height: auto;
  display: block;
}


.thomas-services-content-col .thomas-services-section-box > p:last-child > a:only-child {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #C6A03C;
  text-decoration: none;
}
.thomas-services-content-col .thomas-services-section-box > p:last-child > a:only-child::after {
  content: " \2192";
}

.thomas-services-body {
  margin: 0;
  font-family: 'Calibri', sans-serif;
  color: #5B6472;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.thomas-services-link {
  color: #C6A03C;
  text-decoration: none;
}

.thomas-services-link:hover {
  color: #a8862e;
}

.thomas-services-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.thomas-services-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.thomas-services-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 41, 76, 0.75);
}

.thomas-services-hero-inner {
  position: relative;
max-width: 1330px;
    margin: 0 6%;
    padding: 7% 0%;
}

.thomas-services-hero-content {
  max-width: 660px;
}

.thomas-services-badge {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #C6A03C;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.thomas-services-hero-title {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.15;
}

.thomas-services-hero-subtitle {
  font-family: 'Cambria', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: #D5DCE8;
  margin: 0 0 24px;
  line-height: 1.4;
}

.thomas-services-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #D5DCE8;
  margin: 0 0 32px;
  max-width: 600px;
}

.thomas-services-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.thomas-services-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C6A03C;
  color: #004F82;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 6px;
}

.thomas-services-btn-gold:hover {
  background: #d4af4e;
}

.thomas-services-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 6px;
}

.thomas-services-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.thomas-services-quicknav {
  background: #F3F4F6;
  border-bottom: 1px solid #E5E7EB;
  padding: 20px 40px;
}

.thomas-services-quicknav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.thomas-services-quicknav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  color: #004F82;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.thomas-services-quicknav-item:hover {
  border-color: #C6A03C;
  color: #C6A03C;
}

.thomas-services-main-layout {
  max-width: 1350px;
  margin: 0 auto;
  padding: 64px 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.thomas-services-content-col {
  flex: 1 1 420px;
  min-width: 0;
}

.thomas-services-section-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-services-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.thomas-services-section-bar {
  width: 4px;
  height: 32px;
  background: #C6A03C;
  border-radius: 2px;
  flex-shrink: 0;
}

.thomas-services-section-title {
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: #004F82;
  margin: 0;
  letter-spacing: 0.04em;
}

.thomas-services-lead-text {
  font-family: 'Cambria', serif;
  font-size: 20px;
  line-height: 1.5;
  color: #004F82;
  margin: 0 0 20px;
}

.thomas-services-text {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 20px;
}

.thomas-services-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
  margin-bottom: 28px;
}

.thomas-services-checklist-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
}

.thomas-services-check-bullet {
  color: #C6A03C;
  font-weight: 900;
}

.thomas-services-img-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.thomas-services-img {
  width: 100%;
  display: block;
}

.thomas-services-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #004F82;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
}

.thomas-services-action-link:hover {
  background: #00639E;
}

.thomas-services-sidebar-col {
  flex: 0 1 340px;
  min-width: 300px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.thomas-services-sidebar-card {
  background: #004F82;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.thomas-services-sidebar-header {
  padding: 28px 24px 0;
}

.thomas-services-sidebar-title {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 0 4px;
}

.thomas-services-sidebar-subtitle {
  font-size: 13px;
  color: #C6A03C;
  margin: 0 0 24px;
  font-style: italic;
  text-align:center;
}

.thomas-services-form-body {
  padding: 0 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thomas-services-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #004F82;
  margin-bottom: 6px;
}

.thomas-services-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #004F82;
  font-family: 'Calibri', sans-serif;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.thomas-services-input:focus {
  border-color: #C6A03C;
}

.thomas-services-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #5B6472;
  font-family: 'Calibri', sans-serif;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.thomas-services-select:focus {
  border-color: #C6A03C;
}

.thomas-services-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #004F82;
  font-family: 'Calibri', sans-serif;
  font-size: 14px;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.thomas-services-textarea:focus {
  border-color: #C6A03C;
}

.thomas-services-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #C6A03C 0%, #d4b04a 100%);
  color: #FFFFFF;
  font-family: 'Calibri', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(198, 160, 60, 0.3);
}

.thomas-services-sidebar-phone-box {
  margin-top: 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-services-sidebar-phone-label {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 6px;
}

.thomas-services-sidebar-phone-link {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 22px;
  color: #004F82;
  text-decoration: none;
}

.thomas-services-sidebar-phone-link:hover {
  color: #C6A03C;
}

.thomas-services-license {
  font-size: 12px;
  color: #6B7280;
  text-align: center;
  margin-top: 12px;
}

.thomas-services-reviews-section {
  background: #F3F4F6;
  padding: 72px 40px;
}

.thomas-services-reviews-container {
  max-width: 1100px;
  margin: 0 auto;
}

.thomas-services-reviews-header {
  text-align: center;
  margin-bottom: 36px;
}

.thomas-services-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.thomas-services-review-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
}

.thomas-services-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.thomas-services-review-icon {
  width: 20px;
  height: 20px;
}

.thomas-services-review-author {
  font-weight: 700;
  color: #004F82;
  font-size: 14px;
}

.thomas-services-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.thomas-services-review-text {
  font-size: 14px;
  line-height: 1.7;
  color: #5B6472;
  margin: 0;
  font-style: italic;
}

.thomas-services-associations-section {
  background: #FFFFFF;
  padding: 56px 40px;
}

.thomas-services-associations-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thomas-services-associations-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.65;
}

.thomas-services-assoc-img {
  height: 56px;
  object-fit: contain;
}

.thomas-services-footer-cta {
  background: linear-gradient(135deg, #004F82 0%, #005088 100%);
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.thomas-services-footer-cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.thomas-services-footer-cta-title {
  font-family: 'Cambria', serif;
  font-weight: 700;
  font-size: 32px;
  color: #FFFFFF;
  margin: 0 0 16px;
  line-height: 1.3;
}

.thomas-services-footer-cta-desc {
  font-size: 16px;
  color: #D5DCE8;
  margin: 0 0 36px;
  line-height: 1.7;
}

.thomas-gen-service-text-wrap h3.thomas-gen-service-subheading {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #16294C;
  margin: 24px 0 12px;
  text-transform: none;
  text-align: left;
  letter-spacing: normal;
}