/* Google Fonts are loaded via <link> in includes/header.php (avoids the
   render-blocking CSS @import GTmetrix/PageSpeed flagged). */

html {
    overflow-x: hidden;
}

body {
    font-family: "Jost", sans-serif;
    background: rgb(255, 255, 255);
    overflow: hidden auto;
    color: rgb(0, 0, 0);
    font-size: 14px;
    padding-top: 0px;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../font/Gilroy-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../font/Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: 400ms;
}

img {
    max-width: 100%;
}

input,
button {
    outline: none;
    box-shadow: none;
}

.colorOrange {
    color: rgb(244, 109, 107) !important;
}

.owl-carousel .owl-item img {
    width: auto;
}

.mobile {
    display: none !important;
}

.text-end {
    text-align: right;
}

.navbar-brand a {
    outline: none;
    box-shadow: none;
}

section {
    padding: 80px 0px;
    overflow: hidden;
}

.sectionHeading h2 {
    font-size: 48px;
    color: #101210;
    font-weight: 400;
    margin: 10px 0px 15px;
}

.sectionHeading h4 {
    color: rgb(123, 123, 123);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.sectionHeading h3 {
    font-size: 20px;
    font-weight: 400;
    color: rgb(103, 116, 137);
}

.sectionHeading p span {
    display: inline-flex;
    padding: 10px 25px;
    border: 2px solid rgb(227, 232, 239);
    font-size: 14px;
    font-weight: 500;
    color: rgb(103, 116, 137);
    border-radius: 30px;
}

.para {
    font-size: 20px;
    color: #C8C8C8;
    font-weight: 400;
}

header.mainHeader ul.navbar-nav.m-auto {
    position: relative;
    left: 10%;
}

.listInline {
    display: flex;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    gap: 10px;
}

.unorderList {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.gap20 {
    gap: 20px;
}

header.mainHeader {
    position: fixed;
    left: 0px;
    width: 100%;
    z-index: 99;
    background: #000;
}


.navbar-brand.p-0.desktop {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand img {
    width: 70px;
    height: auto;
}

nav#mainNav .container {
    background: transparent;
    padding: 15px 25px;
    border-radius: 20px;
}

nav#mainNav .nav-item>a {
    font-size: 16px;
    color: rgb(255, 255, 255);
    font-weight: 400;
    padding: 10px 5px;
    position: relative;
    display: flex;
    gap: 5px;
    align-items: center;
    text-transform: uppercase;
}

nav#mainNav .nav-item>a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: rgb(126 28 17);
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    transition: 500ms;
}

nav#mainNav .nav-item>a:hover::after {
    width: 100%;
    transition: 500ms;
}

nav#mainNav .nav-item>a:hover {
    color: rgb(2, 165, 255);
}


img.logoScrollBottom {
    display: none;
}

nav#mainNav .nav-item {
    padding: 0px 15px;
}

.dropmenu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgb(255, 255, 255);
}

.dropmenuWrp {
    position: absolute;
    left: 0px;
    top: 100%;
    margin-top: 14px;
    background: rgb(255, 255, 255);
    min-width: 230px;
    padding: 5px 0px 8px;
    box-shadow: rgba(0, 0, 0, 0.18) 4px 10px 10px;
    display: none;
    list-style: none;
    border-radius: 5px;
}

/* Transparent bridge so moving the cursor across the gap to the
   dropdown doesn't close it. */
.dropmenuWrp::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.dropmenuWrp li a {
    display: block;
    padding: 7px 10px;
    color: rgb(0, 0, 0);
    font-size: 14px;
}

.dropmenu:hover .dropmenuWrp {
    display: block;
}

nav#mainNav .nav-item>a:hover,
.dropmenu:hover>a {
    color: #fff;
}

.dropmenuWrp li a:hover {
    background: rgb(202, 46, 42);
    color: rgb(255, 255, 255);
}

.dropmenuToggle {
    position: absolute;
    right: 0px;
    top: 19px;
    color: rgb(255, 255, 255);
}

.bannerContent h3 {
    font-weight: 600;
    font-size: 24px;
    color: rgb(255, 255, 255);
    margin: 0px;
    line-height: 32px;
}

.bannerContent {
    position: relative;
    z-index: 9;
}

.bannerContent h1 {
    color: rgb(255, 255, 255);
    font-size: 72px;
    margin: 10px 0px 20px;
    font-weight: 500;
    line-height: 1.2;
}

.bannerContent h1 span {
    color: rgb(174, 230, 127);
    font-weight: 900;
    letter-spacing: 1px;
}

.cursor {
    display: inline-block;
    animation: 0.7s ease 0s infinite normal none running blink;
    font-weight: 300;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.whiteBg {
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px;
    border-radius: 10px;
}

.lineBtn,
.colorBtn,
.blackBtn,
.greyBtn,
.whiteBtnSpc {
    display: inline-flex;
    padding: 10px 20px;
    background: #7E1C11;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    color: rgb(255 255 255) !important;
    border-radius: 12px !important;
    text-transform: uppercase;
}

.colorBtn:hover {
    background: #fff;
    border: 1px solid #7E1C11;
    color: #7E1C11 !important;
}

.lineBtn {
    background: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255) !important;
}

.blackBtn {
    background: rgb(31, 31, 31);
    color: rgb(255, 255, 255) !important;
}

.blackBtn:hover {
    background: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255) !important;
}

.whiteBtnSpc {
    background: #fff;
    color: #7E1C11 !important;
    font-weight: 600;
}

.colorBtn svg,
.whiteLineBtn svg,
.blackBtn svg,
.colorBtn svg {
    width: 16px;
    height: 16px;
    position: relative;
    left: 0px;
    transition: 500ms;
}

.greyBtn {
    background: rgb(234, 236, 253);
    text-transform: none;
    border: none;
    font-size: 12px;
    color: rgb(97, 97, 103) !important;
    outline: none !important;
}

.banner {
    padding: 15px 0px 20px;
}

.banner {
    background: url("../images/stc-banner.png") left top / cover;
    border-radius: 0px;
    position: relative;
    min-height: calc(100vh);
    display: flex;
    align-items: center;
    width: 100%;
}

.sectionBorder {
    border-top: solid 1px #E5E5E5;
    position: relative;
    text-transform: uppercase;
    color: #131313;
    font-size: 14px;
    padding-top: 10px;
    font-family: "Roboto Mono", monospace;
}

.sectionBorder:before {
    content: "";
    background: #7E1C11;
    width: 190px;
    height: 4px;
    position: absolute;
    top: -4px;
}

.darkBg {
    background: #1E1E1E;
}

.darkBg .sectionBorder {
    border-top: solid 1px #E5E5E533;
    color: #fff;
}

.darkBg .sectionHeading h2 {
    color: #FFEFE6;
}

.redCircle {
    position: absolute;
    top: 42%;
    background: #7E1C11;
    z-index: 9;
    transform: translateY(-50%);
    right: -150px;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 50%;
}

.redCircle h5 {
    font-size: 116px;
    color: #fff;
    margin: 0;
    font-family: "Jost", sans-serif;
}

.redCircle h6 {
    font-size: 18px;
    color: #FFEFE6;
}

.aboutSec img {
    width: 100%;
}

.aboutSec p.d-flex {
    color: #FFEFE6;
    font-size: 19px;
    border-bottom: solid 1px #FFFFFF33;
    padding: 0 0 25px;
    margin: 0 0 25px;
}

/* Container */
.timeline-wrapper {
    display: flex;
    position: relative;
}

/* LEFT TIMELINE */
.timeline {
    position: sticky;
    top: 100px;
    width: 20px;
    display: flex;
    justify-content: center;
    margin-right: 20px;
}

.timeline-line {
    position: relative;
    width: 2px;
    height: 100%;
    background: #ddd;
}

.timeline-progress {
    position: absolute;
    width: 2px;
    background: #8b1d13;
    height: 0;
    top: 0;
    transition: height 0.2s ease;
}

.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #8b1d13;
    border-radius: 4px;
    left: -6px;
    top: 0;
    transition: top 0.2s ease;
}

/* CONTENT */
.content {
    flex: 1;
}

/* Active state */
.section.active h2 {
    color: #8b1d13;
}

