:root {
    --primary-blue: #075ca8;
    --deep-blue: #06345f;
    --navy: #042747;
    --accent-orange: #f4a127;
    --accent-gold: #ffb547;
    --light-bg: #f6f9fc;
    --soft-blue: #eaf3fb;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.top-bar {
    background: var(--deep-blue);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar i {
    color: var(--accent-orange);
    margin-right: 6px;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.navbar-brand {
    gap: 12px;
}

.brand-logo,
.footer-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 3px solid var(--accent-orange);
    box-shadow: 0 8px 16px rgba(7, 92, 168, 0.18);
}

.brand-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    letter-spacing: .3px;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1.1;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 10px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    border-radius: 99px;
    background: var(--accent-orange);
}

.btn-rizhle {
    background: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    color: var(--navy);
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
}

.btn-rizhle:hover {
    background: #e89216;
    border-color: #e89216;
    color: #ffffff;
}

.btn-outline-rizhle {
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
}

.btn-outline-rizhle:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

.hero-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(4, 39, 71, 0.96) 0%, rgba(7, 92, 168, 0.90) 48%, rgba(7, 92, 168, 0.25) 100%),
        url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.23);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 0.98;
    margin-bottom: 22px;
    letter-spacing: -1.5px;
}

.hero-title span {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 18px;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 14px;
    max-width: 720px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.hero-stat-card h3 {
    color: var(--accent-orange);
    font-size: 30px;
    font-weight: 900;
    margin: 0;
}

.hero-stat-card p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 700;
}

.section-padding {
    padding: 90px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-bg {
    background: var(--light-bg);
}

.section-title-wrap {
    margin-bottom: 44px;
}

.section-kicker {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    color: var(--deep-blue);
    line-height: 1.08;
    margin-bottom: 12px;
}

.section-text {
    color: var(--text-muted);
    max-width: 780px;
    margin: 0;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 34px;
    height: 100%;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.about-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.about-card h4 {
    font-weight: 900;
    color: var(--deep-blue);
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 26px;
    height: 100%;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(7, 92, 168, 0.25);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.project-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    height: 100%;
    transition: 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
}

.project-image {
    height: 240px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    position: relative;
    overflow: hidden;
}

.project-image.placeholder-industrial {
    background:
        linear-gradient(135deg, rgba(7, 92, 168, .28), rgba(4, 39, 71, .38)),
        url('../images/project-industrial.jpg');
    background-size: cover;
    background-position: center;
}

.project-image.placeholder-infra {
    background:
        linear-gradient(135deg, rgba(7, 92, 168, .25), rgba(4, 39, 71, .35)),
        url('../images/project-infra.jpg');
    background-size: cover;
    background-position: center;
}

.project-image.placeholder-commercial {
    background:
        linear-gradient(135deg, rgba(7, 92, 168, .22), rgba(4, 39, 71, .32)),
        url('../images/project-commercial.jpg');
    background-size: cover;
    background-position: center;
}

.project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-orange);
    color: var(--navy);
    font-weight: 900;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 999px;
}

.project-body {
    padding: 24px;
}

.project-body h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 8px;
}

.project-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.client-strip {
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.client-logo-card {
    min-height: 86px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--deep-blue);
    text-align: center;
    padding: 14px;
    transition: 0.25s ease;
}

.client-logo-card:hover {
    background: var(--soft-blue);
    color: var(--primary-blue);
}

.cta-section {
    background:
        linear-gradient(135deg, rgba(4, 39, 71, .97), rgba(7, 92, 168, .96));
    color: #ffffff;
    border-radius: 34px;
    padding: 54px;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(244, 161, 39, 0.18);
    right: -80px;
    bottom: -110px;
}

.cta-section h2 {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    position: relative;
    z-index: 2;
}

.cta-section p,
.cta-section .cta-actions {
    position: relative;
    z-index: 2;
}

.site-footer {
    background: var(--navy);
    color: #ffffff;
}

.footer-main {
    padding: 70px 0 45px;
}

.footer-brand h5 {
    margin: 0;
    font-weight: 900;
    color: #ffffff;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.footer-logo {
    margin-right: 12px;
    width: 48px;
    height: 48px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

.footer-heading {
    color: var(--accent-orange);
    font-weight: 900;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background: var(--accent-orange);
    color: var(--navy);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--accent-orange);
    flex: 0 0 auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.65);
    padding: 18px 0;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-orange);
    color: var(--navy);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.back-to-top.show {
    display: flex;
}

