/* ==========================================================================
   SR MARBLE POLISHING SOLUTIONS - HOMEPAGE OVERRIDES ONLY (FIXED CONFLICTS)
   ========================================================================== */

.srm-homepage-grid {
    font-family: 'Poppins', sans-serif;
    color: #333333;
}

/* Restores layout containers back to natural width properties */
@media (min-width: 1200px) {
    .srm-homepage-grid #srm-home-main-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    .srm-homepage-grid #srm-home-sidebar-target {
        display: none !important;
    }
}

/* Sticky Sidebar Optimization for Core Web Vitals */
.srm-sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    z-index: 10;
}

/* Responsive Padding for Mobile Stacking */
@media (max-width: 767px) {
    #srm-home-sidebar-target {
        margin-top: 30px;
    }
}

/* Premium Typography Overrides for SEO Content Blocks */
.main-seo-heading {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-weight: 700;
    line-height: 1.4;
    color: #0d2346;
    margin: 25px 0;
    font-size: 28px;
}

.main-seo-heading span {
    color: #0046be;
    display: inline-block;
}

/* Mobile Responsive Scaling for Headings */
@media (max-width: 768px) {
    .main-seo-heading {
        font-size: 22px;
        padding: 0 10px;
    }
}

/* ==========================================================================
   HOMEPAGE CONTAINER ALIGNMENT
   ========================================================================== */
.container-fluid.srm-homepage-grid {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

.srm-homepage-grid .row.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    .container-fluid.srm-homepage-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .srm-homepage-grid #srm-home-main-content,
    .srm-homepage-grid #srm-home-sidebar-target {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .container-fluid.srm-homepage-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ==========================================================================
   PREMIUM HERO HEADLINE STYLING
   ========================================================================== */
.premium-hero-badge-container {
    text-align: center;
    margin: 30px auto 20px auto;
    padding: 0 15px;
    max-width: 950px;
}

.trust-badge-tag {
    display: inline-block;
    background-color: rgba(0, 107, 82, 0.08);
    color: #006b52;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 107, 82, 0.15);
}

.trust-badge-tag i {
    margin-right: 5px;
    font-size: 14px;
    vertical-align: -1px;
}

.main-seo-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.35;
    color: #0d2346;
    font-size: 32px;
    margin: 0 auto;
    letter-spacing: -0.5px;
}

.main-seo-heading span {
    color: #0052cc;
    display: inline-block;
    position: relative;
    font-weight: 700;
}

.premium-heading-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0052cc, #006b52);
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .trust-badge-tag {
        font-size: 11px;
        padding: 4px 12px;
    }
    .main-seo-heading {
        font-size: 24px;
        line-height: 1.3;
    }
    .premium-heading-divider {
        margin: 15px auto 0 auto;
    }
}

/* ==========================================================================
   SECTION 2: WELCOME & ABOUT STYLING
   ========================================================================== */
.srm-about-wrapper {
    padding-right: 0;
}

.srm-about-wrapper .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d2346;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srm-about-wrapper .iso-badge {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    color: #0052cc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.srm-about-wrapper .section-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #444444;
    text-align: justify;
    margin-bottom: 15px;
}

.srm-about-wrapper .section-desc a {
    color: #0052cc;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #0052cc;
    transition: all 0.2s ease-in-out;
}

.srm-about-wrapper .section-desc a:hover {
    color: #006b52;
    border-bottom-style: solid;
    border-color: #006b52;
}

.img-column-spacer {
    padding-top: 40px;
}

.img-column-spacer img {
    border: 1px solid #e1e8ed;
}

@media (max-width: 991px) {
    .srm-about-wrapper {
        text-align: center;
    }
    .srm-about-wrapper .section-title {
        font-size: 22px;
    }
    .srm-about-wrapper .section-desc {
        text-align: left;
        font-size: 14.5px;
    }
    .img-column-spacer {
        padding-top: 15px;
    }
}

/* ==========================================================================
   SECTION 3: PREMIUM PRICE MATRIX STYLING
   ========================================================================== */
.rates-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d2346;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.rates-intro {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    max-width: 900px;
    margin: 0 auto;
}

.srm-table-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.custom-table-scroll {
    border-radius: 6px;
    overflow: hidden;
}

.custom-rates-table {
    margin-bottom: 0 !important;
    vertical-align: middle;
}

.custom-rates-table thead th {
    background-color: #0d2346 !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 10px;
    text-align: center;
    border: none;
}

