/* ==========================================================
   ADVANCED PREMIUM LIVE RATE CALCULATOR PAGE STYLESHEET
   ========================================================== */

:root {
    --rt-primary: #003399;
    --rt-secondary: #002266;
    --rt-accent: #FFB400;
    --rt-dark: #0B132B;
    --rt-light: #F4F7FC;
    --rt-muted: #5A6A85;
    --rt-white: #FFFFFF;
    --rt-border: #E2E8F0;
    --rt-shadow: 0 20px 40px rgba(0, 51, 153, 0.08);
    --rt-transition: all 0.35s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--rt-dark);
    background-color: var(--rt-white);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Breadcrumb Styling */
.rate-breadcrumb {
    background-color: var(--rt-light);
    padding: 14px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--rt-border);
}

.rate-breadcrumb a {
    color: var(--rt-primary);
    text-decoration: none;
    font-weight: 500;
}

.rate-breadcrumb .separator {
    margin: 0 10px;
    color: var(--rt-muted);
    font-size: 10px;
}

.rate-breadcrumb .current {
    color: var(--rt-muted);
}

/* Hero Section */
.rate-hero {
    padding: 85px 0 65px;
    background: linear-gradient(135deg, #002266 0%, #003399 100%);
    color: var(--rt-white);
    text-align: center;
}

.rate-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 180, 0, 0.2);
    color: var(--rt-accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 180, 0, 0.3);
}

.rate-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.rate-hero h1 span {
    color: var(--rt-accent);
}

.rate-hero p {
    font-size: 15.5px;
    color: #cbd5e1;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Calculator Main Section */
.calculator-main-section {
    padding: 90px 0;
    background-color: var(--rt-light);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}

/* Tool Box Styling */
.calculator-tool-box {
    background: var(--rt-white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 25px 50px rgba(0, 51, 153, 0.12);
    border: 1px solid var(--rt-border);
}

.sub-tag {
    display: inline-block;
    color: var(--rt-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.calc-header {
    margin-bottom: 25px;
}

.calc-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--rt-dark);
    margin-bottom: 6px;
}

.calc-header p {
    font-size: 13.5px;
    color: var(--rt-muted);
}

.calc-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.calc-form .form-group {
    margin-bottom: 18px;
}

.calc-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.calc-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--rt-border);
    border-radius: 10px;
    font-size: 13.5px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    background: var(--rt-light);
    color: var(--rt-dark);
}

.calc-input:focus {
    border-color: var(--rt-primary);
    background: var(--rt-white);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

/* Estimation Result Box */
.estimation-result-box {
    background: linear-gradient(135deg, #0b132b, #1c2541);
    border-radius: 14px;
    padding: 20px 22px;
    color: var(--rt-white);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14.5px;
}

.result-row span {
    color: #cbd5e1;
}

.highlight-total {
    font-size: 22px;
    color: var(--rt-accent) !important;
    font-weight: 800;
}

.tax-note {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.btn-popup-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-secondary));
    color: var(--rt-white);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--rt-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 51, 153, 0.3);
}

.btn-popup-submit:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 51, 153, 0.4);
}

/* Rate Matrix Table Card */
.matrix-card {
    background: var(--rt-white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: var(--rt-shadow);
    border: 1px solid var(--rt-border);
}

.matrix-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--rt-dark);
    margin-bottom: 6px;
}

.matrix-sub {
    font-size: 13.5px;
    color: var(--rt-muted);
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.rate-table th {
    background-color: var(--rt-light);
    color: var(--rt-dark);
    padding: 12px 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--rt-border);
}

.rate-table td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--rt-border);
    color: #334155;
}

.price-tag {
    background: rgba(0, 51, 153, 0.08);
    color: var(--rt-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.matrix-footer-note {
    font-size: 12.5px;
    color: var(--rt-muted);
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.matrix-footer-note i {
    color: var(--rt-accent);
    margin-top: 2px;
}

/* SEO Article Hub Section (1500+ Words Content) */
.rate-seo-article-section {
    padding: 90px 0;
    background-color: var(--rt-white);
}

.seo-article-content {
    max-width: 950px;
    margin: 0 auto;
    font-size: 15.5px;
    color: #334155;
    line-height: 1.8;
}

.seo-article-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--rt-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--rt-dark);
    margin-top: 40px;
    margin-bottom: 15px;
}

.seo-article-content p {
    margin-bottom: 20px;
}

.seo-article-content ul, 
.seo-article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.seo-article-content li {
    margin-bottom: 10px;
}

.faq-item {
    background: var(--rt-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--rt-border);
    margin-bottom: 20px;
}

.faq-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--rt-dark);
    margin-bottom: 8px;
}

.faq-item p {
    margin: 0;
    font-size: 14px;
    color: var(--rt-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rate-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .calc-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .calculator-tool-box, .matrix-card {
        padding: 25px 20px;
    }
}