/* Auto-extracted styles for buyers-guide.php */




.buyers-guide-section {
    background-color: #fdfdfd;
    padding: 2rem 0;
    min-height: calc(100vh - var(--navbar-offset));
    color: #333;
}

.bg-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10vw;
    /* Consistent site padding */
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2.0rem, 5.0vw, 5.0rem);
    align-items: start;
}

/* Tabs Sidebar */
.bg-tabs-sidebar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none;
    border-right: 2px solid #ddd;
    background: transparent;
}

.bg-tab-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    position: relative;
}

.bg-tab-item.active {
    background: transparent;
}

/* Square Box Indicator */
.bg-tab-item.active::after {
    content: '';
    position: absolute;
    right: -6px;
    /* Centers the 10px box on the 2px border */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #222;
    /* Dark sleek color instead of pink */
    z-index: 2;
}

.bg-tab-item:hover:not(.active) {
    background: transparent;
}

.bg-tab-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-align: right;
}

.bg-tab-item.active .bg-tab-title {
    color: #222;
    /* Dark sleek color instead of pink */
    font-weight: 600;
}

.bg-tab-item:hover .bg-tab-title {
    color: #222;
}

/* Content Area */
.bg-content-area {
    min-height: 600px;
}

.bg-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.bg-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EMI Calculator Styles */
.emi-calculator-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #eaeaea;
    background: #fff;
    margin-top: 1rem;
}

.emi-input-section {
    padding: 3.5rem;
    border-right: 1px solid #eaeaea;
}

.emi-result-section {
    padding: 3.5rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

.emi-section-title {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.emi-sliders {
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 3.0vw, 3.0rem);
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: clamp(1.0rem, 1.2vw, 1.2rem);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label {
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-value {
    font-family: "Outfit", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: transparent;
    position: relative;
    z-index: 2;
    margin: 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 6px;
    border-radius: 0;
    background: #B4975A;
    cursor: pointer;
    margin-top: -9px;
    position: relative;
    z-index: 3;
    transition: transform 0.2s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #e0e0e0;
    position: relative;
    z-index: 1;
}

.range-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 20px;
}

.slider-track-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 2px;
    background: #B4975A;
    pointer-events: none;
    z-index: 1;
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.5rem;
    font-family: "Outfit", sans-serif;
}

/* Results Display */
.emi-main-result {
    margin-bottom: 3rem;
}

.res-huge {
    font-family: "Outfit", sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #B4975A;
    margin-top: 0.5rem;
    line-height: 1.1;
}

.emi-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.0rem, 2.0vw, 2.0rem);
    margin-top: auto;
}

.breakdown-item.full-width {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.bd-label {
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.bd-value {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #555;
}

.bd-value.highlight {
    color: #B4975A;
    font-weight: 400;
    font-size: 1.8rem;
}

/* Accordion Styles */
.nri-accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: -1px;
}

.accordion-header {
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #fafafa;
}

.accordion-header.active {
    color: #D8495A;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
    color: #555;
    line-height: 1.6;
}

.accordion-content ul li {
    margin-bottom: 0.5rem;
}





.auto-style-8354e9 {
    text-decoration: none;
}

.auto-style-c73f85 {
    border-color: rgba(255, 255, 255, 0.3);
}

.auto-style-8144fa {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100%;
}

.auto-style-520d70 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auto-style-257995 {
    margin-bottom: 2rem;
}

.auto-style-93b8ea {
    display: none;
}

.auto-style-2cbf9d {
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    color: #333;
    font-size: 1.15rem;
}

.auto-style-652f04 {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.auto-style-44b78d {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #555;
}

.auto-style-a3a46e {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.auto-style-09cbfd {
    margin-bottom: 1rem;
}

.auto-style-63adda {
    margin-bottom: 0.5rem;
}

.auto-style-95ba54 {
    padding-left: 1.5rem;
}

.auto-style-65306d {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #555;
}

.auto-style-169586 {
    overflow-x: auto;
    margin-bottom: 0.5rem;
}

.auto-style-a6264a {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    border: 1px solid #eee;
}

.auto-style-4c324b {
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.auto-style-1393f6 {
    padding: 1rem;
    font-family: 'Outfit', sans-serif;
    color: #333;
    font-weight: 500;
}

.auto-style-929375 {
    border-bottom: 1px solid #eee;
}

.auto-style-a9c055 {
    padding: 1rem;
    color: #555;
}

.auto-style-d07431 {
    font-size: 0.85rem;
    color: #888;
    text-align: right;
    margin-bottom: 1rem;
    font-style: italic;
}

.auto-style-c884c8 {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.auto-style-db1172 {
    font-weight: 600;
}

@media screen and (max-width: 1799px) {
    .bg-tab-item {
        padding: 1.1rem 2rem;
    }

    .emi-input-section {
        padding: 30px;
    }

    .emi-section-title {
        margin-bottom: 30px;
    }

    .emi-sliders {
        gap: clamp(1.2rem, 3.0vw, 1.6rem);
    }

    .emi-result-section {
        padding: 30px;
    }

    .res-huge {
        font-size: 2.3rem;
    }

    .emi-main-result {
        margin-bottom: 30px !important;
    }
}

@media screen and (max-width: 1599px) {
    .buyers-guide-section .bg-container {
        padding: 0 3vw;
    }
}

@media screen and (max-width: 1408px) {
    .buyers-guide-section .bg-container {
        grid-template-columns: 240px 1fr;
    }

    .res-huge {
        font-size: 2rem;
    }
}

@media screen and (max-width: 1216px) {
    .emi-input-section {
        padding: 1.1rem;
    }

    .slider-value {
        font-size: 16px;
    }

    .emi-result-section {
        padding: 30px;
    }
}

@media screen and (max-width: 575px) {
    .buyers-guide-section .bg-container {
        display: block;
    }

    div#res-total,
    .res-huge {
        font-size: 24px !important;
    }

    .bg-tab-pane,
    .bg-tab-pane p,
    .tax-intro,
    .accordion-content ul li,
    .auto-style-652f04 {
        font-size: 15px !important;
    }

    td.auto-style-a9c055 {
        padding: 10px !important;
        font-size: 14px !important;
    }

    .breakdown-item.full-width {
        padding-top: 20px;
    }

    .bd-value {
        font-size: 20px;
    }

    .accordion-header {
        font-size: 16px;
        padding: 14px;
    }

    .emi-main-result {
        margin-bottom: 2rem;
    }

}