﻿/* Inner-page masthead (_PageHeader): the home banner's lotus background, title centred both ways.
   body.inner-page already offsets the fixed header, so only vertical spacing is needed here. */
.inner-page.bg-lotus-big{background-position:center 110%;}
.page-band{display:flex; align-items:center; min-height:14rem; padding:3rem 0; background: url(../images/masthead-bg.png) no-repeat center 63%; background-size:cover;}
@media (min-width:992px) {.page-band{min-height:30rem; padding:4rem 0;}}

/* Image masthead (_PageHeader with ViewBag.MastheadImage): contained in container-xl, rounded-4 box,
   cover photo under a flat brand-blue tint, white heading centred both ways */
/* The masthead clears the fixed header itself, so drop ds.css's legacy small-screen body padding on these pages */
body.inner-page:has(.page-masthead){padding-top:calc(var(--ds-header-h));}

.masthead-box{position:relative; display:flex; align-items:end; justify-content:center; min-height:16rem; padding:3rem 1.5rem 0;}
@media (min-width:992px) {.masthead-box{min-height:20rem;}}
.masthead-img{position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover;}
.masthead-tint{position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(7,30,104,0);}
.masthead-content{position:relative; z-index:1; padding:1rem 3rem; border-radius:var(--bs-border-radius-xl) var(--bs-border-radius-xl) 0 0; background:rgba(var(--bs-primary-rgb),0);}

/* Icon + text boxes (Our Expertise): white bordered rounded box, large tinted icon tile left, title + paragraph right; stacks below sm */
.xp-box{display:flex; flex-direction:column; gap:1.25rem; padding:1.75rem; background:var(--bs-white); border:1px solid var(--bs-border-color); border-radius:1rem; transition:border-color .3s ease;}
.xp-box:hover{border-color:rgba(var(--bs-primary-rgb),.4);}
.xp-ico{flex:none; display:flex; align-items:center; justify-content:center; width:5rem; height:5rem; color:var(--bs-primary); background:rgba(var(--bs-primary-rgb),1); border-radius:1rem;}
.xp-ico svg{width:3.5rem; height:3.5rem;}
@media (min-width:576px) {
.xp-box{flex-direction:row; gap:1.75rem;}
}
@media (min-width:992px) {
.xp-box{padding:1.5rem; gap:0rem;}
.xp-ico svg{width:3.5rem; height:3.5rem;}
.masthead-content{padding:.8rem 5rem;}
}

/* Our Expertise: icon cards (3 across at lg). Solid blue rounded icon tile with white strokes, raised over the card's top edge; title, then text, centred */
.xp-card{height:calc(100% - 2rem); margin-top:2rem; padding:0 1.75rem 2rem; background:var(--bs-white); border:1px solid var(--bs-border-color); border-radius:1rem; transition:border-color .3s ease;}
.xp-card:hover{border-color:rgba(var(--bs-primary-rgb),.4);}
.xp-card .xp-ico{margin:-3.5rem auto 1.5rem; background:var(--bs-primary); color:var(--bs-white); border-radius:1rem;}
@media (min-width:992px) {.xp-card{padding:0 2rem 2rem;}}
/* Photo variant: landscape 3:2 photo across the top of the card instead of the raised icon tile; photo zooms slightly on hover */
.xp-card.xp-card-img{height:100%; margin-top:0; overflow:hidden;}
.xp-card-photo{margin:0 -1.75rem 1.75rem; aspect-ratio:3/1.5; overflow:hidden;}
.xp-card-photo img{width:100%; height:100%; object-fit:cover; transition:transform .6s ease;}
@media (min-width:992px) {.xp-card-photo{margin:0 -2.25rem 1.5rem;}}
@media (prefers-reduced-motion:no-preference) {.xp-card-img:hover .xp-card-photo img{transform:scale(1.05);}}