.contentBx h2 {
    font-size: 40px;
    color: #000000;
    margin: 0 0 20px;
}

.contentBx p {
    font-size: 18px;
    color: #101210;
    margin: 0 0 50px;
}

.contentBx img {
    width: 100%;
    border-radius: 24px;
}

.ourLegacySec {
    background: url(../images/built-on-bg.png) 0 0 / cover;
    background-attachment: fixed;
}

.whiteFont .sectionBorder span,
.whiteFont .sectionHeading h2,
.whiteFont p {
    color: #fff;
}

.smallBorder {
    border-top: solid 1px transparent;
}

.smallBorder.sectionBorder:before {
    width: 80px;
    background: #fff;
}

.halfCircle {
    display: flex;
    justify-content: center;
}

.contetWithCircle {
    position: relative;
}

.iconContent h3 {
    font-size: 18px;
}

.iconContentWrp {
    background: #fff;
    padding: 10px;
    position: absolute;
    left: -30px;
    max-width: 350px;
    text-align: center;
    bottom: 0;
    transform: scale(1);
    transition: all 500ms ease;
}

.iconContentWrp:hover {
    transform: scale(1.05);
    transition: all 500ms ease;
}

.iconContentWrp.leftMiddle {
    left: 90px;
    top: 30%;
    bottom: auto;
}

.iconContentWrp.topCenter {
    bottom: auto;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.iconContentWrp.rightMiddle {
    left: auto;
    top: 30%;
    right: 130px;
    bottom: auto;
}

.iconContentWrp.rightbottom {
    left: auto;
    right: 0px;
}

.cicleThumb {
    position: absolute;
    left: 50%;
    bottom: -150px;
    transform: translateX(-50%);
    text-align: center;
}

.iconBx {
    margin-bottom: 15px;
}

.circleImg img {
    width: 400px;
    border-radius: 50%;
    display: block;
    margin-bottom: 20px;
}

.partner-with-stc {
    background: url('../images/partner-stc.png') center/cover no-repeat;
    display: flex;
    height: 600px;
    overflow: hidden;
}

.partner-with-stc .content {
    position: relative;
    display: block;
    /* top: 400px; */
    height: 100%;
    padding: 25px;
}

.content-box {
    top: 470px;
    position: relative;
    transition: cubic-bezier(0.6, 0.04, 0.98, 0.335);

}

.content-box {
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.partner-with-stc .content:hover .content-box {
    transform: translateY(0);
}

.partner-with-stc .content:hover .content-box {
    top: 415px;
}

.partner-with-stc .content:hover {
    background-color: #7E1C11;

}

.whyTopSec {
    background: #E8E0CC;
    padding: 100px 0;
}

.partnersSec {
    background: url(../images/CTA.png) 0 0 / cover;
}

.partnersSec .sectionHeading h2 {
    color: #fff;
}

.partnersSec .para {
    font-size: 20px;
    color: #fff;
}

.mainFooter {
    background-color: #000000;
    padding: 80px 0px 30px;
}

.footerLogo p {
    font-size: 17px;
    color: rgb(214, 214, 216);
    margin: 20px 0px 0px;
}

.footerLinks h3 {
    color: rgb(255, 255, 255);
    font-size: 24px;
    margin: 0px 0px 15px;
    font-weight: 500;
}

.footerLinks ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.footerLinks ul li {
    margin: 0px 0px 8px;
    color: rgb(214, 214, 216);
    font-size: 17px;
}

.footerLinks ul li a {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

.footerLinks ul li a:hover {
    color: rgb(206 206 206);
}

.copyright>span,
.priLink a {
    color: rgb(255, 255, 255);
    font-size: 16px;
    display: inline-block;
}

.priLink a {
    margin-left: 15px;
}

.priLink a:not(:first-child)::before {
    content: "•";
    position: relative;
    left: -9px;
}

.copyright {
    border-top: 1px solid #353535;
    padding-top: 30px;
    margin-top: 30px;
    font-size: 16px;
}

.footerLogo p {
    font-size: 15px;
    color: rgb(255, 255, 255);
    margin: 20px 0px 0px;
}

.socialIcons {
    margin: 20px 0px 0px;
    padding: 0px;
    display: flex;
    gap: 10px;
}

.accordion-body {
    padding-top: 0px;
    font-size: 16px;
    color: rgb(103, 116, 137);
}

.accordion-button::after {
    content: "+";
    font-size: 32px;
    font-weight: 300;
    width: auto;
    height: auto;
    transform: none;
    background: none !important;
}

.accordion-button:not(.collapsed)::after {
    content: "−";
}

.newsletterBx input {
    width: 100%;
    border: 1px solid rgb(227, 232, 239);
    background: rgb(250, 250, 250);
    padding: 10px 15px;
    font-size: 14px;
    color: rgb(103, 116, 137);
    border-radius: 10px;
}


/* =========================
   CAREER PAGE
========================= */

.lightBorder {
    border-top: solid 1px rgba(255, 255, 255, 0.25);
    color: #fff;
}

.lightBorder:before {
    background: #ffffff;
}

.careerHero {
    background: #7E1C11;
    padding: 210px 0 60px;
    color: #fff;
}

.careerBtn {
    margin-top: 30px;
}

.careerHeroContent h1 {
    font-size: 64px;
    line-height: 1.02;
    font-weight: 500;
    color: #FFEFE6;
    margin: 0;
}

.careerHeroMeta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-top: 30px;
}

.careerHeroText {
    max-width: 600px;
}

.careerHeroText p {
    color: #F7E8E4;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.careerHeroMeta .careerBtn {
    margin-top: 0;
    white-space: nowrap;
}

.galleryThumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.whiteBtn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
}

.arrowCircle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #7E1C11;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.whyJoinSec {
    background: #F8F8F8;
}

.whyJoinGrid {
    /* border-top: 1px solid #dddddd; */
    /* border-left: 1px solid #dddddd; */
}

.whyJoinCard {
    /* padding: 28px 24px 30px; */
    margin: 20px;
    /* border-right: 1px solid #dddddd; */
    border-bottom: 1px solid #0000001A;
    background: #F8F8F8;
    min-height: 240px;
}

.whyJoinCard .serial {
    display: inline-block;
    color: #7E1C11;
    font-size: 16px;
    font-weight: 700;
    /* font-family: "Roboto Mono", monospace; */
    font-family: "Jost";
    margin-bottom: 18px;
}

.whyJoinCard h3 {
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 15px;
    color: #7E1C11;
    font-weight: 500;
}

.whyJoinCard p {
    font-size: 16px;
    color: #6F7781;
    line-height: 1.7;
    margin: 0;
}

.lifeCard {
    background: #FFEFE6;
    overflow: hidden;
    height: 100%;
}

.lifeCard img {
    width: 100%;
    /* height: 230px; */
    object-fit: cover;
    display: block;
}

.lifeCardContent {
    text-align: center;
    padding: 34px;
}

.lifeCardContent h3 {
    font-size: 22px;
    margin: 0 0 8px;
    color: #7E1C11;
    font-weight: 500;
}

.lifeCardContent p {
    font-weight: 400;
    font-size: 17px;
    text-align: center;
    color: #202427;
    margin: 0;
    line-height: 1.6;
}

.positionsList {
    border-top: 1px solid #dddddd;
}

.positionRow {
    display: grid;
    grid-template-columns: 350px 1fr 160px;
    gap: 25px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #dddddd;
}

.positionLeft h3 {
    font-size: 29px;
    color: #080D0D;
    margin: 0 0 13px;
    font-weight: 400;
}

.positionLeft span {
    font-size: 15px;
    color: #6F7781;
    font-weight: 400;
    display: block;
}

.positionCenter {
    margin-left: 100px;
}

.positionRight .colorBtn {
    border-radius: 4px !important;
}

.positionCenter p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #6F7781;
    line-height: 1.7;
}

/* ===== Career page (rebuilt) ===== */
.goldItalic {
    font-style: italic;
    color: #d8b15a;
}

.whyTopHead {
    text-align: center;
    margin-bottom: 56px;
}

/* Alternate career page: "Life at STC" ring on the left, cards on the right.
   The ring is restyled wine-on-cream (instead of white-on-wine). */
