/* RNOR Calculator Specific Styles - Exact Copy from Home Loan Calculator */




@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');



body, html {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


main#primary,
.e-con,
.ineer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-content {
    display: flex;
    flex-direction: column;
}

.site-main-header {
    margin-top: -110px;
    text-align: center;
    background-image: url('../../assets/images/calc-Hero section.png');
    background-color: #cccccc;
    /* Used if the image is unavailable */
    height: 350px;
    /* You must set a specified height */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
    /* Resize the background image to cover the entire container */
    padding: 90px 50px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    overflow: hidden;
}

.width-60 {
    max-width: 60%;
    margin: 0 auto;
}

/* Mobile Responsive Styles for site-main-header */
@media (max-width: 1200px) {
    .site-main-header {
        height: 320px;
        padding: 80px 40px;
        margin-top: -100px;
    }
    
    .width-60 {
        max-width: 70%;
    }
}

@media (max-width: 992px) {
    .site-main-header {
        height: 300px;
        padding: 70px 30px;
        margin-top: -90px;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }
    
    .width-60 {
        max-width: 80%;
    }
}



@media screen and (min-width: 768px) and (max-width: 992px) and (orientation: portrait) {
.site-main-header {
        margin-top: 0px !important;
        height: 400px !important;
        padding: 180px 18px 40px 18px !important;
        text-align: center !important;
    
    }

    
}

@media (max-width: 768px) {
.width-60 {
max-width: 100%;
margin: 0 auto;
}
h1.ccheading {
  font-size: 30px;
}

.site-main-header {
/* margin-top: 50px !important; */
height: 400px !important;
padding: 225px 18px 40px 18px !important;
text-align: center !important;
}

    
    .site-main-header h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .site-main-header p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    
}


@media (max-width: 480px) {
    .site-main-header {
        height: 250px;
        padding: 50px 15px;
        /* margin-top: -70px; */
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    
    .width-60 {
        max-width: 95%;
    }
    
    .site-main-header h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    .site-main-header p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 360px) {
    .site-main-header {
        height: 220px;
        padding: 40px 10px;
        margin-top: -60px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    
    .width-60 {
        max-width: 100%;
    }
    
    .site-main-header h1 {
        font-size: 22px !important;
        line-height: 1.1 !important;
    }
    
    .site-main-header p {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .site-main-header {
        height: 200px;
        padding: 40px 20px;
    }
    
    .site-main-header h1 {
        font-size: 26px !important;
    }
    
    .site-main-header p {
        font-size: 15px !important;
    }
}

.caveat-green {
    font-family: "Caveat", cursive;
    font-style: normal;
    color: #008B69;
}

.caveat-regular {
    font-family: "Caveat", cursive;
    font-style: normal;
}

.fw-blod {
    font-weight: bold;
}


/* Override WordPress default styles for calculator */
.calculator-rnor-container * {
    box-sizing: border-box;
}

/* Removed conflicting main-container definition - now using grid layout */

.calculator-container {
    background: #fff;
    border-radius: 18px;
    padding: 40px 48px 44px 48px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 6%);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calculator-title {
    font-size: 24px;
    font-weight: 600;
    color: #0b3924;
    margin-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: #0b3924;
    margin-bottom: 10px;
    display: inline-block;
    text-align: left;
}

/* Dropdown Styles - Matching Home Loan Calculator */
.dropdown-container {
    width: 150px;
    float: right;
    position: relative;
}

.custom-dropdown {
    background: #ffffff;
    border: 2px solid #05563e;
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #0b3924;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2305563e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    box-shadow: none;
}

.custom-dropdown:focus {
    outline: none;
    border-color: #05563e;
    box-shadow: 0 0 0 3px rgba(5, 86, 62, 0.1);
}

.custom-dropdown:hover {
    border-color: #084c34;
}

/* Slider Styles - Matching Home Loan Calculator */
.slider-container {
    position: relative;
    margin-bottom: 20px;
    margin-top: 15px;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 16px;
    background: #dee3e7;
    outline: none;
    cursor: pointer;
    box-shadow: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #05563e;
    cursor: pointer;
    border: 2.5px solid white;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.25);
    margin-top: -5px;
    position: relative;
    z-index: 2;
    transition: background 0.2s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    background: #084c34;
}

.custom-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #05563e;
    cursor: pointer;
    border: 2.5px solid white;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.25);
    transition: background 0.2s ease;
}

.custom-slider::-moz-range-thumb:hover {
    background: #084c34;
}

.slider-track-fill {
    position: absolute;
    height: 6px;
    background: #0b3924;
    border-radius: 16px;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateY(-50%);
    margin-top: 3px;
}

.value-input-container {
    position: absolute;
    top: 0;
    right: 0;
}

.value-input {
    background: #ffffff;
    border: 1px solid green;
    border-radius: 9px;
    padding: 7px 28px 7px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #107346;
    width: 160px;
    text-align: left;
    float: right;
    cursor: default;
    user-select: none;
}

.value-input:focus {
    outline: none;
    border-color: #0b3924;
    background: #f0f3f3;
}

.unit-label {
    position: absolute;
    right: 1px;
    top: 1px;
    font-weight: 400;
    font-size: 14px;
    color: #6a776f;
    user-select: none;
    pointer-events: none;
    float: right;
    background: #f1f1f1;
    padding: 7px 0px 0px 6px;
    width: 47px;
    height: 38px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Check Status Button - Matching Home Loan Calculator */
.check-status-btn {
    background-color: #05563e;
    color: #F1E97F;
    border: none;
    border-radius: 18px;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    user-select: none;
    letter-spacing: 0.04em;
}

.check-status-btn:hover {
    background-color: #084c34;
}

.arrow-icon {
    font-weight: 900;
    font-size: 22px;
    transform: rotate(-40deg);
    transition: transform 0.3s ease;
    display: inline-block;
}

.check-status-btn:hover .arrow-icon {
    transform: rotate(-40deg) translateX(8px);
}

/* Sidebar Styles - Grid layout handles sizing automatically */
.sidebar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 6%);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: fit-content;
    position: relative;
}