@media (max-width: 991px) {
    .main-navbar {
        padding: 10px 0;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 64px 0;
    }

    .cta-section {
        padding: 34px;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .brand-title {
        font-size: 12px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }
}

.brand-logo-img {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 3px solid var(--accent-orange) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 8px 16px rgba(7, 92, 168, 0.18) !important;
    flex: 0 0 auto !important;
}

.brand-logo-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    display: block !important;
}

@media (max-width: 575px) {
    .brand-logo-img {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
    }
}

.inner-hero {
    background:
        linear-gradient(120deg, rgba(4, 39, 71, .96), rgba(7, 92, 168, .88)),
        url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 95px 0;
    position: relative;
    overflow: hidden;
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.inner-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 18px;
}

.inner-hero p {
    font-size: 18px;
    max-width: 760px;
    color: rgba(255,255,255,.86);
    margin: 0;
}

.info-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.info-panel h4 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 22px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-soft);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: var(--text-muted);
    font-size: 14px;
}

.info-row strong {
    color: var(--deep-blue);
    text-align: right;
    font-size: 14px;
}

.value-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 28px;
    transition: .25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.value-card i {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.value-card h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.service-card-large {
    min-height: 260px;
}

.service-list-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-soft);
    color: var(--deep-blue);
    font-weight: 800;
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-list-item i {
    color: var(--accent-orange);
    font-size: 20px;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .inner-hero {
        padding: 70px 0;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-row strong {
        text-align: left;
    }
}

.project-filter-box {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.filter-label {
    font-size: 13px;
    font-weight: 900;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.filter-control {
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    font-weight: 600;
    color: var(--text-dark);
}

.filter-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(7, 92, 168, .12);
}

.project-result-summary {
    color: var(--text-muted);
    font-size: 15px;
}

.project-result-summary strong {
    color: var(--deep-blue);
}

.project-list-card .project-body h5 a {
    color: var(--deep-blue);
}

.project-list-card .project-body h5 a:hover {
    color: var(--primary-blue);
}

.project-thumb-link {
    display: block;
}

.project-thumb {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15,23,42,.18);
}

.project-read-more {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.project-read-more:hover {
    color: var(--accent-orange);
}

.empty-state {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    padding: 54px 34px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 18px;
}

.empty-state h3 {
    color: var(--deep-blue);
    font-weight: 900;
}

.empty-state p {
    color: var(--text-muted);
}

.project-detail-hero {
    position: relative;
    color: #ffffff;
    padding: 120px 0;
    overflow: hidden;
}

.project-detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.project-detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
}

.project-detail-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
}

.project-detail-content h1 {
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 18px;
}

.project-detail-content p {
    max-width: 780px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    margin-bottom: 30px;
}

.project-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 14px;
}

.project-detail-meta div {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.project-detail-meta i {
    color: var(--accent-orange);
    font-size: 22px;
    margin-bottom: 8px;
    display: block;
}

.project-detail-meta span {
    display: block;
    color: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.project-detail-meta strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.project-detail-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.project-main-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 22px;
}

.detail-subtitle {
    color: var(--deep-blue);
    font-weight: 900;
    margin-top: 28px;
    margin-bottom: 10px;
}

.project-side-panel {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    position: sticky;
    top: 105px;
}

.project-side-panel h4 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 20px;
}

.side-info-row {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-soft);
}

.side-info-row:last-of-type {
    border-bottom: none;
}

.side-info-row span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.side-info-row strong {
    color: var(--deep-blue);
    font-size: 14px;
}

.project-side-note {
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: #ffffff;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    gap: 14px;
}

.project-side-note i {
    color: var(--accent-orange);
    font-size: 30px;
    flex: 0 0 auto;
}

.project-side-note h5 {
    font-weight: 900;
    margin-bottom: 8px;
}

.project-side-note p {
    color: rgba(255,255,255,.78);
    margin: 0;
    font-size: 14px;
}

@media (max-width: 991px) {
    .project-detail-meta {
        grid-template-columns: 1fr;
    }

    .project-side-panel {
        position: static;
    }

    .project-main-img {
        height: 320px;
    }
}