.whyTopSplit {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: center;
}
.whyTopAside {
    display: flex;
    justify-content: flex-start;
}
.whyTopSec--split .whyTopGrid {
    justify-content: flex-start;
}
.whyTopSec .whyTopRing {
    border-color: rgba(146, 29, 19, 0.30);
}
.whyTopSec .whyTopRing .ringOrbit::before,
.whyTopSec .whyTopRing .ringOrbit::after {
    background: var(--stc-gold);
}
.whyTopSec .whyTopRing .home-kicker {
    margin-bottom: 10px;
}
.whyTopSec .whyTopRing h2 {
    color: var(--home-red);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
}
@media (max-width: 991px) {
    .whyTopSplit {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .whyTopAside {
        justify-content: center;
    }
    .whyTopSec--split .whyTopGrid {
        justify-content: center;
    }
}
@media (max-width: 575px) {
    .whyTopSec .whyTopRing {
        width: 260px;
        height: 260px;
    }
    .whyTopSec .whyTopRing h2 {
        font-size: 24px;
    }
}

.whyTopHead .home-kicker {
    margin-bottom: 16px;
}

.whyTopSec .sectionHeading h2 {
    color: var(--home-red);
    font-weight: 400;
    font-size: clamp(34px, 4vw, 56px);
    margin: 0;
}

.whyTopGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.whyTopCard {
    flex: 0 1 calc((100% - 48px) / 3);
    background: #F2ECDE;
    border: 1px solid rgba(146, 29, 19, 0.12);
    padding: 36px 30px;
    text-align: center;
}

.whyTopIcon {
    margin-bottom: 18px;
}

.whyTopIcon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.whyTopCard h3 {
    color: var(--home-red);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
}

.whyTopCard p {
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.lifeAtSec {
    background: #7E1C11;
    color: #fff;
    padding: 100px 0;
}

.lifeAtGrid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 70px;
    align-items: center;
}

.lifeAtRing {
    position: relative;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ringOrbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    animation: ringSpin 16s linear infinite;
}

.ringOrbit::before,
.ringOrbit::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8b15a;
}

.ringOrbit::before {
    left: -5px;
}

.ringOrbit::after {
    right: -5px;
}

@keyframes ringSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ringOrbit {
        animation: none;
    }
}

.lifeAtRing .home-kicker {
    margin-bottom: 14px;
}

.lifeAtRing h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 300;
    margin: 0;
}

.lifeAtItems {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 44px 48px;
}

.lifeItem .lifeNum {
    display: block;
    font-family: "Roboto Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    color: #d8b15a;
    margin-bottom: 12px;
}

.lifeItem .lifeNum::after {
    content: "";
    display: block;
    margin-top: 8px;
    width: 40px;
    height: 9px;
    background-color: currentColor;
    -webkit-mask: url("../images/kicker-arrow.png") left center / contain no-repeat;
    mask: url("../images/kicker-arrow.png") left center / contain no-repeat;
}

.lifeItem h3 {
    font-size: 23px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 10px;
}

.lifeItem p {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.positionsSec {
    background: #E8E0CC;
    padding: 100px 0;
}

.positionsSec .sectionHeading h2 {
    color: var(--home-red);
    font-weight: 400;
    font-size: clamp(34px, 4vw, 56px);
    margin: 0;
}

.positionsList {
    border-top: 1px solid rgba(146, 29, 19, 0.22);
}

.positionRow {
    border-bottom: 1px solid rgba(146, 29, 19, 0.22);
}

.positionsSec .positionLeft h3 {
    color: var(--home-red);
}

.positionsSec .positionLeft span,
.positionsSec .positionCenter p {
    color: var(--home-muted);
}

.positionsSec .positionRight .colorBtn {
    background: transparent;
    border: 1px solid var(--home-red);
    color: var(--home-red) !important;
    border-radius: 0 !important;
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.positionsSec .positionRight .colorBtn:hover {
    background: var(--home-red);
    color: #fff !important;
}

.smallBtn {
    font-size: 16px;
    padding: 7px 16px;
    border-radius: 12px !important;
}

.cta-btn-padding {
    padding-top: 14px !important;
    padding-right: 24px !important;
    padding-bottom: 14px !important;
    padding-left: 24px !important;
}

/* active nav */
nav#mainNav .nav-item>a.active::after {
    width: 100%;
}

/* =========================
   CAREER DETAIL PAGE
========================= */

.jobHero {
    background: #7E1C11;
    padding: 150px 0 70px;
    color: #fff;
}

.jobHeroTop h1 {
    font-size: 56px;
    color: #fff;
    margin: 0 0 18px;
    font-weight: 500;
    line-height: 1.08;
}

.jobMetaRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.whiteApplyBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #fff;
    color: #7E1C11 !important;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.whiteApplyBtn:hover {
    background: #f4f4f4;
    color: #7E1C11 !important;
}

.jobMetaList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.jobMetaList li {
    color: #F7E6E2;
    font-size: 14px;
    position: relative;
    padding-right: 20px;
}

.jobMetaList li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.6);
}

.jobDetailSec {
    background: #E8E0CC;
    padding: 55px 0 80px;
}

.jobContentWrap {
    max-width: 1080px;
    margin: 0 auto 55px;
}

.jobContentWrap p {
    font-size: 16px;
    line-height: 1.8;
    color: #4d3b33;
    margin: 0 0 18px;
}

.jobContentWrap li {
    font-size: 16px;
    line-height: 1.8;
    color: #4d3b33;
    margin: 0 0 10px;
}

.jobContentWrap h4 {
    font-size: 22px;
    font-weight: 600;
    color: #7E1C11;
    margin: 32px 0 14px;
}

.jobContentWrap ul {
    padding-left: 20px;
    margin: 0 0 18px;
}

.jobInfoBlock {
    margin-top: 26px;
}

.jobInfoBlock h3 {
    font-size: 28px;
    color: #111;
    margin: 0 0 14px;
    font-weight: 600;
}

.jobList {
    margin: 0;
    padding-left: 20px;
}

.jobList li {
    font-size: 16px;
    line-height: 1.8;
    color: #585858;
    margin-bottom: 8px;
}

.applyJobBox {
    max-width: 760px;
    margin: 0 auto 20px;
    background: #F2ECDE;
    border: 1px solid rgba(146, 29, 19, 0.12);
    border-radius: 6px;
    padding: 40px 40px 44px;
}

.applyJobBox .customInput,
.applyJobBox .phoneField,
.applyJobBox #phone {
    background: #ffffff !important;
    border: 1px solid #e3ddcf !important;
}

.applyJobBox .customInput::placeholder,
.applyJobBox #phone::placeholder {
    color: #8a8a8a !important;
}

.applyJobHead h2 {
    font-size: 30px;
    color: #080D0D;
    margin: 0 0 8px;
    font-weight: 400;
}

.applyJobHead p {
    font-size: 16px;
    color: #6F7781;
    margin: 0 0 28px;
    font-weight: 400;
}

.customInput::placeholder,
#phone::placeholder {
    color: #080D0D !important;
    opacity: 1;
    /* ensures full black (not faded) */
}

.customInput {
    height: 52px;
    border: none;
    background: #F1F1F1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #080D0D !important;
    box-shadow: none !important;
}

.customInput::placeholder {
    color: #777;
}

.customInput:focus {
    background: #F3F3F3;
    border: none;
}

.phoneField {
    display: flex;
    align-items: center;
    background: #F3F3F3;
    border-radius: 4px;
    width: 100%;
    /* overflow: hidden;
    height: 52px; */
}

.countryCode {
    min-width: 72px;
    text-align: center;
    font-size: 14px;
    color: #222;
    border-right: 1px solid #ddd;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
}

.phoneInput {
    border-radius: 0 !important;
    background: transparent !important;
}

.selectWrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23777777' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.uploadLabel {
    font-size: 14px;
    color: #111;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 500;
}

.resumeUploadBox {
    border: 1px dashed #FF5D2B;
    border-radius: 4px;
    background: #FFF9F8;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resumeUploadInner {
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #FF5D2B !important;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    flex-direction: row;
}