/* Loose Diamonds: shape tiles (3 → 5 → 9 across) */
.shape-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem;}
@media (min-width:768px) {.shape-grid{grid-template-columns:repeat(5,1fr);}}
@media (min-width:1200px) {.shape-grid{grid-template-columns:repeat(9,1fr);}}
.shape-tile{display:flex; flex-direction:column; align-items:center; gap:.75rem; padding:1.25rem .5rem 1rem; background:rgba(var(--bs-white-rgb),0); border:1px solid var(--bs-border-color); border-radius:1rem; color:var(--bs-primary); text-align:center; transition:border-color .3s ease, transform .3s ease;}
.shape-tile svg{width:4rem; height:4rem; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;}
.shape-tile:hover{border-color:rgba(var(--bs-primary-rgb),.45);background:var(--bs-white);}
@media (prefers-reduced-motion:no-preference) {.shape-tile:hover{transform:translateY(-4px);}}
/* Photo variant: real diamond photos (white background) on white tiles, always 3 × 3 */
/* 5 per row; flex-wrap so an incomplete last row sits centred */
.shape-grid.shape-grid-photo{--shape-gap:1rem; display:flex; flex-wrap:wrap; justify-content:center; gap:var(--shape-gap);}
@media (min-width:768px) {.shape-grid.shape-grid-photo{--shape-gap:1.5rem;}}
/* 2 per row on phones, 4 at md (5 made the stones too small on tablets), 5 per row from lg */
.shape-grid-photo > .shape-tile{width:calc((100% - var(--shape-gap)) / 2);}
@media (min-width:768px) {.shape-grid-photo > .shape-tile{width:calc((100% - 3 * var(--shape-gap)) / 4);}}
@media (min-width:992px) {.shape-grid-photo > .shape-tile{width:calc((100% - 4 * var(--shape-gap)) / 4);}}
.shape-grid-photo .shape-tile{padding:0.5rem 1rem 1.25rem; background:var(--bs-white); font-size:1.1rem;}
.shape-grid-photo .shape-tile img{width:80%; max-width:10.5rem; height:auto;}


/* Jewelry › Fine Jewelry Offering: square photo tiles (2 → 3 → 6 across); photo zooms on hover; placeholder tile for categories without a photo yet */
.jw-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:1rem;}
@media (min-width:768px) {.jw-grid{grid-template-columns:repeat(3,1fr); gap:1.5rem;}}
@media (min-width:1200px) {.jw-grid{grid-template-columns:repeat(3,1fr);}}
.jw-tile{text-align:center;}
.jw-img{overflow:hidden; background:var(--bs-white); border:1px solid var(--bs-border-color); border-radius:1rem;}
.jw-img img{transition:transform .6s ease;}
@media (prefers-reduced-motion:no-preference) {.jw-tile:hover .jw-img img{transform:scale(1.06);}}
.jw-ph > div{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; color:rgba(var(--bs-primary-rgb),.35);}
.jw-ph svg{width:45%; height:45%; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round;}
.jw-ph small{font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(var(--bs-primary-rgb),.6);}
.jw-name{display:block; margin-top:.85rem; font-size:1.1rem; color:var(--bs-primary);}
/* Jewelry tile with a Fancybox gallery: round gallery icon always shown in the bottom-right corner; it turns brand blue on hover / keyboard focus */
.jw-gallery:focus-visible{outline:3px solid var(--bs-primary); outline-offset:-3px; border-radius:1rem;}
.jw-zoom{position:absolute; right:.75rem; bottom:.75rem;}
.jw-zoom-ico{display:flex; align-items:center; justify-content:center; width:2.75rem; height:2.75rem; border-radius:50%; background:rgba(var(--bs-primary-rgb),.3); color:var(--bs-white);}
.jw-zoom-ico .bi{font-size:1.2rem;}
.jw-gallery:hover .jw-zoom-ico, .jw-gallery:focus-visible .jw-zoom-ico{background:var(--bs-primary); color:var(--bs-white);}
@media (prefers-reduced-motion:no-preference) {.jw-zoom-ico{transition:background-color .3s ease, color .3s ease;}}

/* Jewelry › Designed for Every Occasion: necklace photo under a flat 75% brand-blue tint; fixed-background parallax only on large,
   mouse-driven screens when motion is allowed (same rule as the Our Story values band) */
.jw-occasion{position:relative; background:url(../images/bg-jewelry-occasion.jpg) no-repeat center center; background-size:cover;}
.jw-occasion::before{content:""; position:absolute; inset:0; background:rgba(var(--bs-primary-rgb),.85);}
.jw-occasion > .container{position:relative;}
@media (min-width:992px) and (hover:hover) and (prefers-reduced-motion:no-preference) {
.jw-occasion{background-attachment:fixed;}
}