@media (max-width: 575px) {
    .project-detail-hero {
        padding: 80px 0;
    }

    .project-thumb {
        height: 220px;
    }

    .project-main-img {
        height: 240px;
    }
}

.client-summary-box {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.client-summary-box h2 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 8px;
}

.client-summary-box p {
    color: var(--text-muted);
    margin: 0;
    max-width: 780px;
}

.client-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 26px;
    text-align: center;
    transition: .25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
    border-color: rgba(7, 92, 168, .22);
}

.client-logo-wrap {
    height: 92px;
    border-radius: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 12px;
}

.client-logo-wrap img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.client-initials {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: .5px;
}

.client-card h5 {
    color: var(--deep-blue);
    font-weight: 900;
    font-size: 16px;
    min-height: 45px;
    margin-bottom: 16px;
}

.client-card-footer {
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.client-card-footer i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.industry-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 28px;
    transition: .25s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.industry-card i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 18px;
}

.industry-card h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

.cert-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 28px;
    transition: .25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.cert-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.cert-category {
    display: inline-flex;
    background: rgba(244, 161, 39, .16);
    color: var(--deep-blue);
    border: 1px solid rgba(244, 161, 39, .25);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.cert-card h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 10px;
}

.cert-year {
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cert-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.cert-link {
    color: var(--primary-blue);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cert-link:hover {
    color: var(--accent-orange);
}

.cert-note {
    display: inline-flex;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.compliance-panel {
    background:
        linear-gradient(135deg, rgba(4, 39, 71, .96), rgba(7, 92, 168, .94));
    color: #ffffff;
    border-radius: 32px;
    padding: 46px;
    position: relative;
    overflow: hidden;
}

.compliance-panel h2 {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.compliance-panel p {
    color: rgba(255,255,255,.78);
    margin: 0;
}

@media (max-width: 991px) {
    .client-summary-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-summary-box .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .compliance-panel {
        padding: 30px;
        border-radius: 24px;
    }
}

/*team and equipment*/
.equipment-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 26px;
    transition: .25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.equipment-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.equipment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
    border-color: rgba(7, 92, 168, .22);
}

.equipment-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.equipment-body h5 {
    color: var(--deep-blue);
    font-weight: 900;
    font-size: 17px;
    margin-bottom: 10px;
}

.equipment-qty {
    display: inline-flex;
    background: rgba(244, 161, 39, .16);
    color: var(--deep-blue);
    border: 1px solid rgba(244, 161, 39, .25);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.equipment-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.equipment-highlight,
.team-highlight {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 32px;
    padding: 46px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.equipment-highlight h2 {
    color: var(--deep-blue);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.equipment-highlight p {
    color: var(--text-muted);
    margin: 0;
}

.team-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 26px;
    padding: 24px;
    text-align: center;
    transition: .25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
    border-color: rgba(7, 92, 168, .22);
}

.team-photo-wrap {
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 4px solid rgba(244, 161, 39, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-initial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 42px;
}

.team-dept {
    display: inline-flex;
    background: rgba(7, 92, 168, .10);
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.team-body h5 {
    color: var(--deep-blue);
    font-weight: 900;
    font-size: 17px;
    margin-bottom: 6px;
}

.team-position {
    color: var(--accent-orange);
    font-weight: 900;
    font-size: 13px;
    min-height: 38px;
    margin-bottom: 10px;
}

.team-body p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 575px) {
    .equipment-highlight,
    .team-highlight {
        padding: 28px;
        border-radius: 24px;
    }
}

/*team and equipment*/

/*contact*/

.contact-info-panel {
    height: 100%;
    background:
        linear-gradient(135deg, rgba(4, 39, 71, .97), rgba(7, 92, 168, .94));
    color: #ffffff;
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(244, 161, 39, 0.14);
    right: -90px;
    bottom: -100px;
}

.contact-info-panel h2 {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.contact-info-panel p {
    color: rgba(255,255,255,.78);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.contact-info-list {
    position: relative;
    z-index: 2;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 auto;
}

.contact-info-item span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.contact-info-item strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}

.contact-note {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.contact-note i {
    color: var(--accent-orange);
    font-size: 20px;
    flex: 0 0 auto;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-form-header h3 {
    color: var(--deep-blue);
    font-weight: 900;
    margin: 0;
    font-size: 30px;
}

.contact-form-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--soft-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex: 0 0 auto;
}

.contact-label {
    color: var(--deep-blue);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-label span {
    color: #dc2626;
}

.contact-control {
    min-height: 50px;
    border-radius: 15px;
    border: 1px solid var(--border-soft);
    font-weight: 600;
    color: var(--text-dark);
    background: #ffffff;
}

.contact-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(7, 92, 168, .12);
}

.contact-textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-submit-btn {
    min-height: 52px;
    padding-left: 24px;
    padding-right: 24px;
}

.custom-alert {
    border-radius: 16px;
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-map-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.contact-map-card h2 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-map-card p {
    color: var(--text-muted);
}

.map-placeholder {
    min-height: 350px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(7,92,168,.90), rgba(4,39,71,.94)),
        url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
}

.map-placeholder > div {
    position: relative;
    z-index: 2;
}

.map-placeholder i {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(255,255,255,.13);
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 18px;
}

.map-placeholder h4 {
    font-weight: 900;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: rgba(255,255,255,.78);
    margin-bottom: 8px;
}

.map-placeholder span {
    color: rgba(255,255,255,.64);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 575px) {
    .contact-info-panel,
    .contact-form-card,
    .contact-map-card {
        padding: 26px;
        border-radius: 24px;
    }

    .contact-form-header {
        align-items: flex-start;
    }

    .contact-form-icon {
        width: 54px;
        height: 54px;
        border-radius: 18px;
        font-size: 22px;
    }

    .contact-form-header h3 {
        font-size: 25px;
    }
}

/*contact*/

/*inquiries*/

.admin-alert {
    border-radius: 18px;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mini-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.mini-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.mini-stat-card span {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 13px;
}

.mini-stat-card strong {
    display: block;
    color: var(--deep-blue);
    font-size: 34px;
    font-weight: 900;
    margin-top: 8px;
}

.mini-stat-card i {
    position: absolute;
    right: 20px;
    bottom: 18px;
    color: rgba(7,92,168,.12);
    font-size: 50px;
}

.admin-form-label {
    color: var(--deep-blue);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.admin-form-control {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    font-weight: 600;
}

.admin-form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 .2rem rgba(7,92,168,.12);
}

.admin-table tbody tr:hover {
    background: var(--light-bg);
}

.badge-archived {
    background: rgba(107,114,128,.14);
    color: #4b5563;
    border: 1px solid rgba(107,114,128,.24);
}

.admin-modal {
    border: none;
    border-radius: 24px;
    overflow: hidden;
}

.admin-modal .modal-header {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 22px 26px;
}

.admin-modal .modal-title {
    color: var(--deep-blue);
    font-weight: 900;
}

.admin-modal .modal-body {
    padding: 26px;
}

.admin-modal .modal-footer {
    border-top: 1px solid var(--border-soft);
    padding: 18px 26px;
}

.inquiry-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.inquiry-detail-grid div {
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 16px;
}

.inquiry-detail-grid span,
.inquiry-message-box span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
}

.inquiry-detail-grid strong {
    color: var(--deep-blue);
    font-size: 14px;
}

.inquiry-message-box {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 20px;
}

.inquiry-message-box h5 {
    color: var(--deep-blue);
    font-weight: 900;
    margin-bottom: 18px;
}

.inquiry-message-box p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .inquiry-detail-grid {
        grid-template-columns: 1fr;
    }
}

/*inquiries*/

.admin-project-thumb {
    width: 76px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
}

.admin-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-current-image {
    width: 100%;
    height: 190px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
}

.admin-current-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-textarea-sm {
    min-height: 95px;
    resize: vertical;
}

.admin-textarea {
    min-height: 160px;
    resize: vertical;
}

.badge-featured {
    background: rgba(244, 161, 39, .18);
    color: #8a5206;
    border: 1px solid rgba(244, 161, 39, .30);
}

@media (max-width: 767px) {
    .admin-project-thumb {
        width: 64px;
        height: 48px;
    }
}


/* =========================================================
   RCDC Website Transition Effects
   Add-on for public website pages
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    opacity: 0;
    transition: opacity .45s ease;
}

body.page-loaded {
    opacity: 1;
}

.main-navbar {
    transition: padding .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.main-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
    border-bottom-color: rgba(7, 92, 168, .10);
}

.main-navbar.navbar-scrolled .brand-logo-img,
.main-navbar.navbar-scrolled .brand-logo {
    transform: scale(.92);
}

.brand-logo-img,
.brand-logo,
.footer-logo,
.footer-logo-img {
    transition: transform .25s ease, box-shadow .25s ease;
}

.navbar-brand:hover .brand-logo-img,
.navbar-brand:hover .brand-logo {
    transform: translateY(-2px) scale(1.03);
}

.navbar-nav .nav-link,
.btn,
.btn-rizhle,
.btn-outline-rizhle,
.project-read-more,
.footer-links a,
.footer-social a {
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.btn-rizhle:hover,
.btn-outline-rizhle:hover,
.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
}

.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-stats,
.inner-hero-content,
.project-detail-content {
    animation: rcdcFadeUp .75s ease both;
}

.hero-title,
.inner-hero-content h1,
.project-detail-content h1 {
    animation-delay: .08s;
}

.hero-subtitle,
.inner-hero-content p,
.project-detail-content p {
    animation-delay: .16s;
}

.hero-actions,
.project-detail-meta {
    animation-delay: .24s;
}

.hero-stats {
    animation-delay: .32s;
}

.hero-section::before,
.inner-hero::after,
.project-detail-bg::after,
.map-placeholder::after {
    animation: rcdcGridFloat 18s linear infinite;
}

.hero-stat-card,
.about-card,
.service-card,
.project-card,
.client-logo-card,
.client-card,
.cert-card,
.equipment-card,
.team-card,
.industry-card,
.value-card,
.info-panel,
.service-list-panel,
.contact-info-panel,
.contact-form-card,
.contact-map-card,
.project-filter-box,
.empty-state,
.compliance-panel,
.equipment-highlight,
.team-highlight,
.project-detail-card,
.project-side-panel,
.project-side-note {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.hero-stat-card:hover,
.about-card:hover,
.service-card:hover,
.project-card:hover,
.client-logo-card:hover,
.client-card:hover,
.cert-card:hover,
.equipment-card:hover,
.team-card:hover,
.industry-card:hover,
.value-card:hover,
.project-detail-card:hover,
.project-side-panel:hover,
.project-side-note:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, .11);
}

.project-card:hover .project-image,
.project-card:hover .project-thumb,
.project-card:hover .project-main-img {
    transform: scale(1.035);
}

.project-image,
.project-thumb,
.project-main-img,
.client-logo-wrap img,
.team-photo-wrap img,
.admin-current-image img {
    transition: transform .5s ease, filter .35s ease;
}

.project-card,
.project-image,
.project-thumb-link {
    isolation: isolate;
}

.project-image,
.project-thumb {
    overflow: hidden;
}

.service-icon,
.about-icon,
.value-card i,
.industry-card i,
.cert-icon,
.equipment-icon,
.contact-info-icon,
.contact-form-icon,
.empty-icon {
    transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover .service-icon,
.about-card:hover .about-icon,
.value-card:hover i,
.industry-card:hover i,
.cert-card:hover .cert-icon,
.equipment-card:hover .equipment-icon,
.contact-info-item:hover .contact-info-icon {
    transform: rotate(-3deg) scale(1.06);
    box-shadow: 0 14px 28px rgba(7, 92, 168, .14);
}

/* JS-powered scroll reveal */
body.js-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--reveal-delay, 0s);
}

body.js-ready .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready .reveal-left {
    transform: translateX(-34px);
}

body.js-ready .reveal-right {
    transform: translateX(34px);
}

body.js-ready .reveal-left.revealed,
body.js-ready .reveal-right.revealed {
    transform: translateX(0);
}

/* Subtle loading animation for cards */
.reveal-on-scroll:nth-child(2n) {
    --reveal-delay: .04s;
}

.reveal-on-scroll:nth-child(3n) {
    --reveal-delay: .08s;
}

.reveal-on-scroll:nth-child(4n) {
    --reveal-delay: .12s;
}

@keyframes rcdcFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rcdcGridFloat {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 42px 42px, 42px 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    body.js-ready .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Footer logo size fix */
.footer-logo-img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 3px solid var(--accent-orange) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin-right: 12px !important;
    flex: 0 0 52px !important;
}

.footer-logo-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 5px !important;
    display: block !important;
}

@media (max-width: 575px) {
    .footer-logo-img {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        flex-basis: 46px !important;
    }
}