/* ========================================
   OUR METHODOLOGY PAGE STYLES - BLOG STYLE
   ======================================== */

body {
    background-color: #f9f9f9;
}
h1 {
    font-size: 38px;
    font-family: "Google Sans";
    font-weight: 800;
}

.methodology-page {
    background: #f9f9f9;
    padding: 20px 0;
}

/* Hero Section */
.methodology-hero {
    background: linear-gradient(135deg, #0f3c55 0%, #a21c20 50%, #0f3c55 100%);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.methodology-hero h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 38px;
    color: #fff;
    margin-bottom: 10px;
}

.methodology-hero .hero-subtitle {
    font-family: var(--popins-family);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ============================================
   AUTHOR INFO SECTION
   ============================================ */

.author-info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 9px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.author-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #0f3c55;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.published-by {
    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.published-by a {
    color: #0f3c55;
    text-decoration: none;
    font-weight: 600;
}

.published-by a:hover {
    text-decoration: underline;
}

.updated-date {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    color: #666;
}

.author-info-right {
    display: flex;
    align-items: center;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #0f3c55;
    color: #fff;
    transform: translateY(-2px);
}

/* Featured Image */
.featured-image-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* ============================================
   TABLE OF CONTENTS - ENHANCED DESIGN
   ============================================ */

.toc-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 25px;
    border: 1px solid rgba(15, 60, 85, 0.08);
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e8f0f5;
}

.toc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-badge {
    font-size: 24px;
}

.toc-title {
    font-family: "Google Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f3c55;
    margin: 0;
}

.toc-count {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #0f3c55, #1a5a7a);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.toc-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-item {
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc-item-inner {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* .toc-item-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0f3c55, #a21c20);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toc-item:hover .toc-item-inner {
    background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
    border-color: #0f3c55;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(15, 60, 85, 0.12);
}

.toc-item:hover .toc-item-inner::before {
    opacity: 1;
} */

.toc-item-highlight .toc-item-inner {
    background: linear-gradient(135deg, #0f3c55 0%, #1a5a7a 100%);
    border-color: transparent;
}

.toc-item-highlight .toc-number {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.toc-item-highlight .toc-text {
    color: #fff;
}

.toc-item-highlight .toc-arrow {
    color: rgba(255, 255, 255, 0.7);
}

.toc-item-highlight:hover .toc-item-inner {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(15, 60, 85, 0.3);
}

.toc-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0f3c55, #1a5a7a);
    color: #fff;
    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    margin-right: 16px;
    flex-shrink: 0;
}

/* .toc-item:hover .toc-number {
    background: linear-gradient(135deg, #a21c20, #c62828);
} */

.toc-item-highlight:hover .toc-number {
    background: rgba(255, 255, 255, 0.3);
}

.toc-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.toc-text {
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.toc-item:hover .toc-text {
    color: #0f3c55;
}

.toc-arrow {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.toc-item:hover .toc-arrow {
    color: #0f3c55;
    transform: translateX(5px);
}

/* Content Section */
.methodology-content {
    padding: 40px 0;
}

.methodology-content .lead-text {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 25px;
}

.methodology-content p {
    font-family: var(--popins-family);
    font-size: 16px;
    line-height: 28px;
    color: #444;
    margin-bottom: 20px;
}

.methodology-content h2 {
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f3c55;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-top: 10px;
}

.methodology-content h3 {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.methodology-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.methodology-content ul li {
    font-family: var(--popins-family);
    font-size: 16px;
    line-height: 30px;
    color: #444;
    margin-bottom: 8px;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0)
    );
    margin: 40px 0;
}

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

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* Moving Cost Calculator - Same as Homepage */
.moving-cost-calculator {
    background: #fff;
    padding: 30px 20px;
    z-index: 1;
    position: relative;
    border-radius: 12px;
    margin-bottom: 20px;
}

.calculator-title {
    color: #0f3c55;
    font-size: 22px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 5px;
    font-family: "Google Sans", sans-serif;
}

.calculator-subtitle {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 15px !important;
    margin-top: 0px;
    font-family: "Google Sans", sans-serif;
}

.calculator-note {
    color: #000;
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    margin-bottom: 0px !important;
    margin-top: 15px;
    font-family: "Google Sans", sans-serif;
    line-height: 20px;
}

.calculator-form {
    max-width: 100%;
}

.calculator-label {
    font-size: 14px;
    font-weight: 600;
    color: #2b2f32;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: "Google Sans", sans-serif;
    display: block;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    z-index: 1;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
}

.calculator-input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #f2f2f2;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Google Sans", sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.calculator-input:focus {
    border-color: #0f3c55;
    background-color: #fff;
}

.calculator-input::placeholder {
    color: #6c757d;
}

.estimate-btn {
    background: #dc3545;
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Google Sans", sans-serif;
    width: 100%;
}

.estimate-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #0f3c55 0%, #1a5a7a 100%);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.sidebar-cta h4 {
    font-family: "Google Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.sidebar-cta p {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.sidebar-btn {
    display: inline-block;
    background: #fff;
    color: #0f3c55;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #0f3c55;
}

/* ============================================
   FAQ ACCORDION - Same as Homepage
   ============================================ */

.faq-accordion {
    margin-top: 20px;
}

.faq-accordion .accordion-button {
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Google Sans", sans-serif;
    color: #333;
    margin: 0 !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #fff !important;
    color: #0f3c55;
}

.accordion-header {
    margin: 0 !important;
    font-weight: 500 !important;
    padding-top: 0 !important;
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.faq-accordion .accordion-body {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    padding: 0px 20px 20px;
    font-size: 15px;
    font-family: "Outfit", sans-serif;
    line-height: 26px;
    color: #555;
}

/* Custom open/close icon */
.accordion-button::after {
    background-image: url("../images/plus.png");
    background-size: 22px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../images/plus.png");
    transform: rotate(45deg);
}

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

@media (max-width: 991px) {
    .methodology-content {
        padding: 30px 25px;
    }

    .toc-container {
        padding: 22px;
    }

    .col-lg-4 {
        margin-top: 30px;
    }

    .sidebar-sticky {
        position: relative;
        top: 0;
    }

    .author-info-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .author-info-left {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .methodology-content {
        padding: 25px 20px;
    }

    .methodology-hero {
        padding: 40px 20px;
    }

    .methodology-hero h1 {
        font-size: 28px;
    }

    .methodology-content .lead-text {
        font-size: 18px;
    }

    .methodology-content h2 {
        font-size: 22px;
    }

    .methodology-content h3 {
        font-size: 16px;
    }

    .toc-container {
        padding: 18px;
    }

    .toc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .toc-title {
        font-size: 18px;
    }

    .toc-item-inner {
        padding: 14px 15px;
    }

    .toc-number {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
        margin-right: 12px;
    }

    .toc-text {
        font-size: 13px;
    }

    .featured-image {
        height: 220px;
    }

    .calculator-title {
        font-size: 20px;
    }

    .faq-accordion .accordion-button {
        font-size: 14px;
        padding: 14px 15px;
    }

    .faq-accordion .accordion-body {
        font-size: 14px;
        padding: 0px 15px 15px;
    }

    .author-info-section {
        padding: 15px 18px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .methodology-hero h1 {
        font-size: 24px;
    }

    .methodology-content {
        padding: 20px 15px;
    }

    .moving-cost-calculator {
        padding: 25px 15px;
    }

    .sidebar-cta {
        padding: 25px 20px;
    }

    .featured-image {
        height: 180px;
    }

    .toc-arrow {
        display: none;
    }
}