/* Result Image Display - Matching Home Loan Calculator */
.result-image {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



body .status-badge {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: none !important;
    /* margin-bottom: 15px !important; */
}

body .status-main-text {
    font-size: 32px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #F1E97F !important;
}

body .status-sub-text {
    font-size: 16px !important;
    opacity: 0.9 !important;
}

/* Status Explanation */
body .status-explanation {
    background: #f2f9f7 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    /* border-left: 4px solid #008B69 !important; */
}

body .status-explanation p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #374151 !important;
}

/* Accordion Styles - Matching Home Loan Calculator */
body .accordion-section {
    padding: 20px !important;
}

body .accordion-item {
    margin-bottom: 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body .accordion-header {
    background: #f8f9fa !important;
    padding: 12px 15px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
}

body .accordion-header:hover {
    background: #f3f4f6 !important;
}

body .accordion-item.active .accordion-header {
    /* background: #ecfdf5 !important; */
    color: #008B69 !important;
}

.chevron-icon {
    transition: transform 0.2s;
    font-size: 12px;
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 15px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

.benefit-item,
.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.benefit-item .check-icon,
.benefit-item .wrong-icon,
.detail-item .check-icon,
.detail-item .wrong-icon {
    margin-top: 2px; /* Slight adjustment to align with text baseline */
}

.check-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 12.5L5.576 16.576C5.6885 16.6884 5.841 16.7515 6 16.7515C6.159 16.7515 6.3115 16.6884 6.424 16.576L9 14M16 7L12 11' stroke='%23008B69' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M7 12L11.576 16.576C11.6885 16.6884 11.841 16.7515 12 16.7515C12.159 16.7515 12.3115 16.6884 12.424 16.576L22 7' stroke='%230E0F0C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrong-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6L18 18M18 6L6 18' stroke='%23E05A4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.qualification-details {
    margin-top: 15px;
}

.result-confirmed {
    background: #ecfdf5;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #008B69;
    font-weight: 500;
}

/* Book Call Button - Matching Home Loan Calculator */
body .book-call-btn {
    background-color: #05563e !important;
    color: #F1E97F !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    font-size: 16px !important;
}

body .book-call-btn:hover {
    background-color: #084c34 !important;
}

h2.oneheading {
	font-family: "DM Sans",sans-serif;
	font-weight: 600;
	font-style: SemiBold;
	font-size: 24px;
	leading-trim: NONE;
	line-height: 100%;
	letter-spacing: 0%;
}

p.onepara {
	font-family: "DM Sans",sans-serif;
	font-weight: 400;
	font-style: Regular;
	font-size: 16px;
	leading-trim: NONE;
	line-height: 1.5em;
	letter-spacing: 0%;
}
/* Information Sections */
.info-sections {
    margin-top: 60px;
    max-width: 800px;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    font-size: 24px;
    font-weight: 600;
    /* color: #1f2937; */
    margin-bottom: 16px;
}

.info-section h3 {
    font-size: 20px;
    font-weight: 600;
    /* color: #1f2937; */
    margin-bottom: 12px;
}

.info-section p {
    font-size: 16px;
    line-height: 1.6;
    /* color: #4b5563; */
    margin-bottom: 16px;
}

/* WordPress Theme Override Styles - High Specificity */
body .calculator-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #0b3924 !important;
    margin-bottom: 28px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
}