.resumeUploadInner i {
    font-size: 16px;
}

/* Drag-and-drop highlight + validation message */
.resumeUploadBox.is-dragover {
    border-color: #7E1C11;
    background: #fbeae7;
}

.resume-error {
    color: #b3261e;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

/* ===== Public form feedback popup ===== */
#web-feedback-modal .wf-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(95, 20, 12, 0.28);
}

#web-feedback-modal .modal-body {
    padding: 40px 32px 32px;
}

#web-feedback-modal .wf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    font-size: 38px;
    margin-bottom: 16px;
}

#web-feedback-modal .wf-icon.wf-success {
    background: #e3f3ea;
    color: #2e7d52;
}

#web-feedback-modal .wf-icon.wf-error {
    background: #fbeae7;
    color: #b3261e;
}

#web-feedback-modal .wf-title {
    font-size: 24px;
    font-weight: 700;
    color: #7E1C11;
    margin: 0 0 8px;
}

#web-feedback-modal .wf-message {
    color: #4d3b33;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

#web-feedback-modal .wf-close {
    border: none;
    background: #7E1C11;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 200ms ease;
}

#web-feedback-modal .wf-close:hover {
    background: #5f140c;
}

.applyFullBtn {
    width: 100%;
    justify-content: center;
    height: 48px;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   CONTACT PAGE
========================= */

.contactHeroSec {
    padding: 135px 0 0;
    background: #ffffff;
}

.contactHeroBox {
    background: #7E1C11;
    border-radius: 14px;
    padding: 45px 50px;
    color: #fff;
    margin-bottom: 35px;
}

.lightBorder {
    border-top: solid 1px rgba(255, 255, 255, 0.35);
    color: #fff;
}

.lightBorder:before {
    background: #fff;
}

.contactHeroContent h1 {
    font-size: 64px;
    line-height: 1.02;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.contactHeroText p {
    color: #f4dfdb;
    font-size: 17px;
    line-height: 1.8;
    margin: 8px 0 0;
}

.solutionCard .head {
    padding: 30px;
}

.solutionCard .foot {
    padding: 0px;
}

/* =========================
   CONTACT HERO (red + tile bg)
========================= */
.contactHero {
    position: relative;
    background-color: #7E1C11;
    background-image: url("../images/contact-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 170px 0 100px;
    color: #fff;
}

.contactHeroGrid {
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 60px;
    align-items: center;
}

.contactHeroInfo h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 44px;
}

.contactDetail {
    margin-bottom: 26px;
}

.contactDetail span {
    display: block;
    font-size: 15px;
    color: #d8b15a;
    font-weight: 600;
    margin-bottom: 6px;
}

.contactDetail a {
    font-size: 22px;
    color: #fff;
    font-weight: 400;
}

.contactDetail a:hover {
    color: #d8b15a;
}

.contactSocial {
    margin-top: 6px;
}

.contactSocial span {
    display: block;
    font-size: 15px;
    color: #d8b15a;
    font-weight: 600;
    margin-bottom: 12px;
}

.contactSocialIcons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contactSocialIcons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contactSocialIcons a:hover {
    background: #d8b15a;
    border-color: #d8b15a;
    color: #7E1C11;
}

.contactFormCard {
    background: #ffffff;
    padding: 34px 34px 38px;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    color: #101210;
}

/* intl-tel-input dropdown - keep text dark (hero sets white) */
.contactFormCard .iti__country-list {
    color: #101210;
}

.contactFormCard .iti__country .iti__country-name,
.contactFormCard .iti__country .iti__dial-code {
    color: #101210;
}

.contactFormCard .iti__country.iti__highlight {
    background-color: #f3ede0;
}

.contactFormCard h3 {
    color: #7E1C11;
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 4px;
}

.contactFormCard > p {
    color: #7E1C11;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 22px;
}

.contactFormCard label {
    display: block;
    font-size: 13px;
    color: #4a4a4a;
    font-weight: 400;
    margin-bottom: 7px;
}

.contactFormCard .contactInput {
    height: 50px;
    border-radius: 4px;
    border: 1px solid #e3ddcf;
    background: #ffffff;
}

.contactFormCard .contactTextarea {
    height: 130px;
}

/* intl-tel-input field inside the card */
.contactFormCard .iti {
    width: 100%;
}

.contactFormCard .contactSubmitBtn {
    display: flex;
    width: auto;
    min-width: 170px;
    margin: 8px auto 0;
    background: #7E1C11 !important;
    color: #fff !important;
    border: 1px solid #7E1C11 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
}

.contactFormCard .contactSubmitBtn:hover {
    background: #ffffff !important;
    color: #7E1C11 !important;
}

.contactMainSec {
    padding: 60px 0 80px;
    background: #ffffff;
}

/* Privacy / Terms content area uses the site cream theme */
.contactMainSec.terms-condition {
    background: #E8E0CC;
}

.contactInfoCard {
    background: #FFEFE6;
    border-radius: 20px;
    padding: 34px 28px;
    min-height: 100%;
}

.contactInfoCard h3 {
    font-size: 24px;
    color: #101210;
    margin: 0 0 8px;
    font-weight: 600;
}

.contactInfoCard>p {
    font-size: 16px;
    color: #101210;
    font-weight: 400;
    margin: 0 0 28px;
    line-height: 1.7;
}

.contactInfoItem {
    margin-bottom: 26px;
}

.contactInfoItem:last-child {
    margin-bottom: 0;
}

.contactInfoItem span {
    display: block;
    font-size: 16px;
    color: #7E1C11;
    font-weight: 600;
    margin-bottom: 8px;
}

.contactInfoItem a {
    font-size: 16px;
    color: #101210;
    font-weight: 400;
}

.contactInfoItem a:hover {
    color: #7E1C11;
}

.contactFormBox {
    background: #F5F5F5;
    padding: 28px;
    border-radius: 20px;
}

.contactFormBox label {
    display: block;
    font-size: 16px;
    color: #0E1109;
    margin-bottom: 8px;
    font-weight: 500;
}

.contactInput {
    height: 54px;
    background: #ffffff;
    border: 1px solid #e8e4e2;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 400;
    color: #677489;
    box-shadow: none !important;
}

.contactInput::placeholder {
    color: #8a8a8a;
}

.contactInput:focus {
    border-color: #7E1C11;
    background: #ffffff;
}

.contactTextarea {
    height: 155px;
    resize: none;
    padding-top: 14px;
}

/* .privacyHero .container {
        max-width: 1380px;
    } */

.privacyHero {
    padding: 180px 0 90px !important;
}

.terms-condition p,
.terms-condition li {
    color: #4d3b33;
    font-size: 18px;
    /* font-family: 'Gilroy'; */
}

.terms-condition h4,
.terms-condition p b {
    color: #7E1C11;
}

.terms-condition a {
    color: #7E1C11;
    text-decoration: underline;
}

.contactSubmitBtn {
    /* min-width: 185px; */
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 40px !important;
    text-transform: capitalize !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

/* =========================
   SERVICE PAGE
========================= */

.serviceHero {
    background: url('../images/service-banner.png') center/cover;
    padding: 250px 0 120px;
    position: relative;
    color: #fff;
}

.serviceHero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.serviceHeroContent {
    position: relative;
    max-width: 650px;
}

.serviceHeroContent h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.serviceHeroContent p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* SERVICE CARDS */

.serviceCard {
    background: #f5f5f5;
    border-radius: 24px;
    padding: 20px 40px;
    margin-bottom: 30px;
}

.serviceCard.reverse .row {
    flex-direction: row-reverse;
}

.serviceText h3 {
    font-size: 38px;
    margin-bottom: 15px;
}

.serviceText p {
    font-size: 18px;
    margin-bottom: 20px;
}

.text-right {
    text-align: right;
}

.serviceImg {
    width: 100%;
    border-radius: 24px;
    height: 470px;
    width: 400px;
    object-fit: cover;
}

/* PARTNER GRID */

.partnerGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 10px;
}

.partnerItem {
    background: #ddd;
    padding: 30px;
    color: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.partnerItem.main {
    background: #7E1C11;
}

.partnerItem:not(.main) {
    background: rgba(0, 0, 0, 0.5);
}

.partnerItem h4 {
    font-size: 20px;
}

/* =========================
   SERVICE DETAIL PAGE
========================= */

.serviceDetailHero {
    /* background: url('../images/service-01.png') center/cover; */
    padding: 210px 0 120px;
    position: relative;
    color: #fff;
}

.serviceDetailHero2 {
    padding: 335px 0 120px;
    height: 850px;
}

.serviceDetailHero2 {
    position: relative;
    overflow: hidden;
}

/* Background image (flipped if needed) */
.serviceDetailHero2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/service-banner-2.png') center/cover no-repeat !important;
    transform: scaleX(-1);
    /* remove if not needed */
    z-index: -2;
}

/* Black gradient overlay */
.serviceDetailHero2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(0 0 0) 0%, rgb(0 0 0 / 40%) 30%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.serviceDetailHero3 {
    padding: 335px 0 120px;
    height: 850px;
}

.careerGallery {
    margin-top: 70px !important;
}

.team-img {
    height: 450px;
    object-fit: cover;
    object-position: top;
}

.serviceDetailHero3 {
    position: relative;
    overflow: hidden;
}

/* Background image (flipped if needed) */
.serviceDetailHero3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/service-01.png') center/cover no-repeat !important;
    z-index: -2;
}

/* Black gradient overlay */
.serviceDetailHero3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(0 0 0) 0%, rgb(0 0 0 / 40%) 30%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.serviceDetailHero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.heroContent {
    position: relative;
    /* max-width: 650px; */
}

.heroContent h1 {
    font-size: 61px;
    margin-bottom: 15px;
}

.heroContent p {
    font-size: 18px;
    font-weight: 500;
}


/* DARK SECTION */

.serviceDetailMain {
    background: #E8E0CC;
    color: var(--home-red);
    padding: 140px 0 90px;
}

.serviceDetailMain .sectionHeading h2 {
    color: var(--home-red);
    font-weight: 400;
    font-size: clamp(34px, 4vw, 52px);
}


/* GRID */

.solutionGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solutionCard {
    background: #F2ECDE;
    border: 1px solid rgba(146, 29, 19, 0.12);
    border-radius: 0;
    min-height: 400px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.solutionCard .foot img {
    position: absolute;
    right: 0;
    bottom: 0;
}

.solutionCard .foot img.center-space {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.solutionCard .foot img.right-space {
    right: 30px;
}

.solutionCard.big {
    grid-column: span 1;
}

.solutionCard h4 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--home-red);
}

.solutionCard h6 {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--home-muted);
}

