:root {
    --r-main-color: #0969c4;
}


body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.maincontent {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.maincontent_wrapper {
    padding-top: 0;
}

.myButton {
    box-shadow: 0px 0px 0px 2px #9fb4f2;
    background: linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    background-color: #7892c2;
    border-radius: 10px;
    border: 1px solid #4e6096;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 19px;
    padding: 12px 37px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #283966;
}

.myButton:hover {
    background: linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
    background-color: #476e9e;
}

.myButton:active {
    position: relative;
    top: 1px;
}

.r-site-button {
    position: relative;
    display: block;
    font-size: .85em;
    font-weight: 500;
    letter-spacing: .05em;
    max-width: fit-content;
    width: 100%;
    text-align: center;
    margin-block: 25px auto;
    padding: 8px 12px;
    text-decoration: none;
    background-color: var(--r-main-color);
    color: #ffffff;
    border: 2px solid var(--r-main-color);
    border-radius: 3px;
    z-index: 0;
    overflow: hidden;
    transition: all .3s;
    height: fit-content;
}

.r-alt-button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--r-main-color);
}

.r-site-button a {
    color: #fff;
}

.r-centered-button {
    margin-inline: auto;
}

/* .site-button-white {
color: var(--primary-color);
background: #fff;
} */

.r-site-button:hover,
.r-site-button:focus,
.r-site-button:active {
    color: #fff;
    opacity: .8;
    text-decoration: none;

}


h1 {
    font-size: 52px;
    font-family: 'Poppins', sans-serif;
}

h2 {
    font-size: 2.3rem;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

p,
a {
    font-family: 'Poppins', sans-serif;
    line-height: 1.4rem;
    letter-spacing: .09rem;
}

a {
    font-weight: 400;
}

.title {
    color: #434E6E;
}

.subtitle {
    font-weight: 100;
}

.highlight {
    color: #E3CCA1;
    position: relative;
}


.highlightY {
    color: #E3CCA1;
}

.highlightB {
    color: #434E6E;
}

.ital {
    font-style: italic;
}

.thin {
    font-weight: 200;
}

.small {
    font-size: .9rem;
    line-height: 1.1rem;
    letter-spacing: .1rem;
}

.thick {
    font-weight: 700;
}

.btn-dark {
    display: inline-block;
    margin-top: 30px;
    padding: 13px 18px;
    border: 1px solid #FFF6E6;
    color: #FFF6E6;
    transition: .3s;
}

.btn-dark:hover {
    background: #FFF6E6;
    color: #434E6E;
    transition: .3s;
    text-decoration: none;
}

img {
    width: 100%;
}

.slider__item.active {
    /* transition: all 1s!important; */
    animation: active 1s;
}

@keyframes active {
    from {
        transform: scale(0) translateY(-500px);
    }
}



.r-content-wrapper {
    max-width: 1800px;
    width: 98%;
    margin-inline: auto;
}

.r-section-padding {
    padding: 60px 20px;
}

.r-main-wrapper {
    display: flex;
    flex-flow: row;
    padding: 35px 10px;
}

.r-reverse-wrapper {
    flex-wrap: wrap-reverse;
}

.r-main-left,
.r-main-right {
    width: 50%;
    margin-inline: auto;
    position: relative;
}


.r-h2-heading {
    position: relative;
    text-align: center;
}


/**** New Stlyes ****/

#home-hero {
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56) 25%, rgba(0, 0, 0, 0.64) 100%), url(/imageserver/Reusable/siding2020/siding-hero001.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 200px 30px;
}

.r-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.r-hero-para.r-fade-in.delayed {
	max-width: 80ch;
	text-align: center;
	margin-top: 20px;
}



/* make keyframes that tell the start state and the end state of our object */


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.r-fade-in {
    opacity: 0;
    /* make things invisible upon start */
    animation: fadeIn ease-in 1;
    animation-fill-mode: forwards;
    animation-duration: 1.4s;
}

.r-fade-in.delayed {
    animation-delay: 1.4s;
}



/* Marvin Intro Section */
.r-intro-section {
    background: url('/imageserver/Reusable/r-windows21/texture5.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.r-intro-list {
    margin-top: 35px;
}

.r-intro-item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.r-intro-icon svg {
    width: 30px;
    height: 30px;
}

.r-intro-icon svg path {
    fill: #4d5775;
}

.r-underline-sm {
	height: 2px;
	width: 85px;
	background: var(--r-main-color);
	margin-block: -17px 10px;
}

/* Products Section */

.r-siding-container {
	max-width: 1800px;
	margin-inline: auto;
}

.r-products-cards-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 15px;
    justify-content: center;
    margin-top: -100px;
}