/* Jewelry: philosophy statement on the blue band */
.philosophy-quote{font-size:1.35rem; font-weight:300; line-height:1.7;}
@media (min-width:992px) {.philosophy-quote{font-size:1.6rem;}}

/* Stacked icon box variant (icon above centred text) for 3-across rows */
.xp-box.xp-box-col{flex-direction:column; align-items:center; text-align:center;}

/* Jewelry › The Art Behind Every Piece: stacked list on the parallax band (white line icon, title + text), white hairline under each item */
.art-list{margin:0; padding:0; list-style:none;}
.art-list li{display:flex; align-items:center; gap:1.25rem; padding:.8rem 0; border-bottom:1px solid rgba(var(--bs-white-rgb),.35);}
.art-ico{flex:none; width:4.5rem; height:4.5rem; color:var(--bs-white);border:1px solid rgba(var(--bs-white-rgb),.35);}
.art-ico svg{width:100%; height:100%;}

/* Top-aligned icon box variant for longer copy (Sustainability themes) */
@media (min-width:576px) {.xp-box.xp-box-top{align-items:flex-start;}}

/* Sustainability: short tagline under each theme title */
.sus-tag{ color:var(--bs-primary); opacity:.85;}

/* Sustainability theme boxes: head row (icon + title/tagline, vertically centred) above the paragraph, with one fixed gap between them */
.xp-box.sus-box{flex-direction:column; align-items:stretch; gap:1rem 1.5rem;background:rgba(var(--bs-light-rgb),.6); }
.sus-head{display:flex; align-items:center; gap:1.25rem;}
.sus-head .sus-tag{margin:.35rem 0 0;}
/* Theme grid (1 → 2 across at lg); boxes in a row share one height. The paragraph always sits the same 1.5rem below its own head */
.sus-grid{display:grid; gap:1.5rem;}
@media (min-width:992px) {.sus-grid{grid-template-columns:repeat(2,1fr);}}
.sus-grid .sus-box{height:100%; justify-content:flex-start;}

/* Compact icon box variant (Jewelry › Why Partner with Us?) */
.xp-box-sm{padding:1.5rem;}
.xp-box-sm .xp-ico{width:4.5rem; height:4.5rem;}
.xp-box-sm .xp-ico svg{width:2.75rem; height:2.75rem;}
@media (min-width:576px) {.xp-box-sm{gap:1.25rem;}}
@media (min-width:992px) {.xp-box-sm{padding:1.5rem 1.75rem; gap:1.5rem;} .xp-box-sm .xp-ico{width:5rem; height:5rem;} .xp-box-sm .xp-ico svg{width:3rem; height:3rem;}}

/* Loose Diamonds: specification tiles on the blue band */
.spec-lead{ color:rgba(var(--bs-white-rgb),.85);}
/* Spec band: loose-diamond photo under a flat 88% brand-blue tint */
.spec-band{position:relative; background:url(../images/our-solution-loose-diamonds.jpg) no-repeat center center fixed; background-size:cover;}
.spec-band::before{content:""; position:absolute; inset:0; background:rgba(var(--bs-primary-rgb),.88);}
.spec-band > .container{position:relative;}
/* Spec strip: one rounded hairline frame; each cell's right/bottom shadow line draws the dividers (outer ones are clipped by the frame) */
.spec-strip{display:grid; grid-template-columns:repeat(2,1fr); overflow:hidden; border:1px solid rgba(var(--bs-white-rgb),.3); border-radius:1rem;}
.spec-cell{display:flex; flex-direction:column; align-items:center; padding:1.75rem 1rem; border:rgba(var(--bs-white-rgb),.3) 1px solid; text-align:center;}
.spec-cell:last-child{grid-column:1 / -1;}
.spec-ico{width:3rem; height:3rem; }
.spec-cell dt{margin-bottom:.5rem;font-size:1rem;letter-spacing:.12em; text-transform:uppercase; color:rgba(var(--bs-white-rgb),.85);}
.spec-cell dd{margin:0; font-size:1rem; line-height:1.4;}
@media (min-width:576px) {.spec-cell{padding:2rem 1.5rem;} .spec-ico{width:3.25rem; height:3.25rem; margin-bottom:1rem;}}
/* lg: 3 + 2 on a 6-column grid (5 across was too tight); xl: all 5 in one row */
@media (min-width:992px) {.spec-strip{grid-template-columns:repeat(6,1fr);} .spec-cell{grid-column:span 2; padding:2.5rem 1.5rem;} .spec-cell:nth-child(n+4){grid-column:span 3;} .spec-ico{width:3.75rem; height:3.75rem;}}
@media (min-width:1200px) {.spec-strip{grid-template-columns:repeat(5,1fr);} .spec-cell, .spec-cell:nth-child(n+4){grid-column:auto;}}

