:root {
    --white: #FFFFFF;
    --lime-green :#E6FFBD;
    --off-white: #FAFAFA;
    --primary-blue: #1D97F1;
    --secondary-blue: #000E2B;
    --black: #000000;
    --light-grey: #868C90;
    --light-gray: #DFE2E3;

    --glass-bg: rgba(66, 168, 243, 0.2);
}

::selection { background-color: var(--lime-green); color: var(--black); }

/* RESET CSS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, a,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	/* vertical-align: baseline; */
}

html { margin-top: 0 !important; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1;background-color: var(--off-white); }
ol, ul { list-style: none; }

/*
** Fonts
*/

@font-face {
    font-family: 'bricolage';
    src: url('../fonts/BricolageGrotesque-Regular.woff2') format('woff2'),
        url('../fonts/BricolageGrotesque-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'bricolage-md';
    src: url('../fonts/BricolageGrotesque-Medium.woff2') format('woff2'),
        url('../fonts/BricolageGrotesque-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'bricolage-sb';
    src: url('../fonts/BricolageGrotesque-SemiBold.woff2') format('woff2'),
        url('../fonts/BricolageGrotesque-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html, body { font-family: 'bricolage'; }

h1, .h1 { font-size: 84px; line-height: 94px; font-family: 'bricolage-sb'; margin-bottom: 20px; }
h2, .h2 { font-size: 64px; line-height: 74px; font-family: 'bricolage'; margin-bottom: 20px; }
h3, .h3 { font-size: 48px; line-height: 56px; font-family: 'bricolage'; margin-bottom: 20px; }
h4, .h4 { font-size: 36px; line-height: 46px; font-family: 'bricolage'; margin-bottom: 18px; }
h5, .h5 { font-size: 28px; line-height: 34px; font-family: 'bricolage'; margin-bottom: 18px; }
h6, .h6 { font-size: 22px; line-height: 30px; font-family: 'bricolage'; margin-bottom: 18px; }

.text-rg { font-family: 'bricolage'; }
.text-md { font-family: 'bricolage-md';}
.text-sb { font-family: 'bricolage-sb'; }

.text-20 { font-size: 20px; line-height: 30px; }
.text-18 { font-size: 18px; line-height: 24px; }
.text-16 { font-size: 16px; line-height: 20px; }

.text-lime-green { color: var(--lime-green); }
.text-primary-blue{ color: var(--primary-blue); }
.text-light-grey{ color: var(--light-grey); }
.text-white{ color: var(--white); }
.text-grey { color: #505456; }

.section{ padding: 150px 0; }
.section-bottom{ padding-bottom: 150px; }
.btn-padding{ padding: 20px 30px; }
.container-sm{ width: 1140px; margin: 0 auto; padding: 0 12px;}

.nav-wrapper{ display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.navbar-img-wrapper .navbar-img { width: 140px; }

.navbar-links ul{  display: flex;  gap: 70px; background: rgba(66, 168, 243, 0.2); border-radius: 100px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(20px); padding: 20px 30px; }
.navbar-links-wrapper button{ background: rgba(66, 168, 243, 0.2); border-radius: 100px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(19.1px); padding: 20px 30px;  border: none; }
.navbar-links ul li a { position: relative; text-decoration: none; color: var(--white); padding-bottom: 3px;  }
.navbar-links ul li a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0%; height: 2px; background: var(--lime-green); transition: width 0.3s ease; }
.navbar-links ul li a:hover::after { width: 100%; }
.navbar-links ul li a:hover { color: var(--lime-green); }
.navbar-links-wrapper{ display: flex; align-items: center; gap: 10px; }


.navbar-links-for-responsive {
    position: fixed;
    top: calc(50% + 80px);
    right: 10%;
    transform: translateY( 100%); /* hidden below screen */
    width: 238px !important;
    height: 306px;
    border-radius: 20px;
    background-color: rgba(0, 14, 43, 0.6);
    backdrop-filter: blur(20px); 
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s ease, opacity 0.3s ease;
    z-index: 9;
    text-decoration: none; 
    color: var(--white);
}

.navbar-links-for-responsive ul{ display: flex; flex-direction: column; gap: 20px; padding: 0; margin: 0; list-style: none; width: 100%;}
.navbar-links-for-responsive ul li a{ text-decoration: none; color: white; }
.navbar-links ul li a{ padding-bottom: 0; }

.navbar-links-for-responsive.active { transform: translateY( -20px); opacity: 1; pointer-events: auto; }
.hamburger.active{ background: var(--glass-bg); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(19.1px); border-radius: 50%; }
.bar.active{ background-color: var(--white); }
.hamburger {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    /* box-shadow: 0 4px 30px rgba(197, 0, 0, 0.1); */
    /* backdrop-filter: blur(19.1px); */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.bar { width: 22px; height: 2px;  background-color: var(--lime-green); transition: 0.3s ease; }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: var(--white); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: var(--white); }
.hamburger, .navbar-links-for-responsive{ display: none; } 

.footer-wrapper{ background-color: var(--secondary-blue); }
.footer-cta-main{ padding: 80px 0; color: var(--white); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(85, 85, 85, 0.1);}
.footer-cta-text{ width: 1200px; }
.cta-arrow{ width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background-color: var(--lime-green); }
.footer-cta-button{ display: flex; align-items: center; gap: 20px; background: rgba(255, 255, 255, 0.11); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(19.1px); padding: 10px 20px; border-radius: 100px; }

.footer-links-main { padding-bottom: 80px; padding-top: 0 !important; display: flex; align-items: start; justify-content: space-between; }
.footer-logo-wrapper{ display: flex; flex-direction: column; gap: 20px; width: 380px; }
.footer-logo-text{ width: 378px; color: var(--white); opacity: 35%; }
.footer-logo-wrapper span{ font-size: 25px; color: #DAD7E2; }
.footer-links-wrapper{ display: flex; align-items: start; gap: 115px; }
.footer-quick-links { width: 110px; }
.footer-product-links { width: 191px; }
.footer-solution-links { width: 90px; }
.footer-contact-links { width: 280px; }
.footer-address{ width: 280px; color: var(--white); opacity: 35%; }

.footer-links ul li a{ text-decoration: none; color: var(--white); opacity: 35%; }
.footer-contact-links{ display: flex; flex-direction: column;  }
.footer-contact-links a{ text-decoration: none; color: var(--white); opacity: 35%; padding-top: 14px;  }
.footer-links ul li{ padding-top: 14px; }
.footer-cnct-heading{ padding-bottom: 20px; }
.footer-links-heading{ padding-bottom: 10px; }
.footer-links-wrapper a:hover{ color: var(--lime-green); opacity: 100%; }
.footer-copyright{ display: flex; justify-content: space-between; padding-top: 30px; padding-bottom: 40px; border-top: 1px solid rgba(85, 85, 85, 0.1); margin-top: 78px;}
.footer-copyright p{ color: var(--white); opacity: 35%; }
.footer-copy-right-policies{ display: flex; gap: 20px; }
.footer-copy-right-policies a{ text-decoration: none; color: var(--white); opacity: 35%; }


/* CSS BY ANIKET */

.header-container { width: 100%; position: fixed; top: 0; z-index: 99; transition: transform 0.3s ease-in-out; transform: translateY(0); }
.header-container.hide-header { transform: translateY(-100%); }
.nav-wrapper { transition: all 1s ease-in-out; }
.nav-wrapper.header-scrolled { padding: 10px 0; }
.footer-container { background-color: #000E2B; }
.contact-faq { overflow: hidden; }

.footer-cta-button p { color: var(--lime-green); font-family: 'bricolage-md'; }
.rpd-branding a { color: #ED0180; opacity: 1; }
.we-are-rarepixels { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.we-are-rarepixels span { display: block; }


.contact-body{ background-color: var(--white) !important; }
.header-main { background-color: rgba(0, 14, 43, 0.6); backdrop-filter: blur(20px); }

.navbar-links ul, .navbar-links-wrapper button { backdrop-filter: none; box-shadow: none; background: rgba(0, 0, 0, 0); }
.nav-wrapper.header-scrolled .navbar-links ul, 
.nav-wrapper.header-scrolled .navbar-links-wrapper button, 
.hamburger, .hamburger.active,
.nav-wrapper.header-scrolled .hamburger
{backdrop-filter: none;  background: rgba(0, 0, 0, 0);}


.calc-headings { margin-top: 180px; }
.calc-headings .h2 { color: var(--black); }
.calc-form { margin-top: 120px !important; margin-bottom: 40px; }
.calc-main-wrapper { display: flex; justify-content: center; }

.calc-form-fields { width: 100%; }
.calc-calculations-part { width: 650px; border-left: 1px solid #EFF0F1; background-color: var(--white); }
.calc-button-group { justify-content: end; }
.custom-tab.btn-transprerant { background-color: transparent !important; border: 1px solid var(--black) !important; color: var(--black) !important; }

.hidden-file-input { display: none; }
.date-picker { padding: 10px 20px; border: 1px solid var(--light-grey); }
/* .common-fields { padding-top: 30px; } */
.common-fields span { display: inline-block; margin-bottom: 10px; color: var(--light-grey); }
.measure-btn-grp { display: flex; align-items: center; gap: 6px; width: max-content; background-color: var(--white); border: 1px solid var(--light-gray); border-radius: 40px !important; }
.calc-measure-btn { padding: 10px 12px; border: none; border-radius: 10px; color: var(--light-grey); }
.calc-measure-btn.calc-measure-btn-active { background-color: var(--primary-blue); color: var(--white); }

.common-fields-wrapper, .heating-mode-fields, .economizer-mode-fields { display: flex; gap: 18px; flex-wrap: wrap; }
.calc-half-width { width: 250px; }
.calc-quarter-width { width: 250px; padding-top: 10px; }
.common-fields-wrapper input, .heating-mode-fields input, .economizer-mode-fields input { display: block; width: 100%; border: none; padding: 10px; border: 1px solid var(--light-gray); }
.calc-half-width span sup, .calc-quarter-width span sup { color: red; display: inline-block; padding-left: 5px; }

.common-fields-wrapper select { width: 100%; border: 1px solid var(--light-gray); }
.duct-select { padding: 10px; }
.calc-duct-size { display: block; padding-top: 10px;  }
.d-size-input { width: 140px !important; border-radius: 10px; }
.calc-duct-size p { display: flex; align-items: center; gap: 12px; }
.x-spacer { margin-bottom: 0 !important; color: black !important; }

.calc-calculations-part { padding: 60px 40px 40px 40px; }
.calcu-data-headings { margin-top: 20px; }
.heating-mode-calculations { margin-top: 50px; }
.economizer-mode-calculations { margin-top: 20px; }
.calc-hr { width: 100%; height: 1px; margin: 60px 0; background-color: #EFF0F1; }
.calcu-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.calculation-field-open-btn { text-align: left; width: 300px; border: none; padding: 15px; background-color: var(--primary-blue); color: var(--white); position: relative; }
.calculation-field-open-btn img { position: absolute; top: 50%; right: 40px; transform: translateY(-50%); }


.heating-mode-fields, .economizer-mode-fields { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; }

/* When dropdown is open */
.heating-mode-fields.active, .economizer-mode-fields.active { max-height: 1000px; opacity: 1; }

.calculation-field-open-btn img { transition: transform 0.3s ease; }
.calculation-field-open-btn.active img { transform: translateY(-50%) rotate(180deg); }
.heating-mode-btns { display: flex; flex-wrap: wrap; gap: 20px; }
.common-fields-wrapper .add-zone { display: flex; flex-wrap: wrap; gap: 10px; }
.add-new-zone { border: none; background-color: transparent; color: var(--primary-blue); }
.unit-measure-date { display: flex; flex-direction: row-reverse; align-items: end; justify-content: space-between; }

.for-tablet, .for-mobile { display: none; }
.linkedin-social-link { color: rgba(255, 255, 255, 0.5); }

.back-to-top { margin-top: 20px; display: flex; align-items: center; justify-content: end; }
.back-to-top a { color: var(--primary-blue); display: flex; align-items: center; gap: 10px; }

.footer-cta-text .text-lime-green { margin-left: 0; }
.footer-copyright-rpd-logo{ object-fit: cover; }

.table>thead { vertical-align: top; }
.check-to-active { display: flex !important; gap: 10px; }
.check-to-active input { display: inline-block !important; width: auto !important; }

.btn.btn-white.btn-zone { width: 100px; height: 40px; background-color: var(--primary-blue); color: var(--white); padding: 0; border-radius: 30px; }
#add_zone { background-color: transparent !important; color: var(--primary-blue) !important; width: max-content !important; padding: 1px 6px; }

/* Hide legacy unit radios but keep them clickable */
.legacy-unit-radio { position: absolute; left: -9999px; opacity: 0; pointer-events: auto; }
.heating-af-form, .economizer-af-form { width: 100%; display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin-top: 20px; }

.calc-checkbox-bg { background-color: #EFF0F1 !important; }
.calc-not-checkbox-bg { background-color: #D2D2D2 !important; }
.input-error { border: 1px solid red !important; background-color: #EFF0F1 !important; }
.calc-error-msg { color: red; display: flex; align-items: center; }

.humidifier-calcu-load-class { font-size: 20px; line-height: 28px; margin-bottom: 0px; font-size: 24px; line-height: 34px; color: var(--white); }

/* INLINE RESULTS PANEL CSS (replaces modal) */
.inline-results-box { border-radius: 20px; width: 100%; padding: 20px; border: 1px solid var(--light-gray); overflow-x: auto; margin-bottom: 60px; }

.ramp-table-title { text-align: center; text-transform: none; letter-spacing: normal; color: var(--primary-blue); }
.ramp-table:not(:last-child) { margin-bottom: 50px; }
.ramp-table { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: right; table-layout: fixed; width: 100%; }
.ramp-table tr td:last-child { display: none !important; }
.ramp-table th { background-color: var(--primary-blue) !important; color: var(--white); }
.ramp-table th, .ramp-table td { text-align: center; width: 120px !important; }
.header-main.modal-header { border-radius: 10px; justify-content: center; padding: 10px; margin-bottom: 30px; }
.ramp-table-title + p { font-size: 16px; font-weight: bold; }

.print-pdf-bottom-data { margin-top: 20px; }
.print-pdf-bottom-data p span { font-weight: bold; }
.print-disclaimer { font-style: italic; }
.print-pdf-bottom-data p { line-height: 1.4; }
.modal-print-submital-wrapper { display: flex; align-items: center; justify-content: end; gap: 20px; }



/* UPDATED CALCULATOR UI */

.calc-heading-row h1 a { color: var(--primary-blue); }
.calc-row-01 { width: 100%; display: flex; align-items: end; gap: 20px; }
.calc-row-02 { width: 100%; display: flex; gap: 20px; align-items: end; }
.calc-row-03 { width: 100% !important; padding-top: 20px; }
.calc-row-04 { width: 100% !important; display: flex; align-items: end; gap: 20px; }

.mycalc-input-grp-1 { width: 100%; display: flex; justify-content: space-between; padding: 20px; border: 1px solid var(--light-gray); border-radius: 20px; }
.mycalc-input-grp-2, .mycalc-input-grp-3, .mycalc-input-grp-4  { width: 100%; padding: 20px; border: 1px solid var(--light-gray); border-radius: 20px; }
.project-zone-wrapper { display: flex; align-items: end; gap: 20px; }
.calc-meas-unit-zones { width: 100%; display: flex; gap: 60px; }
.calc-zone-inputs { display: flex; align-items: end; gap: 20px; }
.zone-txt-input { width: 200px; }
.general-inputs { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.mycalc-input-grp-3 p, .mycalc-input-grp-4 p { margin-bottom: 0; color: var(--primary-blue); }
.col-lg-2, .col-lg-3 { width: auto; }
/* .heating-mode-btns.economizer-mode-btns { margin-left: 1050px; } */
.model-load-suggest { display: flex; justify-content: center; align-items: center; gap: 80px; background-color: #57667D; border-radius: 20px; padding: 20px; margin-bottom: 30px; }



.calculated-items-modal h5 { color: var(--primary-blue); font-weight: bold; text-align: center; }
.model-load-suggest-trial { display: flex; flex-direction: column; gap: 30px; align-items: center; justify-content: space-between; }
.modal-brand-image { padding: 14px; background-color: #57667D; width: max-content; }
table.calculated-items { display: flex; align-items: center; justify-content: center; }
.calculated-items tr th { width: 400px; padding: 10px 16px; background-color: var(--primary-blue); color: var(--white); border: 1px solid var(--light-gray); text-align: center; }
.calculated-items tr td { width: 400px; padding: 10px 16px; border: 1px solid var(--light-gray); text-align: center; }
#toggle-calc-results { accent-color: var(--primary-blue); }
.ramp-radio-cell > * { accent-color: var(--primary-blue) !important; }

.measure-btn-grp button { font-size: 16px; line-height: 16px; background-color: transparent; }
.calc-quarter-width span { font-size: 16px; }
.heating-mode-btns .custom-tab.btn-transprerant { border: 1px solid var(--light-grey) !important; color: #242526 !important; }
.common-fields span > span { margin-bottom: 0; }
#imperial-btn.calc-measure-btn.calc-measure-btn-active { border-radius: 30px 0 0 30px; }
#metric-btn.calc-measure-btn.calc-measure-btn-active { border-radius: 0 30px 30px 0; }
.calculated-items-modal th { background-color: var(--primary-blue); color: var(--white); }
.calculated-items-modal td { font-weight: bold; }
.calculated-items-modal th, .calculated-items-modal td { width: 320px; text-align: center; border: 1px solid var(--light-gray); padding: 10px 16px; }

.submital-head .h4, .submital-head .h5, .submital-head .h6 { margin-bottom: 8px; text-align: center; color: var(--primary-blue); }
.submital-title { color: var(--primary-blue); margin-bottom: 0; }
.submital-head.model-load-suggest-trial { gap: 20px; }
.submit-project-info { display: flex; gap: 20px; align-items: center; justify-content: center; }
.general-table-info th, .general-table-info td { width: 125px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.designed-condition th, .designed-condition td { width: 110px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.hvac-system-info th, .hvac-system-info td { width: 95px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.humidification-load th, .humidification-load td { width: 200px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.air-conditions th, .air-conditions td { width: 110px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.selected-srs-model th, .selected-srs-model td { width: 95px; text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.simple-sr-table th, .simple-sr-table td { width: calc(100% / 6); text-align: center; border: 1px solid var(--light-gray); padding: 6px; }
.multi-sr-table th, .multi-sr-table td { width: calc(100% / 10); text-align: center; border: 1px solid var(--light-gray); padding: 6px; }

.general-table-info th, .designed-condition th, .hvac-system-info th, .humidification-load th, .air-conditions th, .selected-srs-model th, .simple-sr-table th, .multi-sr-table th{ background-color: var(--primary-blue); color: var(--white); }

.calculated-items { margin-bottom: 20px; }