.solutionCard p {
    font-size: 16px;
    color: var(--home-muted);
    font-weight: 400;
    line-height: 1.4;
}


/* IMPACT */

.impactSection {
    margin-top: 50px;
}

.impactSection h3 {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 500;
    color: var(--home-red);
}

.impactGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.impactCard {
    background: #7E1C11;
    color: var(--home-cream);
    padding: 26px 24px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}


/* CTA BUTTON */

.whiteBtnOutline {
    border: 1px solid #fff;
    padding: 10px 25px;
    color: #fff !important;
    border-radius: 6px;
}

.whiteBtnOutline:hover {
    background: #fff;
    color: #000 !important;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.careerGallery .galleryThumb {
    cursor: pointer;
}

.marquee-item {
    flex: 0 0 auto;
    width: 250px;
}

.marquee-item img {
    width: 100%;
    border-radius: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Career gallery carousel */
.careerSwiper {
    position: relative;
    overflow: hidden;
}

.careerSwiper .swiper-slide {
    height: auto;
}

.careerNav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #7E1C11;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, color 0.25s ease;
}

.careerNav:hover {
    background: #7E1C11;
    color: #fff;
}

.careerNav--prev {
    left: 18px;
}

.careerNav--next {
    right: 18px;
}

.careerNav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/*==================About Page=========================*/
.colorBgBanner {
    background: #7E1C11;
    padding-top: 170px;
}

.colorBgBanner h5 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 14px;
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    letter-spacing: 1px;
}

section.colorBgBanner h1 {
    font-size: 64px;
    color: #FFEFE6;
    font-weight: 500;
    margin: 30px 0 0;
}

.fullBanner img {
    width: 100%;
}

.font-20 {
    font-size: 20px;
}

.thumbBx img {
    width: 100%;
    border-radius: 15px;
}

.thumbBx {
    text-align: center;
}

.thumbBx h3 {
    font-size: 22px;
    color: #7E1C11;
    font-weight: 600;
    margin: 20px 0 5px;
}

.thumbBx h5 {
    color: #6F7781;
    font-size: 16px;
    font-weight: 500;
}

.circleThumb img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.thumbBx h4 {
    font-size: 20px;
    color: #7E1C11;
    margin: 20px 0 5px;
}

.thumbBx h6 {
    font-size: 18px;
    color: #6F7781;
}

.thumbBx p {
    font-size: 16px;
    color: #6A6A6A;
}

.bxWrp {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.bx {
    width: calc(100% / 2 - 20px);
    background: #F5F5F5;
    padding: 30px;
}

.bx h3 {
    font-size: 28px;
    color: #7E1C11;
    font-weight: 300;
    margin: 0 0 10px;
}

.bx h4 {
    font-size: 20px;
    font-weight: 600;
    color: #7E1C11;
    margin: 0 0 20px;
}

.bx p {
    font-size: 16px;
    color: #000000;
}












:root {
    --bg: #7E1C11;
    --bg-deep: #7a1d12;
    --line: rgba(255, 239, 231, 0.34);
    --line-glow: rgba(255, 200, 170, 0.24);
    --text: #ffe9dd;
    --muted: rgba(255, 233, 221, 0.9);
    --accent: #fb7342;
    --accent-bright: #ff8d5f;
    --accent-soft: rgba(251, 115, 66, 0.26);
    --card-width: clamp(230px, 44vw, 320px);
    --section-height: 3100px;
}

.story-section {
    position: relative;
    overflow: hidden;
    padding: 24px 0 48px;
    background: #7E1C11;

}

.story-shell {
    position: relative;
    width: min(100%, 760px);
    height: var(--section-height);
    margin: 0 auto;
}

.intro {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 18px;
    text-align: center;
    pointer-events: none;
}

.eyebrow-dot {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 auto 10px;
    background: var(--accent);
}

.eyebrow {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFEFE6;
}

.eyebrow-line {
    width: 2px;
    height: 56px;
    background: linear-gradient(180deg, rgba(255, 231, 220, 0.75), rgba(255, 231, 220, 0.06));
}

.intro h2 {
    margin: 0 0;
    letter-spacing: -0.05em;
    font-weight: 500;
    font-size: 64px;
    color: #FFEFE6;
    background: #7E1C11;
}

.timeline-svg-container {
    position: absolute;
    inset: 0;
}

.timeline-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.timeline-path-glow {
    stroke: rgba(255, 196, 170, 0.95);
    stroke-width: 3.4;
    fill: none;
    opacity: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.35s ease, opacity 0.35s ease;
}

.timeline-path {
    stroke: var(--line);
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 2px rgba(255, 224, 212, 0.16));
}

.node-group {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transition: filter 0.35s ease;
}

.node-core {
    fill: var(--accent);
    transition: fill 0.35s ease;
}

.node-halo {
    fill: var(--accent-soft);
    transition: opacity 0.35s ease, fill 0.35s ease;
}