/* Loose Diamonds: service cards (image on top) */
/* Loose Diamond Services explorer: numbered tab list (hairline rows, round number turns solid blue when active) + one photo panel */
.svc-tabs{border-top:1px solid var(--bs-border-color);}
.svc-tabs .nav-link{display:flex; align-items:center; gap:1.25rem; width:100%; padding:1.1rem .25rem; border:0; border-bottom:1px solid var(--bs-border-color); border-radius:0; background:none; color:rgba(var(--bs-primary-rgb),.7); text-align:left;}
.svc-tabs .nav-link:hover{background:rgba(var(--bs-primary-rgb),.05);}
.svc-tabs .nav-link.active{color:var(--bs-primary);background:rgba(var(--bs-primary-rgb),.09);}
.svc-tabs .nav-link.active{font-weight:600;}
.svc-num{flex:none; display:inline-flex; align-items:center; justify-content:center; width:2.75rem; height:2.75rem; border:1px solid rgba(var(--bs-primary-rgb),.3); border-radius:50%; font-size:.9rem;}
.svc-tabs .nav-link:hover .svc-num{border-color:var(--bs-primary);}
.svc-tabs .nav-link.active .svc-num{background:var(--bs-primary); border-color:var(--bs-primary); color:var(--bs-white);}
@media (min-width:1441px) {
.tab-content{margin-left:-15px;}
.svc-tabs .nav-link{padding:1.535rem; font-size:1.1rem;}}
@media (min-width:1280px) {
.svc-tabs .nav-link{padding:1.31rem 1.535rem;}
}
/* Below xl the explorer is an accordion, so a tapped service opens in view right under its tab. The row, columns, tab list
   and tab-content drop out of the layout (display:contents), which makes the buttons and panes flex siblings that order interleaves */
@media (max-width:1199.98px) {
.svc-explorer{display:flex; flex-direction:column;}
.svc-explorer .row, .svc-explorer .row > div, .svc-explorer .svc-tabs, .svc-explorer .tab-content{display:contents;}
.svc-explorer .svc-tabs .nav-link{padding:1.1rem 1rem; scroll-margin-top:calc(var(--ds-header-h) + 1rem);}
/* Chevron: points down when closed, up when open */
.svc-explorer .svc-tabs .nav-link::after{content:""; flex:none; width:.55rem; height:.55rem; margin:0 .25rem 0 auto; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-25%) rotate(45deg);}
.svc-explorer .svc-tabs .nav-link.active::after{transform:translateY(25%) rotate(-135deg);}
.svc-explorer .tab-pane{border-bottom:1px solid var(--bs-border-color);}
/* The white panel runs edge to edge under its tab; the spacing sits inside it */
.svc-explorer .svc-panel{padding:1rem;}
.svc-explorer .tab-pane:last-child{border-bottom:0;}
.svc-explorer .svc-tabs .nav-link.active{border-bottom:0;}
.svc-explorer .svc-tabs .nav-link:nth-child(1){order:1;} .svc-explorer .tab-pane:nth-child(1){order:2;}
.svc-explorer .svc-tabs .nav-link:nth-child(2){order:3;} .svc-explorer .tab-pane:nth-child(2){order:4;}
.svc-explorer .svc-tabs .nav-link:nth-child(3){order:5;} .svc-explorer .tab-pane:nth-child(3){order:6;}
.svc-explorer .svc-tabs .nav-link:nth-child(4){order:7;} .svc-explorer .tab-pane:nth-child(4){order:8;}
.svc-explorer .svc-tabs .nav-link:nth-child(5){order:9;} .svc-explorer .tab-pane:nth-child(5){order:10;}
}
@media (max-width:1199.98px) and (prefers-reduced-motion:no-preference) {.svc-explorer .svc-tabs .nav-link::after{transition:transform .3s ease;}}
/* Panel: square photo with the title + text beside it from md (stacked below) */
.svc-panel{display:grid; overflow:hidden; background:var(--bs-white);  }
.svc-body{align-self:center; padding:1.5rem 1.75rem 1.75rem;}
@media (min-width:768px) {.svc-panel{grid-template-columns:1fr 1fr;} .svc-body{padding:2rem;}}
@media (min-width:992px) {.svc-body{padding:2.5rem;}}