.r-product-card {
    max-width: 600px;
    width: 31.333%;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.r-product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.r-product-logo {
    background: #fff;
    width: fit-content;
    padding: 1% 2%;
    margin: 5px auto;
    border-radius: 50%;
    border: 2px solid var(--r-main-color);
}

.r-product-logo svg {
    height: 40px;
    width: 40px;
    fill: var(--r-main-color);
}



/* ====== Base / layout ====== */
.siding-section {
    padding: 56px 20px;
    background: #fff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.siding-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.siding-section h2 {
    text-align: center;
    margin: 0 0 22px;
    color: #1f2937;
    font-size: 2rem;
}

/* Desktop two-column layout */
.layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

/* Side nav (desktop) */
.side-nav {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    padding: 10px 12px;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #e6ebf0;
    background: #f7f9fb;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-item:hover {
    background: #eef6ff;
    border-color: #d6e9ff;
    color: #007acc;
}

.nav-item.active {
    background: #007acc;
    color: #fff;
    border-color: #007acc;
    box-shadow: 0 6px 18px rgba(0, 122, 204, .25);
}

/* Content panes */
.content {
    background: #fafafa;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    padding: 20px;
    min-height: 320px;
}

.pane {
    display: none;
    opacity: 0;
    transform: translateY(6px);
}

.pane.active {
    display: block;
    animation: fadeUp .28s ease forwards;
}

.pane h3 {
    margin-top: 0;
    color: #1f2937;
}

.pane p,
.pane ul {
    color: #4b5563;
}

.pane ul {
    margin: 10px 0 0 18px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile dropdown */
.mobile-nav {
    display: none;
    margin-bottom: 12px;
}

.siding-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e6ea;
    background: #f3f5f7;
    font-weight: 600;
    color: #1f2937;
}


/* Contact Us Section */
.r-contact-section {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 30%, #00000082 100%), url(/imageserver/Reusable/siding2020/sidingBG.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% center;
    color: #fff;
    padding-block: 135px;
    text-align: center;
}

.r-contact-section p {
    max-width: 80ch;
    margin: 30px auto;
}

.r-contact-section .r-site-button {
    margin-inline: auto;
}

/* Gallery Section*/
.siding-gallery {
    padding: 56px 20px;
    background: #fff;
}

.siding-gallery .gal-container {
    max-width: 1200px;
    margin: 0 auto;
}

.siding-gallery h2 {
    text-align: center;
    margin: 0 0 22px;
    color: #1f2937;
    font-size: 2rem;
}

/* Tabs (desktop) */
.gal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.gal-tab {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e6ebf0;
    background: #f7f9fb;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.gal-tab:hover {
    background: #eef6ff;
    border-color: #d6e9ff;
    color: #007acc;
    transform: translateY(-1px);
}

.gal-tab.active {
    background: #007acc;
    color: #fff;
    border-color: #007acc;
    box-shadow: 0 6px 18px rgba(0, 122, 204, .25);
}

/* Mobile dropdown */
.gal-mobile-nav {
    display: none;
    margin-bottom: 12px;
}

.gal-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e6ea;
    background: #f3f5f7;
    font-weight: 600;
    color: #1f2937;
}

/* Panes */
.gal-panes {
    position: relative;
}

.gal-pane {
    display: none;
    opacity: 0;
    transform: translateY(6px);
}

.gal-pane.active {
    display: block;
    animation: fadeUp .28s ease forwards;
}

.pane .r-main-wrapper {
    gap: 30px;
}

.pane img {
    max-width: 500px;
    margin-inline: auto;
    box-shadow: 0px 2px 5px 2px #00000021;
}

.pane-list-item {
    display: flex;
}

.pane-list-icon {
    margin-right: 8px;
}

.pane-list-icon svg {
    fill: var(--r-main-color);
    width: 30px;
    height: 30px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.g-item {
    margin: 0;
}

.g-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    border: 1px solid #e6ebf0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.g-item img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* Lightbox */
.gal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.gal-lightbox.open {
    display: block;
}

.glb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    opacity: 0;
    transition: opacity .18s ease;
}

.gal-lightbox.open .glb-backdrop {
    opacity: 1;
}

.glb-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 10px)) scale(.98);
    width: min(1000px, 94vw);
    height: min(84vh, 800px);
    background: #0b0b0b;
    border: 1px solid #1114;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    display: grid;
    place-items: center;
}

.gal-lightbox.open .glb-panel {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.glb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.glb-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.glb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .33);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

.glb-nav svg {
    fill: #fff;
}

.glb-prev {
    left: 12px;
}

.glb-next {
    right: 12px;
}

.glb-nav:hover {
    background: rgba(255, 255, 255, .2);
}


/* Process Section Styles */
.r-process-section.r-section-padding {
    background: #f7f7f7;
}

.r-process-container {
	max-width: 1800px;
	margin-inline: auto;
}

.r-process-header {
    text-align: center;
}

.r-process-row {
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
    justify-content: space-around;
    margin-top: 35px;
}

.r-process-item {
    position: relative;
    max-width: 435px;
}

.r-process-icon svg {
    fill: #fff;
}

.r-process-item::before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    color: rgba(21, 21, 21, 0.12);
    font: 400 190px/0.8 "Poppins", cursive;
}

#r-process-1::before {
    content: "1";
}

#r-process-2::before {
    content: "2";
}