.node-spark {
    fill: none;
    stroke: rgba(255, 242, 236, 0.95);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-text {
    fill: rgba(255, 243, 235, 0.98);
    font-family: var(--font-display);
    font-size: 19px;
    font-style: italic;
    letter-spacing: -0.03em;
    opacity: 0.84;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transition: fill 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

.milestone {
    position: absolute;
    z-index: 2;
    width: var(--card-width);
    --content-glow: 0;
    filter: drop-shadow(0 0 calc(4px + 16px * var(--content-glow)) rgba(251, 115, 66, calc(0.06 + 0.18 * var(--content-glow))));
    transition: filter 0.4s ease;
    opacity: 0.5;
}

.milestone h2,
.milestone h3 {
    margin: 0;
    line-height: 0.95;
    font-weight: 600;
    color: #EA633E;
    font-size: 52px;
}

.milestone p {
    margin: 12px 0 0;
    color: rgba(255, 239, 231, 0.96);
    font-size: 18px;
}

.milestone p em {
    font-style: italic;
}

.milestone.is-active {
    opacity: 1;
    transition: all 0.4s ease;
}

.node-group.is-active {
    filter:
        drop-shadow(0 0 10px rgba(251, 115, 66, 0.62)) drop-shadow(0 0 24px rgba(255, 205, 181, 0.28));
}

.node-group.is-active .node-core {
    fill: var(--accent-bright);
}

.node-group.is-active .node-halo {
    opacity: 0.42;
    fill: rgba(251, 115, 66, 0.4);
}

.step-text.is-active {
    fill: #fff8f4;
    opacity: 1;
    filter:
        drop-shadow(0 0 10px rgba(255, 213, 191, 0.8)) drop-shadow(0 0 20px rgba(251, 115, 66, 0.34));
}

.year-1946 {
    left: 72%;
    top: 540px;
}

.year-1970 {
    left: -14.5%;
    top: 915px;
}

.year-1980 {
    left: 5%;
    top: 1560px;
}

.year-1994 {
    left: 76%;
    top: 2060px;
}

.year-2001 {
    left: -20%;
    top: 2320px;
}

.year-today {
    left: 20%;
    top: 2860px;
    width: min(66vw, 380px);
}

.story-footer-fade {
    position: absolute;
    inset: auto 0 0;
    height: 260px;
    background: linear-gradient(180deg, rgba(122, 29, 18, 0), rgba(122, 29, 18, 0.45));
    pointer-events: none;
    z-index: 0;
}

@media only screen and (max-width: 767px) {
    .content-new h3 {
        min-height: 90px;
        font-size: 20px;
        margin: 0;
    }

    .content-new p {
        font-size: 14px;
    }
    /* .year-1946 {
        left: 30%;
    }
    .year-1970 {
        left: 6.5%;
    }
    .year-1980 {
        top: 1296px;
    }
    .year-1994 {
        left: 30%;
        top: 1737px;
    }
    .year-2001 {
        left: 6%;
        top: 2035px;
    }
    .year-today {
        left: 6%;
        top: 2329px;
        width: min(66vw, 380px);
    } */


}


@media only screen and (max-width: 991px) {
    .sectionHeading h2, section.colorBgBanner h1, .intro h2 {
        font-size: 32px !important;
    }
}

/* Final STC Figma refresh overrides */
body {
    background: var(--stc-cream) !important;
    color: var(--stc-wine);
    letter-spacing: 0;
}

header.mainHeader {
    background: var(--stc-cream) !important;
    border-bottom: 1px solid rgba(87, 56, 38, 0.16);
    box-shadow: none;
}

nav#mainNav .container {
    max-width: none;
    width: 100%;
    padding: 18px 80px;
    border-radius: 0;
}

nav#mainNav .nav-item>a {
    color: var(--stc-wine) !important;
    text-transform: none;
    font-size: 16px;
    font-weight: 500;
}

nav#mainNav .nav-item>a:hover,
.dropmenu:hover>a,
.dropmenu {
    color: var(--stc-wine) !important;
}

.nav-contact-link {
    min-width: 56px;
    height: 44px;
    padding: 11px 18px !important;
    border: 1px solid var(--stc-wine);
    justify-content: center;
}

.banner {
    min-height: 100vh;
    padding: 110px 0 64px;
    background-position: center top;
    isolation: isolate;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(128, 19, 13, 0.96) 0%, rgba(112, 28, 22, 0.82) 38%, rgba(36, 22, 15, 0.34) 72%, rgba(143, 31, 23, 0.96) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.14));
}

.banner .container,
.bannerContent {
    position: relative;
    z-index: 1;
}

.bannerContent {
    max-width: 900px;
    padding-top: 24px;
}

.stc-eyebrow,
.colorBgBanner h5 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.stc-eyebrow {
    color: #fff;
}

.stc-eyebrow span,
.colorBgBanner h5 span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.stc-eyebrow b,
.colorBgBanner h5 b {
    display: inline-block;
    width: 54px;
    height: 1px;
    background: currentColor;
    position: relative;
}

.stc-eyebrow b::after,
.colorBgBanner h5 b::after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
}

.stc-eyebrow em {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    margin: 0 8px;
}

.bannerContent h1 {
    color: #fff !important;
    font-size: clamp(46px, 5vw, 74px);
    font-weight: 300;
    line-height: 1.08;
}

.bannerContent h1 span,
.sectionHeading h2 span,
.colorBgBanner h1 span {
    color: var(--stc-gold);
    font-family: "Jost", sans-serif;
    font-style: italic;
    font-weight: 400;
}

.heroLead {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 34px;
}

.lineBtn,
.colorBtn,
.blackBtn,
.greyBtn,
.whiteBtnSpc {
    border-radius: 0 !important;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

.banner .colorBtn,
.ourLegacySec .blackBtn,
.newsletterBx .colorBtn {
    color: #fff !important;
}

.colorBtn:hover,
.blackBtn:hover,
.whiteBtnSpc:hover {
    background: var(--stc-wine);
    border-color: var(--stc-wine);
    color: #fff !important;
}

.darkBg,
.whatWeDoSec,
.serviceListSec,
.partnerSec,
.partnersSec,
.fourGenSec,
.leadershipSec,
.story-section {
    background: var(--stc-cream) !important;
}

.sectionBorder,
.darkBg .sectionBorder {
    border-top: 1px solid var(--stc-line);
    color: var(--stc-wine);
    font-family: "Roboto Mono", monospace;
}

.sectionBorder::before {
    display: none;
}

.sectionHeading h2,
section.colorBgBanner h1,
.intro h2 {
    color: var(--stc-wine) !important;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 300;
    line-height: 1.05;
}

.aboutSec,
.aboutSec .para,
.aboutSec p,
.whatWeDoSec p,
.ourLegacySec p,
.serviceText p {
    color: var(--stc-wine);
}

.aboutSec .para,
.aboutSec p,
.whatWeDoSec p,
.ourLegacySec p,
.serviceText p {
    font-size: 18px;
    line-height: 1.55;
}

.redCircle,
.customSec .contentShadow:hover .d-block,
.customSec .contentShadow.active .d-block {
    background: var(--stc-wine) !important;
}

.whatWeDoSec .contentBx {
    border-top: 1px solid rgba(143, 31, 23, 0.22);
    padding: 34px 0;
}

.whatWeDoSec .contentBx h2,
.serviceText h3 {
    color: var(--stc-wine);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 300;
}

.ourLegacySec {
    background: var(--stc-wine) !important;
    color: #fff;
}

.ourLegacySec .sectionBorder,
.ourLegacySec .sectionHeading h2,
.ourLegacySec p {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.32);
}

.partnersSec .sectionHeading h2,
.partnersSec .para {
    color: var(--stc-wine) !important;
}

.mainFooter {
    background: var(--stc-wine-dark) !important;
    color: var(--stc-cream);
}

.footerLinks ul li a,
.footerLinks h3,
.copyright>span,
.copyright>span a {
    color: var(--stc-cream) !important;
}

.colorBgBanner {
    background: var(--stc-cream) !important;
    padding: 150px 0 58px;
    border-bottom: 1px solid rgba(87, 56, 38, 0.16);
}

.colorBgBanner h5,
.colorBgBanner p {
    color: var(--stc-wine);
}

.colorBgBanner p {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.55;
    margin: 0;
}

.fullBanner img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 0;
}

.story-section .eyebrow,
.story-section .intro h2,
.milestone h2,
.milestone h3,
.milestone p,
.step-text,
.thumbBx h3,
.thumbBx h4,
.thumbBx h5,
.thumbBx h6,
.thumbBx p {
    color: var(--stc-wine) !important;
}

.serviceHeroContent h1 {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 300;
}

.serviceCard {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(143, 31, 23, 0.2);
    border-radius: 0;
    box-shadow: none;
}

