
/* =========================================================
   JJF Homepage / Target UI Overrides
   Matches the supplied desktop reference design.
========================================================= */

html, body {
    margin: 0;
    padding: 0;
}

body.rgc-theme {
    background: #fff;
    color: #777;
}

/* ---------- Header ---------- */
.jjf-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 110px;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none !important;
}

.jjf-header-container {
    max-width: 1080px !important;
    height: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
}

.jjf-header .header-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.jjf-header .header-logo {
    padding-top: 20px;
    margin: 0;
    line-height: 0;
}

.jjf-header .header-logo a {
    display: inline-block;
    line-height: 0;
}

.jjf-header .header-logo .jjf-logo {
    display: block;
    width: 105px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.jjf-header .header-toggle {
    display: block !important;
    position: absolute;
    top: 43px;
    right: 2px;
    width: 34px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 10001;
}

.jjf-header .header-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    margin: 0 0 6px auto;
    background: #fff !important;
    transition: transform .25s ease, opacity .25s ease;
}

.jjf-header .header-toggle.toggle-close span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.jjf-header .header-toggle.toggle-close span:nth-child(2) {
    opacity: 0;
}

.jjf-header .header-toggle.toggle-close span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Closed by default; the existing theme JS opens it by adding .show. */
.jjf-header .header-menu {
    display: block !important;
    position: fixed;
    top: 0;
    right: -320px;
    left: auto;
    width: 300px;
    height: 100vh;
    padding: 110px 35px 35px;
    overflow-y: auto;
    background: rgba(20, 21, 22, .97);
    box-shadow: 0 0 35px rgba(0,0,0,.25);
    transition: right .35s ease;
    z-index: 10000;
}

.jjf-header .header-menu.show {
    left: auto !important;
    right: 0 !important;
}

.jjf-header .header-menu .nav {
    display: block;
}

.jjf-header .header-menu .nav .nav-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.jjf-header .header-menu .nav .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.jjf-header .header-menu .nav .nav-link:hover {
    color: #fff !important;
}

@media (max-width: 1100px) {
    .jjf-header-container {
        max-width: calc(100% - 50px) !important;
    }
}

@media (max-width: 767px) {
    .jjf-header {
        height: 90px;
    }

    .jjf-header .header-logo {
        padding-top: 15px;
    }

    .jjf-header .header-logo .jjf-logo {
        width: 82px;
    }

    .jjf-header .header-toggle {
        top: 34px;
        right: 0;
    }

    .jjf-header-container {
        max-width: calc(100% - 35px) !important;
    }
}

/* ---------- Hero ---------- */
.rgc-home .section-fullscreen {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    background-position: center center;
    background-size: cover;
}

.rgc-home .section-fullscreen > .bg-black-03 {
    min-height: 100%;
    background: rgba(0, 0, 0, 0.28);
}

.rgc-home .section-fullscreen .container {
    max-width: 1200px;
    margin: 0 auto;
}

.rgc-home .section-fullscreen h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(42px, 4vw, 72px);
    letter-spacing: 1px;
}

.rgc-home .section-fullscreen h4 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .2px;
    color: rgba(255,255,255,.8);
}

.rgc-home .section-fullscreen .position-bottom {
    bottom: 28px;
}

.rgc-home .section-fullscreen .button-circle {
    color: #fff;
    border-color: rgba(255,255,255,.55);
}

/* ---------- Welcome ---------- */
.rgc-home #introduction {
    padding: 105px 0 100px;
}

.rgc-home #introduction .container {
    max-width: 1100px;
}

.rgc-home #introduction h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
}

.rgc-home #introduction p {
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.9;
}

.rgc-home #introduction .divider-width-50px {
    margin: 0 auto 18px;
}

/* ---------- Three feature cards ---------- */
.rgc-home .hoverbox-6 {
    display: block;
    width: 100%;
    height: 350px;
}

.rgc-home .hoverbox-6 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rgc-home .hoverbox-6 .content {
    padding: 30px 28px;
}

.rgc-home .hoverbox-6 .content h5 {
    margin-bottom: 8px;
    font-size: 16px;
}

.rgc-home .hoverbox-6 .content p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.6;
}

.rgc-home .row.col-spacing-20 {
    margin-left: -10px;
    margin-right: -10px;
}

.rgc-home .row.col-spacing-20 > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* ---------- Counter strip ---------- */
.rgc-home .clientele {
    padding: 95px 0 80px;
}

.rgc-home .clientele h2 {
    font-size: 26px;
    font-weight: 300;
}

.rgc-home .clientele picture,
.rgc-home .clientele picture img {
    display: block;
}

.rgc-home .clientele img {
    max-height: 470px;
    object-fit: cover;
    object-position: center;
}

/* Keep counter section visually close to the reference */
.rgc-home .section-md.bg-image {
    background-position: center;
    background-size: cover;
}

.rgc-home .section-md.bg-image .bg-dark-grey-07 {
    background: rgba(38, 40, 42, .72);
}

.rgc-home .section-md.bg-image .row {
    padding-top: 12px;
    padding-bottom: 12px;
}

.rgc-home .section-md.bg-image h2 {
    color: #fff;
    font-size: 28px;
}

.rgc-home .section-md.bg-image p {
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

/* ---------- Footer ---------- */
#footer {
    background: #151719;
    color: rgba(255,255,255,.65);
}

#footer .section-sm {
    padding: 70px 0 65px;
    background: #191b1d !important;
}

#footer .section-sm .container {
    max-width: 1080px;
}

#footer .section-sm .row {
    align-items: center;
}

#footer .footer-logo {
    display: inline-block;
    line-height: 0;
}

#footer .footer-logo img {
    width: 105px;
    max-width: 105px;
    height: auto;
}

#footer .footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

#footer .footer-nav li {
    margin: 0;
}

#footer .footer-nav a {
    color: rgba(255,255,255,.72);
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

#footer .footer-nav a:hover {
    color: #fff;
}

#footer .section-xs {
    padding: 22px 0;
    background: #101213 !important;
}

#footer .section-xs p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 11px;
}

@media (max-width: 767px) {
    #footer .section-sm {
        padding: 50px 0;
    }

    #footer .footer-nav {
        justify-content: center;
        margin-top: 30px;
    }

    #footer .section-xs p {
        text-align: center;
    }
}