#r-process-3::before {
    content: "3";
}

.r-process-item-title {
	display: flex;
	gap: 5px;
	align-items: center;
}

.r-process-icon {
    background: var(--r-main-color);
    border-radius: 50%;
    padding: 1% 2%;
}

.r-process-icon svg {
    width: 36px;
    height: 36px;
}

/* FAQ Styles */
.r-faqs-section {
    background-image: linear-gradient(180deg, rgb(255, 255, 255) 30%, #ffffffed 100%), url(/imageserver/Reusable/siding2020/sidingBG.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% center;
}

.r-faqs-section .r-main-wrapper {
	gap: 35px;
	max-width: 1800px;
	margin-inline: auto;
}

.r-faqs-section .r-main-image {
    text-align: center;
    position: relative;
    max-width: fit-content;
}

.r-faqs-section img {
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
}

.r-faqs-section .r-main-image::before {
    content: "";
    position: absolute;
    width: 98%;
    height: 98%;
    border: 3px solid #fff;
    right: 5px;
    top: 5px;
}

.faq-accordion {
    margin: 40px auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    text-align: left;
    position: relative;
}



.faq-item:last-child {
    margin-bottom: 50px;
}

.question {
    position: relative;
    font-size: 1rem;
    font-weight: bold;
    color: #1B3943;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question .toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #007acc;
}

.faq-item.active .question .toggle-icon {
    transform: rotate(45deg);
}

.answer {
    display: none;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}


@media (max-width: 982px) {

    .r-main-wrapper {
        flex-flow: row wrap;
    }

    .r-main-left,
    .r-main-right {
        width: 98.5%;
        margin-inline: auto;
    }

    .r-iframe-wrapper {
        padding-bottom: 45px;
        max-width: 750px;
        margin-inline: auto;
    }

    .pane .r-main-left {
        text-align: center;
    }

}


@media (max-width: 960px) {
    .gal-tabs {
        display: none;
    }

.gal-mobile-nav {
	display: flex;
	gap: 8px;
	margin-block: 20px;
	align-items: center;
	justify-content: center;
}

.gal-mobile-nav p {
	width: fit-content;
	text-align: center;
}

    .gal-select {
        width: 40%;
    }


    .g-item img {
        height: 225px;
    }

    .layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mobile-nav {
        display: block;
    }

    .side-nav {
        display: none;
    }
}


@media (max-width: 860px) {

    .r-product-card {
        width: 48.5%;
        max-width: 450px;
    }

    .r-process-row p {
        font-size: 16px;
    }


}



@media (max-width: 650px) {


    .r-product-card {
        width: 98.5%;
        max-width: 450px;
    }


}




@media (max-width: 600px) {
    .faq-section h2 {
        font-size: 1.75rem;
    }

    .question {
        font-size: 0.95rem;
    }

    .toggle-icon {
        font-size: 1.25rem;
    }

    .answer {
        font-size: 0.9rem;
    }
}

/* Visually hidden (for screen reader labels) */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}







/*
*
* Icons
*/


.r-process-icon {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.r-process-icon.icon-circle.icon-primary {
    background: transparent;
}

.r-process-icon.icon-circle.icon-md {
    width: 78px;
    height: 78px;
}

.r-process-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    box-shadow: inset 0 0 0 70px var(--r-main-color);
    transform: scale3d(0.9, 0.9, 1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.r-process-item:hover .r-process-icon svg {
    fill: #fff;
}

.r-process-item:hover .r-process-icon::after {
    box-shadow: inset 0 0 0 2px #ffffff;
    transform: scale3d(1, 1, 1);
}

.icon-effect-4 {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 3px #ffffff;
    overflow: hidden;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.icon-effect-4 svg {
    display: block;
    -webkit-font-smoothing: antialiased;
}

.icon-effect-4:after {
    content: '';
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-sizing: content-box;
    display: none;
}

.r-product-card:hover .icon-effect-4 {
    background: #007accb7;
    box-shadow: 0 0 0 8px #007accad;
    border-color: #ffffff;
}


.r-product-card:hover .icon-effect-4 svg {
    fill: #ffffff;
}


.icon-effect-4--mod-4:hover:before {
    -moz-animation: toBottomFromTop 0.3s forwards;
    -webkit-animation: toBottomFromTop 0.3s forwards;
    animation: toBottomFromTop 0.3s forwards;
}

@-webkit-keyframes toBottomFromTop {
    49% {
        -webkit-transform: translateY(100%);
    }

    50% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
    }

    51% {
        opacity: 1;
    }
}

@-moz-keyframes toBottomFromTop {
    49% {
        -moz-transform: translateY(100%);
    }

    50% {
        opacity: 0;
        -moz-transform: translateY(-100%);
    }

    51% {
        opacity: 1;
    }
}

@keyframes toBottomFromTop {
    49% {
        transform: translateY(100%);
    }

    50% {
        opacity: 0;
        transform: translateY(-100%);
    }

    51% {
        opacity: 1;
    }
}