/* Contact: info card and enquiry form card */
.contact-card{padding:1.75rem; background:var(--bs-white); border:1px solid var(--bs-border-color); border-radius:1rem;}
@media (min-width:992px) {.contact-card{padding:1.5rem 2rem;}}
.contact-list{display:grid; gap:1.5rem;}
.contact-list li{display:flex; gap:1rem; align-items:flex-start;}
.contact-ico{flex:none; display:flex; align-items:center; justify-content:center;   color:var(--bs-primary);}
.contact-ico svg{width:1.5rem; height:1.5rem;}
.contact-label{margin-bottom:.25rem; font-size:1rem; letter-spacing:.1em; text-transform:uppercase; color:var(--bs-primary);}
.contact-list a{color:var(--bs-body-color); text-decoration:underline; word-break:break-word;}
.contact-list a:hover{color:var(--bs-primary); text-decoration:underline;}
.contact-card .form-control{border-radius:.5rem; padding:.7rem .8rem;}
.contact-card .form-label{color:var(--bs-primary);}
/* Message is a textarea: floating labels need an explicit height */
.contact-card .form-floating > textarea.form-control{height:8rem;}


/* Policies: pillar cards (white, hairline border, icon + title + short accent rule + text, centred) */
.policy-card{display:flex; flex-direction:column; align-items:center; padding:2rem 1.75rem; background:var(--bs-white); border:1px solid var(--bs-border-color); border-radius:1rem; text-align:center; transition:border-color .3s ease;}
.policy-card:hover{border-color:rgba(var(--bs-primary-rgb),.4);}
@media (min-width:992px) {.policy-card{padding:2.5rem 2.25rem;}}
.policy-ico{display:block; width:4.5rem; height:4.5rem; margin-bottom:1.25rem; color:var(--bs-primary);}
.policy-ico svg{width:100%; height:100%;}
.policy-rule{display:block; width:3rem; height:2px; margin:1rem 0 1.25rem; background:var(--bs-secondary);}
/* Policies › Our Governance Framework: round brand-blue badges with white icons, 2 → 3 (sm) → 5 (lg) across; an incomplete last row sits centred */
.gov-grid{display:flex; flex-wrap:wrap; justify-content:center; row-gap:2rem;}
.gov-item{display:flex; flex-direction:column; align-items:center; gap:1rem; width:50%; padding:0 .75rem; text-align:center;}
@media (min-width:576px) {.gov-item{width:33.333%;}}
@media (min-width:992px) {.gov-grid{row-gap:3rem;} .gov-item{width:20%;}}
.gov-ico{display:flex; align-items:center; justify-content:center; width:5rem; height:5rem; background:var(--bs-primary); border-radius:50%; color:var(--bs-white);}
.gov-ico svg{width:2.5rem; height:2.5rem;}
.gov-label{font-weight:500; line-height:1.35; color:var(--bs-primary);}
/* Connector between neighbouring badges in a row: a hairline from circle to circle (::after) with an accent dot at its midpoint (::before).
   Items are equal width, so the next circle starts at 150% − 2.5rem; .5rem is left clear at each end. Hidden on the last badge of each row */
.gov-item{position:relative;}
.gov-item::after{content:""; position:absolute; top:2.5rem; left:calc(50% + 3rem); right:calc(-50% + 3rem); height:1px; background:rgba(var(--bs-primary-rgb),.3);}
.gov-item::before{content:""; position:absolute; top:calc(2.5rem - 2.5px); left:100%; width:5px; height:5px; border-radius:50%; background:var(--bs-secondary); transform:translateX(-50%);}
.gov-item:last-child::before, .gov-item:last-child::after{display:none;}
@media (max-width:575.98px) {.gov-item:nth-child(2n)::before, .gov-item:nth-child(2n)::after{display:none;}}
@media (min-width:576px) and (max-width:991.98px) {.gov-item:nth-child(3n)::before, .gov-item:nth-child(3n)::after{display:none;}}
@media (min-width:992px) {.gov-item:nth-child(5n)::before, .gov-item:nth-child(5n)::after{display:none;}}