@media only screen and (max-width: 991px) {
    nav#mainNav .container {
        padding: 10px 16px;
    }

    .navbar-toggler i {
        color: var(--stc-wine);
    }

    div#navbarSupportedContent {
        background: var(--stc-wine-dark);
    }

    nav#mainNav .nav-item>a,
    .dropmenu {
        color: #fff !important;
    }

    .bannerContent h1 {
        font-size: 38px !important;
    }

    .heroLead {
        font-size: 18px;
    }

    .colorBgBanner {
        padding: 120px 0 40px;
    }
}

@media only screen and (max-width: 767px) {
    section.banner {
        padding: 130px 0 80px !important;
        min-height: 640px;
    }

    .stc-eyebrow,
    .colorBgBanner h5 {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
}

/* PDF matched homepage */
:root {
    --home-cream: #eee7d5;
    --home-cream-deep: #dbca99;
    --home-red: #921d13;
    --home-red-dark: #82170f;
    --home-red-card: #83180f;
    --home-gold: #dccc9c;
    --home-muted: #a34439;

    /* Brand palette used across button/section rules below.
       (These were referenced but previously undefined, which made
        var(--stc-wine) collapse to transparent — the cause of the
        invisible white-on-transparent button hover.) */
    --stc-wine: #7E1C11;
    --stc-wine-dark: #5f140c;
    --stc-cream: #E8E0CC;
    --stc-gold: #A88B42;
    --stc-line: rgba(146, 29, 19, 0.22);
}

.home-final {
    background: var(--home-cream);
    color: var(--home-red);
}

.home-final .container,
.mainFooter .container,
nav#mainNav .container {
    max-width: none;
}

.home-final > section > .container,
.mainFooter .container {
    max-width: none;
    padding-left: 74px;
    padding-right: 74px;
}

header.mainHeader {
    min-height: 96px;
    background: var(--home-cream) !important;
    border-bottom: 1px solid rgba(146, 29, 19, 0.16);
    box-shadow: none;
}

header.mainHeader .navbar-brand img.logoScrollTop {
    filter: brightness(0) saturate(100%) invert(15%) sepia(80%) saturate(1740%) hue-rotate(350deg) brightness(88%) contrast(94%) !important;
}

nav#mainNav .container {
    padding: 18px 74px;
}

.navbar-brand img {
    width: 72px;
    height: auto;
}

nav#mainNav .nav-item {
    padding: 0 17px;
}

nav#mainNav .nav-item>a {
    font-size: 14px;
    font-weight: 600;
}

.nav-contact-link {
    min-width: 136px;
    height: 42px;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
}

nav#mainNav .nav-item>a.nav-contact-link {
    border: 1px solid var(--home-red) !important;
    color: var(--home-red) !important;
}

.home-hero {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: flex-start;
    padding: 230px 0 110px;
    overflow: hidden;
    background-color: #7c1c11;
    background-image:
        linear-gradient(90deg, rgba(124, 28, 17, 0.97) 0%, rgba(124, 28, 17, 0.82) 42%, rgba(40, 12, 8, 0.55) 100%),
        url("../images/hero-bg.webp");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.home-hero .container {
    width: 100%;
}

.home-hero__content {
    max-width: 880px;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--home-red);
    font-family: "Roboto Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.home-kicker--light {
    color: #fff;
}

.home-kicker span {
    width: 78px;
    height: 11px;
    background-color: currentColor;
    -webkit-mask: url("../images/kicker-arrow.png") left center / contain no-repeat;
    mask: url("../images/kicker-arrow.png") left center / contain no-repeat;
}

.home-kicker b {
    display: none;
}

.home-kicker em {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: currentColor;
}

.home-hero h1 {
    margin: 0 0 30px;
    color: #fff;
    font-size: clamp(42px, 3.9vw, 68px);
    font-weight: 400;
    line-height: 1.14;
}

.home-hero h1 span {
    font-family: "Jost", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.05em;
    color: #fff;
}

.home-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.5;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid currentColor;
    color: var(--home-red) !important;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.home-btn--light {
    color: #fff !important;
}

.home-btn:hover {
    background: var(--home-red);
    border-color: var(--home-red);
    color: #fff !important;
}

/* Light buttons sit ON the wine services section — hovering to wine would
   blend them into the background. Flip to white-on-wine for clear, and
   consistent, contrast across both service cards. */
.home-btn--light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--home-red) !important;
}

.home-about {
    padding: 100px 0;
    background: var(--home-cream);
}

.home-section-head {
    max-width: 850px;
    margin: 0 auto 78px;
    text-align: center;
}

.home-section-head .home-kicker {
    margin-bottom: 26px;
}

.home-section-head h2 {
    margin: 0 0 24px;
    color: var(--home-red);
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.08;
}

.home-section-head p {
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 21px;
    line-height: 1.45;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.home-stat-card {
    position: relative;
    min-height: 200px;
    padding: 28px 18px 30px;
    background: #F2ECDE;
    border: 1px solid rgba(146, 29, 19, 0.12);
    color: var(--home-red);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-stat-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    height: 24px;
    background: url("../images/divider-center.png") center / 100% auto no-repeat;
}

.home-stat-card strong {
    display: block;
    margin-bottom: 18px;
    font-size: clamp(38px, 3vw, 54px);
    font-weight: 400;
    line-height: 1;
}

.home-stat-card span {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.35;
}

.home-services {
    padding: 98px 0 96px;
    background: var(--home-red);
    color: #fff;
}

.home-services h2 {
    margin: 0 0 62px;
    color: #fff;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 400;
    line-height: 1;
}

.home-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
}

.home-service-card {
    min-height: 365px;
    padding: 64px 56px 54px;
    color: #fff;
}

.home-service-card--featured {
    background: var(--home-red-card);
    border-left: 2px solid #c9a850;
}

.home-service-card__number {
    margin-bottom: 32px;
    font-family: "Roboto Mono", monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.home-service-card h3 {
    position: relative;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(27px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1.16;
}

.home-service-card h3::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 7px;
    background:
        linear-gradient(45deg, transparent 38%, #d2b650 39% 58%, transparent 59%),
        radial-gradient(circle at 35% 35%, #d2b650 0 3px, transparent 4px);
}

.home-service-card p {
    max-width: 560px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.5;
}

.home-legacy {
    position: relative;
    padding: 100px 0 96px;
    background: var(--home-cream-deep);
    overflow: hidden;
}

.home-legacy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/legacy-bg.png") center bottom / cover no-repeat;
    opacity: 1;
}

.home-legacy .container {
    position: relative;
    z-index: 1;
}

.home-legacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    gap: 110px;
    align-items: center;
}

.home-legacy-image {
    position: relative;
    width: min(100%, 520px);
    margin-left: 60px;
}

.home-legacy-image::before,
.home-legacy-image::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}

.home-legacy-image::before {
    left: -52px;
    bottom: -54px;
    width: 260px;
    height: 234px;
    background-image: url("../images/legacy-corner-bl.png");
    background-position: bottom left;
}

.home-legacy-image::after {
    right: -52px;
    top: -54px;
    width: 260px;
    height: 234px;
    background-image: url("../images/legacy-corner-tr.png");
    background-position: top right;
}

.home-legacy-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    filter: sepia(0.42) saturate(0.8);
}

.home-legacy-content {
    max-width: 580px;
    padding-left: 36px;
}

.home-legacy-content h2 {
    margin: 0 0 24px;
    color: var(--home-red);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.12;
}

.home-legacy-content p {
    margin: 0 0 34px;
    color: var(--home-muted);
    font-size: 18px;
    line-height: 1.38;
}

.mainFooter {
    padding: 70px 0 0;
    background: var(--home-cream) !important;
    color: var(--home-red);
}

.footerTop {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(120px, 0.7fr) minmax(250px, 1fr) minmax(190px, 0.8fr);
    gap: 70px;
    align-items: start;
    padding-bottom: 70px;
}

.footerLogo {
    margin: 0;
    text-align: left;
}

.footerLogo img {
    width: 180px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(15%) sepia(80%) saturate(1740%) hue-rotate(350deg) brightness(88%) contrast(94%);
}

.footerLinks {
    margin: 0;
}