body .form-group {
    margin-bottom: 28px !important;
    position: relative !important;
}

body .form-label {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #0e0f0c !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
    text-align: left !important;
}

body .slider-container {
    position: relative !important;
    margin-bottom: 20px !important;
    margin-top: 15px !important;
}

body .custom-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 6px !important;
    border-radius: 16px !important;
    background: #dee3e7 !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

body .custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #05563e !important;
    cursor: pointer !important;
    border: 2.5px solid white !important;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.25) !important;
    margin-top: -5px !important;
    position: relative !important;
    z-index: 2 !important;
    transition: background 0.2s ease !important;
}

body .custom-slider::-webkit-slider-thumb:hover {
    background: #084c34 !important;
}

body .custom-slider::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #05563e !important;
    cursor: pointer !important;
    border: 2.5px solid white !important;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.25) !important;
    transition: background 0.2s ease !important;
}

body .custom-slider::-moz-range-thumb:hover {
    background: #084c34 !important;
}


body .slider-track-fill {
    position: absolute !important;
    height: 6px !important;
    background: #008b69 !important;
    border-radius: 16px !important;
    top: 12px !important;
    left: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

body .value-input {
    background: #ffffff !important;
    border: 1px solid #008b69 !important;
    border-radius: 9px !important;
    padding: 7px 28px 7px 18px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #008b69 !important;
    width: 160px !important;
    text-align: left !important;
    float: right !important;
    cursor: default !important;
    user-select: none !important;
}

body .value-input:focus {
    outline: none !important;
    border-color: #0b3924 !important;
    background: #f0f3f3 !important;
}


body .unit-label {
    position: absolute !important;
    right: 1px !important;
    top: 1px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #0b6750 !important;
    user-select: none !important;
    pointer-events: none !important;
    float: right !important;
    background: rgba(11, 103, 80, 0.08) !important;
    padding: 9px 0px 0px 10px !important;
    width: 47px !important;
    height: 38px !important;
    border-bottom-right-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

body .dropdown-container {
    width: 160px !important;
    float: right !important;
    position: relative !important;
}

body .custom-dropdown {
    background: #ffffff !important;
    border: 1px solid #05563e !important;
    border-radius: 8px !important;
    padding: 7px 40px 7px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0b3924 !important;
    width: 100% !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2305563e' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    box-shadow: none !important;
}

body .custom-dropdown:focus {
    outline: none !important;
    border-color: #05563e !important;
    box-shadow: 0 0 0 3px rgba(5, 86, 62, 0.1) !important;
}

body .custom-dropdown:hover {
    border-color: #084c34 !important;
}

body .check-status-btn {
    background-color: #0b6750 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 16px 20px !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background-color .3s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	user-select: none !important;
	letter-spacing: .04em !important;
}




body .check-status-btn:hover {
    background-color: #084c34 !important;
}

body .arrow-icon {
    font-weight: 900 !important;
    font-size: 22px !important;
    transform: rotate(-40deg) !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

body .check-status-btn:hover .arrow-icon {
    transform: rotate(-40deg) translateX(8px) !important;
}

body .value-input-container {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

body .clearfix::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Removed conflicting main-container definition - now using grid layout */

/* Grid layout handles responsive behavior automatically */

/* Grid layout handles ordering automatically */

body .sidebar,
.results-section {
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 6%) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    height: fit-content !important;
    position: relative !important;
    background: #F2F9F7 !important;
}

body .result-image {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body .result-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body .result-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(5, 86, 62, 1) 100%) !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end;
    align-items: center !important;
    text-align: center !important;
    padding: 20px !important;
}

body .status-main-text {
    font-size: 42px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #F1E97F !important;
}

body .status-sub-text {
    font-size: 16px !important;
    opacity: 0.9 !important;
}

body .accordion-section {
    padding: 20px !important;
}

body .accordion-item {
    margin-bottom: 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body .accordion-header {
    background: #f8f9fa !important;
    padding: 12px 15px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: flex-start !important; /* Align items to the left */
    align-items: center !important;
    gap: 0px; /* Space between icon and title */
    position: relative !important;
}

body .accordion-header .chevron-icon {
    margin-left: auto; /* Push arrow to the right */
}

/* Add green checkmark icon on the left */
body .accordion-header::before {
    content: '' !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath fill='%2305563e' d='M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1S1 5.925 1 12s4.925 11 11 11M7.5 10.586l3 3l6-6L17.914 9L10.5 16.414L6.086 12z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

/* Replace chevron with up arrow */
body .accordion-header .chevron-icon {
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.3s ease !important;
    font-size: 0 !important;
    /* Hide text content */
}

/* Rotate arrow when accordion is active */
body .accordion-item.active .accordion-header .chevron-icon {
    transform: rotate(180deg) !important;
}

body .accordion-content {
    padding: 15px !important;
    background: white !important;
    border-top: 1px solid #e2e8f0 !important;
    display: none !important;
}

body .accordion-item.active .accordion-content {
    display: block !important;
}

body .book-call-btn {
	background-color: #0b6750 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 10px 20px !important;
	cursor: pointer !important;
	width: 100% !important;
	margin-top: 15px !important;
	box-shadow: 0 2px 5px rgba(0,0,0,.1) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: "DM Sans",sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}


.p-3 {
    padding: 20px;
}

body .book-call-btn:hover {
    background-color: #084c34 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Grid layout handles responsive behavior automatically */
}

@media (max-width: 768px) {
    .calculator-rnor-container {
        padding: 10px !important;
    }

    /* Grid layout handles responsive behavior automatically */

    body .calculator-container {
        padding: 12px 8px !important;
        margin: 5px 2px !important;
        width: calc(100% - 4px) !important;
    }

    body .form-group {
        margin-bottom: 12px !important;
    }

    body .form-label {
        font-size: 16px !important;
        margin-bottom: 4px !important;
        width: 56%;
    }

    body .slider-container {
        margin-bottom: 8px !important;
        margin-top: 6px !important;
    }

    body .value-input {
        width: 140px !important;
        padding: 6px 30px 6px 8px !important;
    }

    body .unit-label {
        width: 50px !important;
        height: 36px !important;
        padding: 6px 0px 0px 4px !important;
    }

    body .dropdown-container {
        width: 140px !important;
    }

    body .custom-dropdown {
        padding: 6px 8px !important;
    }

    body .check-status-btn {
        padding: 10px 0 !important;
        margin-top: 12px !important;
    }

    body .calculator-title {
        font-size: 17px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }

    body .main-container {
        padding: 0 2px !important;
        margin: 8px auto !important;
        gap: 10px !important;
        /* Grid layout maintained for mobile */
    }

    body .accordion-section {
        padding: 12px !important;
    }

    body .result-image {
        /* height: 160px !important; */
    }

    body .status-main-text {
        font-size: 30px !important;
    }
}

/* WordPress specific adjustments */
body .entry-content .calculator-rnor-container {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

body .site-content .calculator-rnor-container .main-container {
  margin-top: 0;
}

/* Fix alignment for calculator-hl-container inside other calculator pages */
body .calculator-rnor-container .calculator-hl-container {
  margin: 0 auto !important;
  max-width: 1200px !important;
}

body .calculator-rnor-container .calculator-hl-container .main-container-2 {
  margin: 30px auto !important;
  padding: 0 20px !important;
}

/* Grid layout handles responsive behavior automatically */

@media (max-width: 480px) {
    .calculator-rnor-container {
        padding: 5px !important;
    }

    body .main-container {
        padding: 0 !important;
        margin: 5px auto !important;
        gap: 10px !important;
        /* Grid layout maintained for small mobile */
    }

    .calculator-container {
        margin: 0 !important;
        border-radius: 12px !important;
    }
}

/* Custom Modal CSS */
body #popup {
    display: none;
}

body .popup-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgb(96 95 127 / 70%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 20px;
}

body .popup {
    background-color: #ffffff;
    padding: 5px;
    width: 50%;
    max-width: 600px;
    min-height: 400px;
    max-height: 90vh;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

body .close-popup {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

body .close-popup a {
    font-size: 1.2rem;
    background-color: #04563e;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

/* Ensure close button styling wins over global link styles */
body #popup .popup .close-popup a {
    background-color: #04563e !important;
    color: #fff !important;
    padding: 5px 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    display: inline-block !important;
}

body .popup>h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

body .popup>p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

body .popup-btn {
    display: inline-block;
    text-decoration: none;
    border: 2px solid rebeccapurple;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 10px 0px;
    transition: .2s all ease-in;
}

body .popup-btn:hover {
    background-color: rebeccapurple;
    color: #fff;
}

/* Iframe styling */
body .form-iframe {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    body .popup {
        width: 90%;
        padding: 15px 20px;
    }

    body .popup>h2 {
        font-size: 1.4rem;
    }

    body .popup>p {
        font-size: 1rem;
    }
}

/* Mobile Modal Responsiveness */
@media (max-width: 768px) {
    body .popup-container {
        padding: 15px;
    }

    body .popup {
        width: 90%;
        padding: 15px 20px;
        max-height: 85vh;
    }

    body .form-iframe {
        height: 60vh;
        min-height: 350px;
    }

    body .close-popup a {
        font-size: 1.1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    body .popup-container {
        padding: 10px;
    }

    body .popup {
        width: 95%;
        padding: 15px;
        border-radius: 10px;
        max-height: 90vh;
    }

    body .form-iframe {
        height: 55vh;
        min-height: 300px;
    }

    body .close-popup a {
        font-size: 1rem;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    body .popup {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 10px;
        max-height: none;
    }

    body .popup-container {
        padding: 0;
    }

    body .form-iframe {
        height: calc(100vh - 80px);
        min-height: auto;
    }
}

/* Tablet Modal Responsiveness */
@media screen and (max-width: 1024px) {
    body .popup {
        width: 70%;
        padding: 20px 25px;
    }

    body .form-iframe {
        height: 65vh;
    }
}

/* Additional Calculator Grid Styles */
body .main-container-2 {
    display: flex !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
    gap: 30px !important;
    padding: 0 20px !important;
    flex-direction: column;
}


body .heading {
    margin-bottom: 0.5rem;
  }
  
  body .heading h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #153048;
    margin-bottom: 0;
  }
  
  body .heading .highlight {
    color: #008B69;
    /* font-style: italic; */
    font-weight: 700;
    font-family: "Caveat", cursive;
  }
  

body .calculators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

body .calculator-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body .calculator-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

body .card-icon {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

body .card-icon svg {
    width: 60px;
    height: 60px;
    color: #374151;
}

body .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

body .card-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 2rem;
}

body .calculate-btn {
    background: white;
    border: 1px solid #1d795d;
    color: #1d795d;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

body .calculate-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

body .calculate-btn::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 21px;
  margin-left: 6px; /* space after text */
  background: url("data:image/svg+xml;utf8,<svg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M6 14.2712L15 5.27124M15 5.27124V13.9112M15 5.27124H6.36' stroke='%23008B69' stroke-width='0.830769' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
  background-size: contain;
}



/* Calculator Grid Responsive */
@media (min-width: 768px) {
    body .calculators-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    body .calculators-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    body .calculators-grid[style*="--remaining-cards: 3"] {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

body .info-sections {
    margin: 50px 0;
}


/* FAQ Styles */
.faq-container {
    margin-top: 0px;
    counter-reset: faq-counter;
  }
  
  .faq-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    counter-increment: faq-counter;
  }
  
  .faq-question {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    background-color: #f2f9f7 !important; 
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #154038 !important;   /* enforce default color */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 40px; /* space for icon */
  }
  .faq-question:before {
    content: counter(faq-counter,decimal-leading-zero);
    font-weight: 600;
    color: #154038;
    margin-right: 12px;
    flex-shrink: 0;
    font-family: "DM Sans", sans-serif;
  }
  
  .faq-question:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml;utf8,<svg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23154038' d='M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'/></svg>") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
  }
  
  .faq-question.active:after {
    background: url("data:image/svg+xml;utf8,<svg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23154038' d='M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z'/></svg>") no-repeat center;
    background-size: contain;
  }
  
  
  .faq-question:hover {
    background-color: #eef2f2;
    color: #0d352e;
  }
  
  /* Remove or adjust this to avoid color sticking */
  .faq-question:active {
    background-color: #e0e8e7;
    color: #154038;  /* keep same default color */
  }
  
  .faq-question.active {
    color: #008B69;
    background-color: #e0e8e7;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f2f9f7;
    padding-left: 0;
  }
  
  .faq-answer p {
    padding: 20px 20px 20px 55px; /* Left padding to align with question text after counter */
    margin: 0;
    color: #154038;
  }
  
  .faqs {
    display: flex; /* Changed to flex to enable flexbox */
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .faq-left {
    flex: 0 0 35%;
    /* padding: 20px; */
    box-sizing: border-box;
  }
  
  .faq-right {
    flex: 0 0 65%;
    /* padding: 20px; */
    box-sizing: border-box;
  }
  
  .faq-pre-heading {
    font-size: 14px;
    font-weight: 600;
    color: #154038;
    margin-bottom: 10px;
    line-height: 21px;
  }
  .faq-heading {
    font-family: "DM Sans", sans-serif;
      font-size: 45px;
      font-weight: 700;
      line-height: 56px;
      letter-spacing: -0.006em;
      color: #154038;
  
  }
  .faq-description {
    font-size: 18px;
    font-weight: 500;
    color: #154038;
    margin-bottom: 10px;
    line-height: 27px;
  }
  
  @media (max-width: 768px) {
    .faq-question, .faq-answer p {
      font-size: 0.95rem;
    }
    
    .faq-answer p {
      padding-left: 50px; /* Slightly less padding on mobile */
    }
  
    .faq-left {
      flex: 0 0 100%;
    }
  
    .faq-right {
      flex: 0 0 100%;
    }
  
  }
  


body .main-container {
    display: grid !important;
    gap: 16px !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
  /* Mobile-first: stack in the desired order: Calc → Sidebar → Info */
    grid-template-columns: 1fr !important;
    grid-template-areas:
        "calc"
        "sidebar"
        "info" !important;
}

body .calc    { grid-area: calc; }
body .sidebar { grid-area: sidebar; }
body .info    { grid-area: info; }

@media (min-width: 992px) {
  body .main-container {
    /* Two columns: main (left) + sidebar (right) */
    grid-template-columns: 2fr 1fr !important;
    /* Layout: calculator above info on the left, sidebar spanning right */
    grid-template-areas:
      "calc    sidebar"
      "info    sidebar" !important;
    align-items: start !important;
  }
}