.custom-rates-table tbody td {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 12px 10px;
    color: #444444;
    border-color: #f1f5f9;
}

.custom-rates-table tbody tr:nth-of-type(odd) {
    background-color: #f8fafc;
}

.custom-rates-table tbody tr:hover {
    background-color: #f1f5f9;
}

.custom-rates-table .service-name {
    font-weight: 600;
    color: #0d2346;
    text-align: left;
    min-width: 220px;
}

.custom-rates-table .rate-val {
    font-weight: 700;
    color: #0052cc;
    text-align: center;
    white-space: nowrap;
}

.custom-rates-table .area-val {
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.custom-rates-table .desc-text {
    font-size: 13px;
    text-align: left;
    color: #64748b;
    line-height: 1.5;
    min-width: 280px;
}

.table-disclaimer {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f8fafc;
    border-left: 3px solid #006b52;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
    .rates-heading {
        font-size: 21px;
    }
    .rates-intro {
        font-size: 14px;
    }
    .custom-rates-table tbody td {
        font-size: 13.5px;
        padding: 10px 8px;
    }
}

/* ==========================================================================
   SECTION 4: MATRIX COMPARISON GRID STYLING
   ========================================================================== */
.comparison-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d2346;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srm-matrix-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.matrix-scroll-wrapper {
    border-radius: 6px;
    overflow: hidden;
}

.srm-matrix-table {
    margin-bottom: 0 !important;
    vertical-align: middle;
    text-align: center;
}

.srm-matrix-table thead th {
    background-color: #0d2346 !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 15px 12px;
    text-align: center;
    border: none;
    min-width: 130px;
    line-height: 1.4;
}

.srm-matrix-table thead th:first-child {
    min-width: 200px;
    text-align: left;
    background-color: #0b1e3c !important;
}

.srm-matrix-table tbody td {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    padding: 12px;
    color: #444444;
    border-color: #f1f5f9;
    text-align: center;
}

.srm-matrix-table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.srm-matrix-table .feature-label {
    font-weight: 600;
    color: #0d2346;
    text-align: left !important;
    background-color: transparent !important;
}

.srm-matrix-table .matrix-pricing-row {
    background-color: rgba(0, 82, 204, 0.04) !important;
}

.srm-matrix-table .matrix-pricing-row td {
    font-weight: 700;
    color: #0052cc;
}

.srm-matrix-table .matrix-pricing-row .feature-label {
    color: #0052cc;
}

.srm-matrix-table .icon-yes {
    color: #006b52;
    font-size: 17px;
}

.srm-matrix-table .icon-no {
    color: #cbd5e1;
    font-size: 16px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .comparison-main-title {
        font-size: 21px;
    }
}

/* ==========================================================================
   SECTION 5: SERVICE DETAIL CARDS & ACCORDIONS
   ========================================================================== */
.breakdown-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d2346;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #555555;
    max-width: 750px;
    margin: 0 auto;
}

.srm-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.srm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d2346;
    margin: 0;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-icon-header .price-tag,
.card-icon-header .price-span {
    font-size: 13.5px;
    font-weight: 700;
    color: #0052cc;
}

.card-icon-header .price-span {
    font-size: 12px;
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    width: max-content;
}

.card-intro {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
    flex-grow: 1;
}

.process-accordion {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.btn-read-more {
    font-size: 12.5px;
    font-weight: 600;
    color: #0052cc;
    cursor: pointer;
    list-style: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-read-more::-webkit-details-marker {
    display: none;
}

.btn-read-more::after {
    content: '\22B2';
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
    font-size: 14px;
}

.process-accordion[open] .btn-read-more::after {
    transform: rotate(90deg);
}

.accordion-inner-content {
    background-color: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    border-left: 3px solid #64748b;
}

.accordion-inner-content h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
}

.accordion-inner-content ul {
    padding-left: 15px;
    margin-bottom: 0;
}

.accordion-inner-content ul li {
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.4;
}

.card-teal { border-top: 4px solid #0d9488; }
.card-blue { border-top: 4px solid #2563eb; }
.card-navy { border-top: 4px solid #0f172a; }
.card-orange { border-top: 4px solid #ea580c; }
.card-red { border-top: 4px solid #dc2626; }
.card-purple { border-top: 4px solid #7c3aed; }
.card-pink { border-top: 4px solid #db2777; }

@media (max-width: 768px) {
    .breakdown-main-title { font-size: 21px; }
    .srm-service-card { padding: 18px; }
}