.footerLinks h3 {
    margin: 0 0 22px;
    color: var(--home-red) !important;
    font-family: "Roboto Mono", monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footerLinks ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footerLinks ul li,
.footerLinks ul li a {
    color: var(--home-red) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none !important;
}

.footerLinks ul li {
    margin: 0 0 12px;
}

.footerLinks ul li a:hover {
    color: var(--home-muted) !important;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 32px;
    border-top: 1px solid var(--home-red);
    color: var(--home-red);
}

.copyright>span,
.copyright>span a {
    color: var(--home-red) !important;
    font-size: 14px;
    font-weight: 500;
}

@media only screen and (max-width: 1199px) {
    .home-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-legacy-grid {
        gap: 60px;
    }

    .footerTop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 991px) {
    header.mainHeader {
        min-height: 78px;
        background: var(--home-cream) !important;
    }

    header.mainHeader .navbar-brand img.logoScrollTop {
        filter: brightness(0) saturate(100%) invert(15%) sepia(80%) saturate(1740%) hue-rotate(350deg) brightness(88%) contrast(94%);
    }

    .navbar-toggler i {
        color: var(--home-red) !important;
    }

    .home-hero {
        min-height: 620px;
        padding: 120px 0 70px;
    }

    .home-service-grid,
    .home-legacy-grid {
        grid-template-columns: 1fr;
    }

    .home-legacy-image {
        margin: 0 auto;
    }

    .home-legacy-content {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    nav#mainNav .container {
        padding: 10px 16px;
    }

    .home-hero {
        min-height: auto;
        padding: 104px 0 58px;
    }

    .home-hero h1 {
        font-size: clamp(28px, 7.6vw, 36px);
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .home-kicker {
        font-size: 11px;
        margin-bottom: 18px;
        gap: 8px;
    }

    .home-kicker span {
        width: 54px;
        height: 9px;
    }

    .home-hero p,
    .home-section-head p,
    .home-legacy-content p {
        font-size: 16px;
    }

    .home-section-head h2,
    .home-services h2,
    .home-legacy-content h2 {
        font-size: 29px;
        line-height: 1.22;
    }

    .home-section-head {
        margin-bottom: 40px;
    }

    .home-services h2 {
        margin-bottom: 34px;
    }

    .home-about,
    .home-services,
    .home-legacy {
        padding: 64px 0;
    }

    .home-final > section > .container,
    .mainFooter .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-stat-card {
        min-height: 168px;
        padding: 24px 12px 26px;
    }

    .home-service-card {
        min-height: auto;
        padding: 34px 24px;
    }

    .home-legacy-image {
        width: 82%;
    }

    .home-legacy-image::before {
        left: -26px;
        bottom: -28px;
        width: 150px;
        height: 135px;
    }

    .home-legacy-image::after {
        right: -26px;
        top: -28px;
        width: 150px;
        height: 135px;
    }

    .footerTop {
        grid-template-columns: 1fr 1fr;
        gap: 32px 18px;
    }

    .footerLogo {
        grid-column: 1 / -1;
    }

    .footerLogo img {
        width: 120px;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

/* Career page responsive */
@media only screen and (max-width: 991px) {
    .careerHeroMeta {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .whyTopCard {
        flex-basis: calc((100% - 24px) / 2);
    }

    .lifeAtGrid {
        grid-template-columns: 1fr;
        gap: 44px;
        justify-items: center;
        text-align: center;
    }

    .lifeAtItems {
        gap: 34px 32px;
        text-align: left;
    }

    .positionRow {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .positionCenter {
        margin-left: 0;
    }
}

@media only screen and (max-width: 575px) {
    .whyTopCard {
        flex-basis: 100%;
    }

    .lifeAtItems {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .lifeAtRing {
        width: 260px;
        height: 260px;
    }

    .lifeAtRing h2 {
        font-size: 34px;
    }
}

/* ===================== ABOUT US — Figma refresh ===================== */
.aboutHero.colorBgBanner {
    background: #E8E0CC !important;
    border-bottom: 1px solid rgba(126, 28, 17, 0.16);
    padding: 140px 0 56px;
}

section.colorBgBanner.aboutHero h1 {
    color: #7E1C11 !important;
    font-size: clamp(40px, 4.4vw, 58px);
    font-weight: 400;
    line-height: 1.08;
    margin-top: 0;
    margin-bottom: 22px;
}

section.colorBgBanner.aboutHero h1 span {
    color: #A88B42;
    font-family: "Jost", sans-serif;
    font-style: italic;
    font-weight: 400;
}

.aboutHero .home-kicker {
    margin-bottom: 8px !important;
}

.aboutHero p {
    color: #7E1C11 !important;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.6;
}

/* Story / timeline — deep red */
section.story-section {
    background: #7E1C11 !important;
}

.story-section .intro h2 {
    color: #FFEFE6 !important;
    background: transparent !important;
}

.story-section .eyebrow {
    color: #FFEFE6 !important;
}

.intro-sub {
    max-width: 460px;
    margin: 8px auto 0;
    color: rgba(255, 239, 230, 0.82);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.story-section .eyebrow-dot {
    background: #A88B42;
}

.story-section .node-core {
    fill: #A88B42;
}

.story-section .node-halo {
    fill: rgba(168, 139, 66, 0.26);
}

.story-section .step-text {
    fill: #d8b15a;
}

.story-section .milestone h2,
.story-section .milestone h3 {
    color: #d8b15a !important;
}

.story-section .milestone p {
    color: #FFEFE6 !important;
}

/* House of Raja */
.rajaSec {
    background: #E8E0CC;
    padding: 92px 0 96px;
}

.rajaHead {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.rajaHead .home-kicker {
    justify-content: center;
}

.rajaSec h2 {
    color: #7E1C11;
    font-size: clamp(38px, 4.4vw, 60px);
    font-weight: 300;
    line-height: 1.06;
    margin: 0 0 18px;
}

.rajaIntro {
    color: #4d3b33;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.rajaFrame {
    position: relative;
    border: 1.5px solid #7E1C11;
    border-radius: 34px 0 34px 0;
    padding: 56px clamp(20px, 5vw, 64px) 60px;
}

.rajaFrame::before,
.rajaFrame::after {
    content: "";
    position: absolute;
    width: 104px;
    height: 94px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.rajaFrame::before {
    top: -3px;
    right: -3px;
    background-image: url("../images/legacy-corner-tr.png");
    background-position: top right;
}

.rajaFrame::after {
    bottom: -3px;
    left: -3px;
    background-image: url("../images/legacy-corner-bl.png");
    background-position: bottom left;
}

.genBlock {
    padding: 30px 0;
}

.genBlock + .genBlock {
    border-top: 1px solid rgba(126, 28, 17, 0.16);
}

.genLabel {
    text-align: center;
    color: #921d13;
    font-family: "Roboto Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.genRow {
    display: grid;
    gap: 36px;
    justify-content: center;
}

.genRow--one {
    grid-template-columns: minmax(0, 440px);
}

.genRow--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.rajaCard {
    text-align: center;
}

.rajaPhoto {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 18px;
}

.rajaPhoto img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    filter: sepia(0.22) saturate(0.92);
}

.genRow--one .rajaPhoto {
    max-width: 220px;
}

.rajaCard h3 {
    color: #7E1C11;
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 4px;
}

.rajaRole {
    display: block;
    color: #b98a32;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rajaLineage {
    display: block;
    color: #8a7a6f;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 8px;
}

.rajaCard p {
    color: #4d3b33;
    font-size: 15px;
    line-height: 1.55;
    max-width: 360px;
    margin: 0 auto;
}

/* What Sets Us Apart */
.apartSec {
    background: #E8E0CC;
    padding: 96px 0 100px;
}

.apartHead {
    margin-bottom: 56px;
}

.apartHead .home-kicker {
    margin-bottom: 6px !important;
}

.apartHead h2 {
    color: #7E1C11;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 400;
    line-height: 1.06;
    margin: 0;
}

.apartGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.apartCard {
    padding: 0 32px;
    border-left: 1px solid rgba(126, 28, 17, 0.22);
}

.apartCard:first-child {
    padding-left: 0;
    border-left: none;
}

.apartNum {
    display: block;
    color: #A88B42;
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.apartCard h3 {
    color: #7E1C11;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 14px;
}

.apartCard p {
    color: #97554c;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