/* Sitemap: horizontal row of sections, each with its sub-pages underneath (sub-pages marked by a short accent dash).
   2 per row on phones, 3 at md, all 6 in one row at lg with a hairline between columns */
.sitemap-list{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem 1.5rem;}
@media (min-width:768px) {.sitemap-list{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (min-width:992px) {
.sitemap-list{display:flex; justify-content:center; gap:0;}
.sitemap-list > li{padding:0 1rem; white-space:nowrap;}
.sitemap-list > li + li{border-left:1px solid var(--bs-border-color);}
}
@media (min-width:1200px) {.sitemap-list > li{padding:0 2rem;}}
@media (min-width:1400px) {.sitemap-list > li{padding:0 2.5rem;}}
.sitemap-list > li{font-size:1.15rem; font-weight:700; color:var(--bs-primary);}
.sitemap-list a{color:var(--bs-primary); text-decoration:none;}
.sitemap-list a:hover{text-decoration:underline;}
.sitemap-list ul{margin:.75rem 0 0; padding:0;}
.sitemap-list ul li{padding:.25rem 0; font-size:1rem; font-weight:600;}
.sitemap-list ul li::before{content:""; display:inline-block; width:.5rem; height:1px; margin-right:.5rem; vertical-align:middle; background:var(--bs-secondary);}

/* Bottom-of-page breadcrumb (_Breadcrumb) */
.page-breadcrumb{padding:1.25rem 0; --bs-breadcrumb-divider:'›';}
.page-breadcrumb .breadcrumb-item a{color:var(--bs-white); text-decoration:none;}
.page-breadcrumb .breadcrumb-item a:hover{text-decoration:underline;}
/* Items flow as inline text so a long title wraps centred under "Home ›" instead of dropping to its own left-aligned line */
.page-breadcrumb .breadcrumb{display:block; text-align:center;}
.page-breadcrumb .breadcrumb-item{display:inline;}
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before{float:none;}

.section-visual{max-width:1920px; width:100%; margin:0 auto; background-size:cover; filter: grayscale(1);}
.bg-mask {position: absolute;top: 0;left: 0;height: 100%;width: 100%;background: url(../images/bg-pattern.png) repeat 50%;}

.bg-contact-form{background:var(--bs-secondary)}

/* Our Story › story text: transparent diamond-shapes image as a faded background anchored bottom-right (stones sit bottom-right);
   on its own layer so only the image is faded, never the text. Kept at least 48rem wide so the stones stay visible on phones */
.bg-story-shapes{position:relative; isolation:isolate;}
/* Bottom padding ≈ the image's stone band (its height is at most half the section width), so the text ends above the
   temporary comp's iStock watermark. Revisit once the licensed file is supplied */
.bg-story-shapes{padding-bottom:max(3rem, 20vw);}
.bg-story-shapes::before{content:""; position:absolute; inset:0; z-index:-1; background:url(../images/our-story-bg.png) no-repeat right bottom; background-size:contain; opacity:.3; pointer-events:none;}

/* Our Story › values: crystal background on every screen size; the fixed-background parallax only on large,
   mouse-driven screens when motion is allowed (iOS/iPadOS ignore background-attachment: fixed) */
.bg-value-parallax{position:relative; background:url(../images/about-value-parallax.jpg) no-repeat center center; background-size:cover;}
@media (min-width:992px) and (hover:hover) and (prefers-reduced-motion:no-preference) {
.bg-value-parallax{background-attachment:fixed;}
}
/* Our Story › value cards: calm semi-transparent white panel over the crystal background */
.value-card{background:rgba(var(--bs-dark-rgb),.0);}
/* Frosted backdrop for translucent panels over photos (Our Story value cards, Loose Diamonds spec cells) */
.bg-blur{-webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);}
/* Open icons (no tile), large and bold enough to lead each value card */
.xp-ico.value-ico{width:auto; height:auto; margin:0 auto; background:none; border-radius:0;}
/* stroke 1.2 on the 48-unit grid ≈ 2px at 80px, matching the line weight of the filled Partnership/Consistency icons */
.xp-ico.value-ico svg{width:4.5rem; height:4.5rem; stroke-width:1.2;}
@media (min-width:992px) {.xp-ico.value-ico svg{width:5rem; height:5rem;}}
/* Solid-shape icons (e.g. the supplied Partnership handshake) are drawn with fill, not stroke */
.xp-ico.value-ico svg.ico-fill{stroke:none;}

/*Accordian*/
.accordion-flush > .accordion-item > .accordion-header .accordion-button:not(.collapsed) {color: var(--bs-white)!important;background-color: var(--bs-primary)!important;border-radius:0;box-shadow: none;}
.accordion-body {background: var(--bs-white);}
.accordion-flush > .accordion-item{margin-top:1rem;background: var(--bs-white);border:0px;border-radius:0;overflow:hidden}
.accordion-header .accordion-button {line-height:normal;font-weight:600;color:var(--bs-dark);padding: 0.8rem 1.25rem}
.accordion-flush > .accordion-item > .accordion-collapse,
.accordion-flush > .accordion-item > .accordion-header .accordion-button,
.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {border-radius:0;box-shadow: none;}
.accordion-button::after {width: 40px;height: 40px;border-radius: 50%;background-color: #000;--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d1b8aa' class='bi bi-plus-lg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2'/%3e%3c/svg%3e");background-position: center;}
.accordion-button:not(.collapsed)::after {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d1b8aa' class='bi bi-plus-lg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2'/%3e%3c/svg%3e");transform: rotate(225deg);}

.profile-grid a:hover{background:var(--bs-white)}
.profile-grid a{position:relative;border-color:#666!important}
.profile-grid .plus-icon{position:absolute; bottom:-13px; left:0; text-align:center; width:100%;}
.profile-grid .plus-icon svg{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;border-radius:100%; background:var(--bs-white);padding:8px; fill:var(--bs-primary)}
.profile-grid a:hover .plus-icon svg{ background:var(--bs-primary);padding:8px; fill:var(--bs-white)}
.profile-grid a:hover{}

/*.testimonial-prev{left:calc(50% - 150px)!important;}
.testimonial-next{right:calc(50% - 150px)!important;}*/
.testimonial-prev:hover,.testimonial-next:hover{color:#FFF!important; border-color:var(--bs-primary) !important;}
.testimonial-prev, .testimonial-next{width:40px!important; height:40px!important; margin-top:3px!important; }

@media (max-width:767px) {
.profile-popup .h4{font-size:100%!important;}
}


.flipper  svg.my-3{width:50px; height:50px;}
.why-product-icons .flip-container .front,.why-product-icons .flip-container .flipper img{display:none;}
.why-product-icons .flip-container .back{position:relative!important; -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);}
.dtl{margin-top:0px!important;}

.flip-container{-webkit-perspective:1000;-moz-perspective:1000;-ms-perspective:1000;perspective:1000;-ms-transform:perspective(1000px);-moz-transform:perspective(1000px);-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;}
.flip-container:hover .back, .flip-container.hover .back{-webkit-transform:rotateY(0deg);-moz-transform:rotateY(0deg);-o-transform:rotateY(0deg);-ms-transform:rotateY(0deg);transform:rotateY(0deg);}
.flip-container:hover .front, .flip-container.hover .front{-webkit-transform:rotateY(-180deg);-moz-transform:rotateY(-180deg);-o-transform:rotateY(-180deg);transform:rotateY(-180deg);}
.flip-container{display:inline-block;position:relative;}
.front, .back{width:100%;height:100%; position:absolute!important; display:flex; align-items:center; justify-content:center;}
.flipper{-webkit-transition:0.6s;-webkit-transform-style:preserve-3d;-ms-transition:0.6s;-moz-transition:0.6s;-moz-transform:perspective(1000px);-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transition:0.6s;transform-style:preserve-3d;position:relative;display:table;height:100%;width:100%;}
.flipper .fnt-dtl .hdr { opacity:1; left:0; right:0; bottom:0;margin:0px!important; -webkit-transition:all .3s ease 0s;-o-transition:all .3s ease 0s;transition:all .3s ease 0s;}

.front{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:0.6s;-webkit-transform-style:preserve-3d;-webkit-transform:rotateY(0deg);-moz-transition:0.6s;-moz-transform-style:preserve-3d;-moz-transform:rotateY(0deg);-o-transition:0.6s;-o-transform-style:preserve-3d;-o-transform:rotateY(0deg);-ms-transition:0.6s;-ms-transform-style:preserve-3d;-ms-transform:rotateY(0deg);transition:0.6s;transform-style:preserve-3d;transform:rotateY(0deg);position:relative;top:0;left:0;}
.back{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:0.6s;-webkit-transform-style:preserve-3d;-webkit-transform:rotateY(0deg);-moz-transition:0.6s;-moz-transform-style:preserve-3d;-moz-transform:rotateY(0deg);-o-transition:0.6s;-o-transform-style:preserve-3d;-o-transform:rotateY(0deg);-ms-transition:0.6s;-ms-transform-style:preserve-3d;-ms-transform:rotateY(0deg);transition:0.6s;transform-style:preserve-3d;transform:rotateY(0deg);position:absolute;top:0;left:0;}
.front{-webkit-transform:rotateY(0deg);-ms-transform:rotateY(0deg);z-index:2;}
.back{-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-o-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg);color:#fff;padding:0px;}
.dtl{margin-top:10px;}
.fnt-dtl, .bck-dtl{left:0;right:0;text-align:center;}
.bck-dtl{height:100%;}
.fnt-dtl p{text-align:center}
.fnt-dtl .hdr,
.bck-dtl .hdr{color:#fff;line-height:normal;}
.fnt-dtl img,
.bck-dtl img{margin:0 auto;}

.tablebg-compare > div:nth-child(1){}
.tablebg-compare > div:nth-child(2){background-color:rgba(var(--bs-black-rgb),.07);}
.tablebg-compare > div:nth-child(3){background-color:rgba(var(--bs-secondary-rgb),.02);}


.tablebg-compare .tablebg-title,
.tablebg-compare .tablebg-title.text-dark{background-color:rgba(var(--bs-dark-rgb),.01);}


/* TIMELINE */

.timeline{
position:relative;
margin:auto;
}

/* CENTER LINE */

.timeline::after{
content:'';
position:absolute;
width:4px;
background:rgba(var(--bs-secondary-rgb),.1);
top:0;
bottom:0;
left:50%;
margin-left:-2px;
z-index:0;
}

/* SECTION */

.timeline .section{
padding:30px 0;
position:relative;
display:flex;
justify-content:space-between;
align-items:center;
z-index:1;
}

/* CENTER MILESTONE */

.timeline .milestone{
position:absolute;
left: calc(50% - 145px);
transform: translate(0, -50%);
display: table;
margin: 0 auto;
background:var(--bs-primary);
color:#FFF;
padding:10px 20px;
border-radius:0;
font-weight:bold;
z-index:2;
min-width:290px;
text-align:center;
border:7px solid rgba(0,0,0,.1);
}

/* BOX STYLE */

.timeline .card{
width:calc(60% - 270px);
background:rgba(255,255,255,0.08);
padding:25px;
border-radius:0;
backdrop-filter:blur(6px);
box-shadow:0 6px 10px rgba(0,0,0,0.1);
transition:0.3s;
position:relative;
}

.timeline .card:hover{
transform:translateY(-6px) scale(1.01);
box-shadow:0 8px 15px rgba(0,0,0,0.2);
border-color:var(--bs-primary);
}

.timeline .card h3{
margin-bottom:0px;
opacity:0;
font-size:120%;
position:absolute; 
display:flex; justify-content:center;  width:100%; padding-left:15px; height:100%;top:-30px; left:0; text-align:center;
color:var(--bs-dark);
-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;
}
.timeline .card:hover h3{opacity:.9; color:var(--bs-primary);  letter-spacing:.1rem;}
.timeline .card p{margin-bottom:0;}
.timeline .left,.timeline .right{text-align:center;}

/* MOBILE */

@media(max-width:800px) {
.timeline .milestone{min-width:0;}
}
@media(max-width:800px){
.timeline .card h3{opacity:1; justify-content:flex-start;}
.timeline::after{left:20px;}
.timeline .section{flex-direction:column;align-items:flex-start;padding-left:40px; }
.timeline .card{width:100%;text-align:left;}
.timeline .milestone{left:0px;}
.timeline .card:first-child{margin-top:75px;margin-bottom:60px;}
}
