:root {
    --primary-color: #EEB012;
    --primary-hover: #D49B28;
    --dark-bg: #0d0d0d;
    --darker-bg: #050505;
    --light-bg: #000000;
    --grey-bg: #0b0b0b;
    --card-bg: #161616;
    --text-dark: #ffffff;
    --text-muted: #aaaaaa;
    --text-light: #ffffff;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-family: 'Be Vietnam Pro', sans-serif;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

#wallpaper {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.workflow-title,
.news-card-title,
.blog-card-title,
.project-card-title,
.page-banner-sbs-title,
.service-sbs-title,
.widget-title,
.footer-title,
.project-grid-label {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    text-wrap: balance !important;
}



/* Custom Spacing Rules */
section {
    padding: 90px 0;
    position: relative;
    background-color: var(--light-bg);
}

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

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

/* Common Section Headers */
.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header:hover .section-title::after {
    width: 80px;
}

.section-desc {
    margin-top: 18px;
    color: var(--text-muted);
    max-width: 700px;
    font-size: 15px;
    line-height: 1.6;
}

.section-dark .section-desc {
    color: var(--text-muted);
}

/* Buttons & Interactive Elements */
.btn-gold {
    background-color: var(--primary-color);
    color: #000000;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0px; /* SBS House style: sharp corners */
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gold i {
    font-size: 12px;
}

.btn-gold:hover {
    background-color: var(--primary-hover);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 176, 18, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-outline-gold:hover {
    background-color: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

/* Fix header khi có WP Admin Bar */
body.admin-bar header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

header.scrolled {
    background-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled .navbar {
    padding: 10px 0;
}

.navbar-brand img {
    height: 45px;
    transition: var(--transition);
}

header.scrolled .navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text-light) !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

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

.nav-right-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 8px 16px;
    margin-left: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-right-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #000000 !important;
}

.nav-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    margin-left: 15px;
    transition: var(--transition);
}

.nav-phone-icon:hover {
    background-color: var(--primary-color);
    color: #000000;
}

/* --------------------------------------------------
   HOME HERO SLIDER
   -------------------------------------------------- */
.home-hero {
    height: 65vh;
    min-height: 450px;
    max-height: 600px;
    position: relative;
    background-color: #000;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

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

.hero-desc {
    font-size: 16px;
    color: #dddddd;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    max-width: 650px;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
}

.swiper-slide-active .hero-title,
.swiper-slide-active .hero-desc,
.swiper-slide-active .hero-btns {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper Nav Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--text-light) !important;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000 !important;
}

.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.3 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 6px !important;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

/* --------------------------------------------------
   STATS BAR (homepage under hero)
   -------------------------------------------------- */
.stats-bar {
    background-color: #0c0c0c;
    padding: 25px 0;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-align: left;
    max-width: 180px;
    line-height: 1.3;
}

/* --------------------------------------------------
   WE ARE SBS / BRAND SECTION
   -------------------------------------------------- */
.brand-intro {
    background-color: #0d0d0d;
    padding-bottom: 0;
}

.team-group-img-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: -50px;
    z-index: 5;
}

.brand-title {
    font-size: 80px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    margin-bottom: -30px;
}

.brand-cards {
    margin-top: 30px;
}

.brand-card-col {
    padding: 0 15px;
}

.brand-card {
    background-color: var(--primary-color);
    color: #000000;
    padding: 35px;
    border-radius: 0px;
    height: 100%;
    transition: var(--transition);
}

.brand-card.accent {
    background-color: var(--primary-color);
    color: #000000;
    border: none;
}

.brand-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.brand-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: currentColor;
}

.brand-card-desc {
    font-size: 14px;
    line-height: 1.6;
}

/* --------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------- */
.services-grid {
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-img-holder {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img-holder img {
    transform: scale(1.1);
}

.service-body {
    padding: 25px;
    position: relative;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    background-color: #000000;
    color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: absolute;
    top: -25px;
    right: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-color);
    color: #000000;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Workflow steps */
.workflow-row {
    margin-top: 50px;
    border-top: 1px dashed var(--border-color);
    padding-top: 40px;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #161616;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.workflow-step:hover .workflow-icon {
    background-color: var(--primary-color);
    color: #000000;
    transform: scale(1.1);
}

.workflow-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workflow-arrow {
    position: absolute;
    top: 25px;
    right: -15px;
    font-size: 18px;
    color: var(--primary-color);
}

/* --------------------------------------------------
   PROJECTS SECTIONS (Design & Construction)
   -------------------------------------------------- */
.project-card {
    background-color: var(--card-bg);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* SBS-Style Project Grid layout specifically for homepage */
.project-grid-item {
    position: relative;
    overflow: hidden;
    height: 260px;
    margin-bottom: 12px;
}

.project-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-grid-item:hover img {
    transform: scale(1.08);
}

.project-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    transition: background 0.3s ease;
    z-index: 2;
}

.project-grid-item:hover .project-grid-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.project-grid-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    transition: var(--transition);
}

.project-grid-item:hover .project-grid-label {
    color: var(--primary-color);
}

.project-img-box {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.project-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img-box img {
    transform: scale(1.1);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
}

.project-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-btn {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-card-btn i {
    font-size: 10px;
    transition: var(--transition);
}

.project-card:hover .project-card-btn i {
    transform: translate(3px, -3px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* --------------------------------------------------
   DIFFERENCES IN CONSTRUCTION (KHÁC BIỆT THI CÔNG)
   -------------------------------------------------- */
.diff-container {
    margin-top: 30px;
}

.diff-tabs-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.diff-tab-btn {
    background-color: #222222;
    color: #cccccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 4px;
    text-align: left;
    transition: var(--transition);
    cursor: pointer;
}

.diff-tab-btn.active {
    background-color: #333333;
    border-color: var(--primary-color);
    color: var(--text-light);
}

.diff-tab-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diff-tab-title span {
    color: var(--primary-color);
}

.diff-tab-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #999999;
}

.diff-tab-btn.active .diff-tab-desc {
    color: #dddddd;
}

.diff-image-column {
    height: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.diff-img-wrapper {
    height: 100%;
    min-height: 400px;
}

.diff-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.diff-img-wrapper img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.diff-overlay-counter {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-color);
    color: #000000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 18px;
}

/* Explore box */
.diff-explore-box {
    margin-top: 30px;
    background-color: #222222;
    border-radius: 4px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
}

.diff-explore-text h4 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--text-light);
}

.diff-explore-text p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 0;
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------
   TESTIMONIALS SECTION (PHẢN HỒI KHÁCH HÀNG)
   -------------------------------------------------- */
.testimonial-bg-section {
    background-image: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../images/about_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slider {
    width: 100%;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-card {
    background-color: #ffffff;
    color: #000000;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-quote-icon {
    font-size: 40px;
    color: rgba(238, 176, 18, 0.2);
    position: absolute;
    top: 30px;
    left: 40px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.testimonial-author-loc {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-rating {
    color: var(--primary-color);
}

/* Custom testimonial thumbs selector below */
.testimonial-thumbs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-thumb-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-thumb-item.active {
    background-color: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

/* --------------------------------------------------
   MEDIA & PARTNERS (BÁO CHÍ NÓI VỀ)
   -------------------------------------------------- */
.media-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.media-slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.media-logo {
    height: 35px;
    opacity: 0.4;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.media-logo:hover {
    opacity: 0.9;
}

/* --------------------------------------------------
   CON NGƯỜI & GIÁ TRỊ SECTION
   -------------------------------------------------- */
.values-img-col img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.values-content-col {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.values-quote {
    font-size: 22px;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.values-text {
    font-size: 15px;
    color: #cccccc;
    margin-bottom: 35px;
}

/* --------------------------------------------------
   INTERNAL ACTIVITIES (HOẠT ĐỘNG NỘI BỘ)
   -------------------------------------------------- */
.activities-slider-wrapper {
    margin-top: 30px;
    position: relative;
}

.activity-card {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.activity-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.activity-nav-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.activity-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #222222;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.activity-nav-btn:hover {
    background-color: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

/* --------------------------------------------------
   FOUNDER QUOTE & CTA BANNER
   -------------------------------------------------- */
.founder-cta-section {
    background-color: #0d0d0d;
    padding: 0;
}

.founder-img-col {
    padding: 0;
}

.founder-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.founder-cta-content {
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.founder-quote-text {
    font-size: 22px;
    line-height: 1.8;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 25px;
}

.founder-name {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
}

.founder-title {
    font-size: 13px;
    color: #aaaaaa;
}

.cta-banner-strip {
    background-color: var(--primary-color);
    padding: 25px 0;
}

.cta-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-strip-text {
    color: #000000;
}

.cta-strip-text h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-strip-text p {
    margin-bottom: 0;
    font-size: 14px;
}

.btn-black {
    background-color: #000000;
    color: var(--text-light);
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-black:hover {
    background-color: #222222;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --------------------------------------------------
   FOOTER SECTION — Premium Design
   -------------------------------------------------- */
footer {
    background-color: #0c0c0c;
    color: #b0b0b0;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
}

/* Gold accent top line */
.footer-accent-line {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(212, 175, 55, 0.3) 50%, var(--primary-color) 100%);
}

/* Footer main row */
.footer-main-row {
    padding: 50px 0 40px;
}

/* Column: About (col-lg-4) */
.footer-col-about {
    padding-right: 40px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-company-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.4;
}

/* Info list (About + Hours columns) */
.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info-list li {
    font-size: 13px;
    color: #999999;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-info-list li i {
    color: var(--primary-color);
    font-size: 13px;
    min-width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    text-align: center;
}

.footer-info-list li span {
    flex: 1;
    word-break: break-word;
}

.footer-info-list li a {
    color: #999999;
    transition: var(--transition);
}

.footer-info-list li a:hover {
    color: var(--primary-color);
}

/* Social links */
.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
}

/* Footer title for link columns */
.footer-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Link columns (Dịch Vụ + Chính Sách) */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list li a {
    font-size: 13px;
    color: #888888;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-links-icon li a i {
    color: var(--primary-color);
    font-size: 10px;
    transition: var(--transition);
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-links-icon li a:hover i {
    transform: translateX(2px);
    opacity: 1;
}

/* Hotline button */
.footer-hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-hotline-btn:hover {
    background-color: var(--primary-color);
    color: #000000 !important;
}

.footer-hotline-btn i {
    font-size: 13px;
}

/* Footer map */
.footer-map-box {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 130px;
}

.footer-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) brightness(0.85);
    transition: filter 0.3s ease;
}

.footer-map-box:hover iframe {
    filter: grayscale(0) brightness(1);
}

/* Copyright bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom-bar p {
    font-size: 12px;
    color: #555555;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------
   STICKY FLOATING ACTIONS
   -------------------------------------------------- */
.sticky-actions {
    position: fixed;
    right: 25px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
}

.sticky-btn.messenger {
    background-color: #0084FF;
}

.sticky-btn.zalo {
    background-color: #0068FF;
    font-weight: 800;
    font-size: 12px;
}

.sticky-btn.phone {
    background-color: #4CAF50;
    animation: phonePulse 1.5s infinite ease-in-out;
}

.sticky-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* --------------------------------------------------
   PAGE: PROJECT LIST / CATEGORY PAGE (TRANG CHUYÊN MỤC)
   -------------------------------------------------- */
.page-banner {
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--text-light);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.page-banner-content {
    position: relative;
    z-index: 5;
}

.page-title-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.page-title {
    font-size: 46px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-title-desc {
    font-size: 15px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb-nav {
    background-color: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-dark);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #888888 !important;
}

/* Filter controls on category page */
.filter-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #161616;
    border: 1px solid var(--border-color);
    color: #cccccc;
    padding: 10px 24px;
    border-radius: 0px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

/* --------------------------------------------------
   PAGE: PROJECT DETAIL (CHI TIẾT DỰ ÁN)
   -------------------------------------------------- */
.detail-meta-row {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta-item i {
    color: var(--primary-color);
}

.project-gallery-wrapper {
    margin-bottom: 40px;
}

.gallery-main-slider {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.gallery-main-slider .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.gallery-thumbs-slider {
    height: 100px;
}

.gallery-thumbs-slider .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.gallery-thumbs-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specs Block */
.specs-card {
    background-color: #161616;
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin-bottom: 35px;
    border-radius: 0px;
}

.specs-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.spec-info-item {
    display: flex;
    flex-direction: column;
}

.spec-info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.spec-info-value {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Content styles */
.content-area h2, .content-area h3 {
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.content-area h2::after, .content-area h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.content-area p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #cccccc;
    text-align: justify;
}

.content-area img {
    margin: 30px 0;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.content-img-caption {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
    display: block;
    background-color: #111111;
    padding: 10px;
    border-left: 2px solid var(--primary-color);
}

/* Floor Plans Grid */
.floor-plans-container {
    background-color: #161616;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
    margin: 30px 0;
}

.floor-plan-legend {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    font-size: 13px;
}

.floor-plan-legend-item {
    color: #aaaaaa;
}

/* Inline Form in Detail page */
.inline-form-box {
    background-color: #161616;
    border: 1px solid var(--primary-color);
    padding: 40px;
    border-radius: 0px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.inline-form-box h4 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.inline-form-box p {
    font-size: 13.5px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.inline-form-box .form-control {
    border: 1px solid #333333;
    background-color: #222222;
    color: #ffffff;
    border-radius: 0px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 18px;
}

.inline-form-box .form-control:focus {
    border-color: var(--primary-color);
    background-color: #2a2a2a;
    box-shadow: none;
}

.budget-radios {
    margin-bottom: 25px;
}

.budget-radios-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.budget-options-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.budget-option-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.budget-option-item input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

/* Sidebar Widgets */
.sidebar-sticky-wrapper {
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    background-color: #161616;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.sidebar-widget.accent {
    border-color: var(--primary-color);
    background-color: #161616;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
}

.sidebar-widget .form-control {
    border: 1px solid #333333;
    background-color: #222222;
    color: #ffffff;
    border-radius: 0px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 15px;
}

.sidebar-widget .form-control:focus {
    border-color: var(--primary-color);
    background-color: #2a2a2a;
    box-shadow: none;
}

/* Related / Recent Posts Widget */
.widget-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.widget-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-thumb {
    width: 70px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-post-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-post-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* Author card / Profile card */
.author-card {
    background-color: #161616;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.author-role {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.author-bio {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.author-socials {
    display: flex;
    gap: 12px;
}

.author-socials a {
    color: var(--text-muted);
    font-size: 14px;
}

.author-socials a:hover {
    color: var(--primary-color);
}

/* --------------------------------------------------
   PAGE: BLOG DETAIL (CHI TIẾT TIN TỨC)
   -------------------------------------------------- */
.blog-intro-text {
    font-size: 16px;
    font-style: italic;
    color: #cccccc;
    line-height: 1.8;
    background-color: #161616;
    padding: 25px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 30px;
}

/* Table of contents (Mục lục nội dung) */
.toc-box {
    background-color: var(--primary-color);
    border: none;
    border-radius: 0px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: block;
    width: 100%;
}

.toc-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 12px;
}

.toc-list {
    font-size: 13.5px;
    list-style: none;
    padding-left: 0;
}

.toc-list li {
    margin-bottom: 6px;
}

.toc-list li a {
    color: #000000;
    font-weight: 500;
    text-decoration: none;
}

.toc-list li a:hover {
    color: #ffffff;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
}

.info-table th, .info-table td {
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    text-align: left;
}

.info-table th {
    background-color: #222222;
    font-weight: 700;
    width: 200px;
}

.info-table td {
    color: #cccccc;
}

/* Accordion FAQ styles */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    background-color: #161616;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #222222;
}

.faq-answer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: none;
    font-size: 14px;
    color: #cccccc;
    background-color: #111111;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    background-color: #ffffff;
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --------------------------------------------------
   MODAL: POPUP BANNER (WORKSHOP REGISTER)
   -------------------------------------------------- */
.workshop-modal .modal-content {
    background-color: #121212;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.workshop-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 24px 15px;
    position: relative;
    display: block;
    text-align: center;
}

.workshop-modal .modal-header .d-flex {
    display: block !important;
    text-align: center;
    position: relative;
}

.workshop-modal .modal-header h5 {
    color: var(--primary-color) !important;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.workshop-modal .modal-header .text-white-50 {
    text-align: center !important;
    display: block !important;
    margin-top: 8px !important;
}

.workshop-modal .btn-close {
    position: absolute !important;
    right: 0 !important;
    top: -5px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 0.8;
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.workshop-modal-body {
    padding: 0;
}

.workshop-poster {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../images/about_bg.png');
    background-size: cover;
    background-position: center;
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workshop-badge {
    background-color: var(--primary-color);
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.workshop-title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.workshop-subtitle {
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.workshop-info-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 25px;
}

.workshop-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshop-info-list li i {
    color: var(--primary-color);
}

.workshop-form-wrapper {
    padding: 30px 40px;
}

.workshop-form .form-control {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    color: #ffffff;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.workshop-form .form-control::placeholder {
    color: #777777;
}

.workshop-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #222222;
}

.workshop-form .btn-register {
    width: 100%;
    background-color: var(--primary-color);
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 0;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.workshop-form .btn-register:hover {
    background-color: var(--primary-hover);
}

/* --------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------- */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }

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

    .brand-title {
        font-size: 50px;
        margin-bottom: -15px;
    }

    .brand-intro {
        padding-bottom: 40px;
    }

    .team-group-img-wrapper {
        margin-bottom: 20px;
    }

    .brand-cards {
        margin-top: 15px;
    }

    .brand-card-col {
        margin-bottom: 20px;
    }

    .values-content-col {
        padding-left: 15px;
        margin-top: 40px;
    }

    .founder-cta-content {
        padding: 50px 20px;
    }

    .founder-img-col img {
        min-height: 300px;
    }

    .footer-top {
        margin-bottom: 30px;
    }

    .footer-col {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 32px;
    }

    .gallery-main-slider .swiper-slide img {
        height: 350px;
    }

    .gallery-thumbs-slider {
        height: 70px;
    }

    .sidebar-sticky-wrapper {
        position: static;
        margin-top: 50px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .workflow-arrow {
        display: none;
    }

    .workflow-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .diff-tab-btn {
        padding: 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-quote-icon {
        top: 15px;
        left: 20px;
        font-size: 30px;
    }

    .testimonial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .workshop-form-wrapper {
        padding: 20px;
    }
}

/* --------------------------------------------------
   SBS-STYLE SERVICES GRID (6 columns)
   -------------------------------------------------- */
.services-sbs-row {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-sbs-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.service-sbs-card:last-child {
    border-right: none;
}

.service-sbs-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-sbs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-sbs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    transition: background-color 0.4s ease;
}

.service-sbs-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    z-index: 3;
    transition: transform 0.4s ease;
}

.service-sbs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-sbs-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.4s ease;
}

.service-sbs-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.service-sbs-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Hover effects */
.service-sbs-card:hover .service-sbs-img img {
    transform: scale(1.1);
}

.service-sbs-card:hover .service-sbs-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.service-sbs-card:hover .service-sbs-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

.service-sbs-card:hover .service-sbs-icon {
    transform: scale(1.15);
}

.service-sbs-card:hover .service-sbs-title {
    color: var(--primary-color);
}

/* Responsiveness for SBS Services */
@media (max-width: 1199.98px) {
    .service-sbs-card {
        height: 380px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 767.98px) {
    .service-sbs-card {
        height: 320px;
    }
}

/* --------------------------------------------------
   PREMIUM TESTIMONIAL GRID (3 columns)
   -------------------------------------------------- */
.testimonial-premium-card {
    position: relative;
    background-color: #1a1a1a;
    border-left: 3px solid var(--primary-color);
    padding: 35px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: #222222;
}

.testimonial-quote-bg {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 55px;
    color: rgba(212, 175, 55, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
}

.testimonial-premium-card:hover .testimonial-quote-bg {
    color: rgba(212, 175, 55, 0.08);
}

.testimonial-rating-stars {
    color: var(--primary-color);
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: #dddddd;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.testimonial-client-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.testimonial-client-loc {
    font-size: 12px;
    color: var(--text-muted);
}

/* --------------------------------------------------
   SBS-STYLE INTERNAL ACTIVITIES COVERFLOW
   -------------------------------------------------- */
.activities-slider-wrapper {
    position: relative;
    padding-bottom: 80px;
    margin-top: 40px;
}

.activities-slider {
    padding: 30px 0;
    overflow: visible !important; /* Crucial for coverflow 3D slides outside viewport */
}

.activities-slider .swiper-slide {
    width: 300px;
    height: 450px;
    transition: transform 0.3s ease;
}

.activity-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background-color: #1a1a1a;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-nav-btns {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.activity-nav-btn {
    width: 50px;
    height: 40px;
    background-color: #222222;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-nav-btn:hover {
    background-color: var(--primary-color);
    color: #000000;
}

/* --------------------------------------------------
   NEWS & ACTIVITIES SECTION
   -------------------------------------------------- */
.news-section {
    padding: 100px 0;
}

.news-slider .swiper-slide {
    height: auto !important;
    display: flex;
}

.news-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0px !important;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}


.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.news-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 0px !important;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.news-card:hover .news-img-box img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 15px;
    letter-spacing: 1px;
    border-radius: 0px !important;
}

.news-content-box {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-card-title a {
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: #aaaaaa;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more-btn {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.news-more-btn:hover {
    gap: 12px;
    color: #ffffff;
}

/* --------------------------------------------------
   GLOBAL STABILITY & SMOOTHNESS (SHARP BORDERS / 0px RADIUS)
   -------------------------------------------------- */
.testimonial-premium-card,
.testimonial-avatar,
.news-card,
.news-img-box,
.news-img-box img,
.activity-card,
.activity-card img,
.project-grid-item,
.project-grid-item img,
.service-sbs-card,
.btn-gold,
.btn-black,
.form-control {
    border-radius: 0px !important;
}

/* Make sure all hover transitions on interactive components are beautifully smooth */
.testimonial-premium-card,
.news-card,
.news-img-box img,
.project-grid-item img,
.project-grid-overlay,
.service-sbs-card,
.service-sbs-bg,
.service-sbs-icon,
.service-sbs-desc,
.btn-gold,
.btn-black,
.activity-nav-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* --------------------------------------------------
   PAGE: BLOG DETAIL PREMIUM REFINEMENTS
   -------------------------------------------------- */

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #000000 !important;
    border-color: var(--primary-color);
}

.blog-img-caption-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-img-caption-box img {
    display: block;
    width: 100%;
}

.blog-img-caption {
    background-color: var(--primary-color);
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 12px 20px;
    line-height: 1.5;
}

/* Sidebar Wrapper & Widgets */
.sidebar-wrapper {
    padding-left: 10px;
}

@media (max-width: 991.98px) {
    .sidebar-wrapper {
        padding-left: 0;
        margin-top: 40px;
    }
}

.sidebar-widget {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-left: 12px;
    letter-spacing: 0.5px;
}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background-color: var(--primary-color);
}

/* Consultation Form Widget */
.consultation-widget {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.consultation-header {
    background-color: var(--primary-color);
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 20px;
    letter-spacing: 1px;
}

.consultation-sidebar-form {
    padding: 25px 20px;
}

.consultation-sidebar-form .form-control,
.consultation-sidebar-form .form-select {
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 0px !important;
}

.consultation-sidebar-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.consultation-sidebar-form .form-control:focus,
.consultation-sidebar-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #0f0f0f;
}

.consultation-sidebar-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23D4AF37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.budget-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    margin-bottom: 5px;
}

.consultation-sidebar-form .form-check-input {
    background-color: #111111;
    border-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.consultation-sidebar-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.consultation-sidebar-form .form-check-label {
    cursor: pointer;
}

/* Search widget */
.search-form {
    position: relative;
    display: flex;
}

.search-form .form-control {
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 12px 50px 12px 18px;
    font-size: 13.5px;
    width: 100%;
    border-radius: 0px !important;
}

.search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #0f0f0f;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #ffffff;
}

/* Related Posts List styling */
.related-posts-list li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 20px !important;
}

.related-posts-list li:last-child {
    margin-bottom: 0 !important;
}

.related-posts-list li img {
    width: 80px !important;
    height: 60px !important;
    object-fit: cover !important;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0px !important;
}

.related-posts-list li .ms-3 {
    margin-left: 15px !important;
    flex-grow: 1;
}

.related-posts-list li h5 {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
}

.related-posts-list li h5 a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-posts-list li h5 a:hover {
    color: var(--primary-color) !important;
}

.related-posts-list li span {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    display: block !important;
}

/* Ensure all sidebar inputs/buttons are strictly 0px border-radius */
.sidebar-wrapper input,
.sidebar-wrapper select,
.sidebar-wrapper textarea,
.sidebar-wrapper button,
.sidebar-wrapper form,
.sidebar-wrapper .form-control {
    border-radius: 0px !important;
}

/* ==================================================
   ARCHIVE LISTING PAGES: WHITE BACKGROUND CARDS
   ================================================== */
.project-card, .blog-card {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition) !important;
}

.project-card:hover, .blog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.project-body, .blog-body {
    background-color: #ffffff !important;
    padding: 16px 20px !important;
    color: #111111 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.project-card-title, .blog-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.project-card-title a, .blog-card-title a {
    color: #111111 !important;
    transition: var(--transition) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-title a:hover, .blog-card-title a:hover {
    color: var(--primary-color) !important;
}

.project-card-desc, .blog-card-desc {
    font-size: 13px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-btn, .blog-card-btn {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content !important;
    border-radius: 0px !important;
    border: none !important;
    transition: var(--transition) !important;
}

.project-card-btn:hover, .blog-card-btn:hover {
    background-color: var(--primary-hover) !important;
    color: #000000 !important;
}

.project-card-btn i, .blog-card-btn i {
    font-size: 10px !important;
    transition: var(--transition) !important;
}

.project-card:hover .project-card-btn i,
.blog-card:hover .blog-card-btn i {
    transform: translateX(3px) !important;
}

/* Image box aspect ratios */
.project-img-box, .blog-img-box {
    position: relative;
    overflow: hidden;
    padding-top: 66.67% !important; /* 3:2 Aspect Ratio */
    background-color: #000000;
}

.project-img-box img, .blog-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition) !important;
}

.project-card:hover .project-img-box img,
.blog-card:hover .blog-img-box img {
    transform: scale(1.08) !important;
}

.blog-card-meta {
    color: #888888 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

/* Page Banner Custom Style for SBS layout */
.page-banner-sbs {
    position: relative;
    padding: 130px 0 60px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 1. Trang tĩnh mặc định (Liên hệ, Giới thiệu, v.v. tạo từ Pages) */
body.page .page-banner-sbs {
    padding: 160px 0 70px !important;
}

/* 2. Trang Dự án (Archive & Taxonomy của CPT project) */
body.post-type-archive-project .page-banner-sbs,
body.tax-loaiduan .page-banner-sbs {
    padding: 160px 0 70px !important;
}

/* 3. Trang Chuyên mục bài viết (Báo giá, Tin tức, Chuyên mục con) & Tìm kiếm/Thẻ */
body.category .page-banner-sbs,
body.tag .page-banner-sbs,
body.search .page-banner-sbs,
body.date .page-banner-sbs,
body.author .page-banner-sbs,
body.archive:not(.post-type-archive-project):not(.tax-loaiduan) .page-banner-sbs {
    padding: 160px 0 70px !important;
}

.projects-listing-section {
    padding-top: 30px !important;
}

/* Offset cho trang có fixed header (trừ trang chủ) */
.blog-detail-section {
    padding-top: 80px !important;
}

.page-banner-sbs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 1;
}

.page-banner-sbs-box {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center !important;
}

.page-banner-sbs-title {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

.page-banner-sbs-desc {
    font-size: 13.5px !important;
    color: #cccccc !important;
    max-width: 700px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Fix grid column height/overflow on archive pages */
.projects-listing-section .project-grid-item {
    height: auto !important;
    overflow: visible !important;
}

/* --------------------------------------------------
   PREMIUM DETAIL PAGES: LIGHT BACKGROUND STYLING
   -------------------------------------------------- */
body.detail-page-light,
body.detail-page-light #wallpaper,
body.detail-page-light main,
body.detail-page-light section,
body.detail-page-light .project-detail-section,
body.detail-page-light .blog-detail-section {
    background-color: #ffffff !important;
    color: #333333 !important;
}

body.detail-page-light h1,
body.detail-page-light h2,
body.detail-page-light h3,
body.detail-page-light h4,
body.detail-page-light h5,
body.detail-page-light h6 {
    color: #111111 !important;
}

body.detail-page-light p,
body.detail-page-light li {
    color: #333333 !important;
}

body.detail-page-light strong,
body.detail-page-light b {
    color: #000000 !important;
}

/* Force dark text for text-white and text-white-50 classes in content & sidebar on light pages */
body.detail-page-light main .text-white,
body.detail-page-light main .text-white-50,
body.detail-page-light main .news-meta-info,
body.detail-page-light main .news-meta-info span,
body.detail-page-light main .news-meta-info i,
body.detail-page-light main .blog-post-meta-strip,
body.detail-page-light main .blog-post-meta-strip span,
body.detail-page-light main .blog-post-meta-strip i {
    color: #555555 !important;
}

body.detail-page-light main .form-check-label.text-white {
    color: #333333 !important;
}

body.detail-page-light main .form-label.text-white-50 {
    color: #555555 !important;
}

/* Breadcrumb Light Mode */
body.detail-page-light .breadcrumb-nav {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #eeeeee !important;
}

body.detail-page-light .breadcrumb-item a {
    color: #666666 !important;
}

body.detail-page-light .breadcrumb-item.active {
    color: var(--primary-color) !important;
}

/* Share buttons Light Mode */
body.detail-page-light .share-btn {
    border-color: #e0e0e0 !important;
    color: #555555 !important;
}

body.detail-page-light .share-btn:hover {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    border-color: var(--primary-color) !important;
}

/* Specs Box Light Mode */
body.detail-page-light .specs-card {
    background-color: #f8f9fa !important;
    border-left: 4px solid var(--primary-color) !important;
}

body.detail-page-light .spec-info-label {
    color: #777777 !important;
}

body.detail-page-light .spec-info-value {
    color: #111111 !important;
}

/* Table of Contents Box Light Mode */
body.detail-page-light .toc-box {
    background-color: #fef9e7 !important; /* light yellow/gold */
    border: 1px solid #f9ebbe !important;
    padding: 20px !important;
}

body.detail-page-light .toc-title {
    color: #8c6b00 !important;
}

body.detail-page-light .toc-list li a {
    color: #333333 !important;
}

body.detail-page-light .toc-list li a:hover {
    color: var(--primary-color) !important;
}

/* Project Title & Blog Post Main Title Custom Colors */
body.detail-page-light .project-detail-title,
body.detail-page-light .blog-post-main-title {
    color: #111111 !important;
    font-weight: 800 !important;
}

/* Info Summary Box Light Mode */
body.detail-page-light .project-info-summary-box {
    border: 1px solid #e0e0e0 !important;
}

body.detail-page-light .project-info-summary-header {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

body.detail-page-light .project-info-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background-color: #e0e0e0; /* border effect */
}

@media (max-width: 991.98px) {
    body.detail-page-light .project-info-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    body.detail-page-light .project-info-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Grid items in detail summary - Clean light theme like SBS House */
body.detail-page-light .info-grid-item {
    background-color: #f8f9fa !important;
    color: #333333 !important;
    padding: 15px !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.detail-page-light .info-grid-icon {
    font-size: 20px !important;
    color: var(--primary-color) !important;
    margin-bottom: 8px !important;
}

body.detail-page-light .info-grid-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    opacity: 0.8 !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    color: #666666 !important;
}

body.detail-page-light .info-grid-val {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

/* Consultation & Sidebar Widget Light Mode Styles */
body.detail-page-light .sidebar-wrapper {
    background-color: #ffffff !important;
}

body.detail-page-light .sidebar-widget,
body.detail-page-light .consultation-widget {
    background-color: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    color: #111111 !important;
}

body.detail-page-light .sidebar-widget.accent,
body.detail-page-light .consultation-widget {
    border-color: #eeeeee !important;
}

body.detail-page-light .consultation-header {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
}

body.detail-page-light .widget-title {
    color: #111111 !important;
}

body.detail-page-light .widget-title::before {
    background-color: var(--primary-color) !important;
}

body.detail-page-light .consultation-sidebar-form {
    background-color: #ffffff !important;
}

body.detail-page-light .consultation-sidebar-form .form-control,
body.detail-page-light .consultation-sidebar-form .form-select,
body.detail-page-light .sidebar-widget .form-control,
body.detail-page-light .sidebar-widget .form-select {
    background-color: #f8f9fa !important;
    border: 1px solid #dddddd !important;
    color: #111111 !important;
}

body.detail-page-light .consultation-sidebar-form .form-control::placeholder,
body.detail-page-light .sidebar-widget .form-control::placeholder {
    color: #999999 !important;
}

body.detail-page-light .consultation-sidebar-form .form-control:focus,
body.detail-page-light .consultation-sidebar-form .form-select:focus,
body.detail-page-light .sidebar-widget .form-control:focus,
body.detail-page-light .sidebar-widget .form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--primary-color) !important;
    color: #111111 !important;
}

body.detail-page-light .widget-posts-list li,
body.detail-page-light .related-posts-list li {
    border-bottom: 1px solid #eeeeee !important;
    background-color: #ffffff !important;
}

body.detail-page-light .widget-post-title a,
body.detail-page-light .related-posts-list li h5 a {
    color: #111111 !important;
}

body.detail-page-light .widget-post-title a:hover,
body.detail-page-light .related-posts-list li h5 a:hover {
    color: var(--primary-color) !important;
}

body.detail-page-light .widget-post-date,
body.detail-page-light .related-posts-list li small {
    color: #777777 !important;
}

/* Author Box / Profile Light Mode */
body.detail-page-light .author-card {
    background-color: #f8f9fa !important;
    border: 1px solid #eeeeee !important;
    color: #333333 !important;
}

body.detail-page-light .author-name {
    color: #111111 !important;
}

body.detail-page-light .author-bio {
    color: #666666 !important;
}

/* FAQ Accordion Light Mode */
body.detail-page-light .faq-item {
    border: 1px solid #eeeeee !important;
}

body.detail-page-light .faq-question {
    background-color: #f8f9fa !important;
    color: #333333 !important;
}

body.detail-page-light .faq-question:hover {
    background-color: #f1f3f5 !important;
}

body.detail-page-light .faq-answer {
    background-color: #ffffff !important;
    color: #555555 !important;
    border-top: 1px solid #eeeeee !important;
}

body.detail-page-light .faq-item.active .faq-question {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
}

body.detail-page-light .blog-intro-text {
    background-color: #f8f9fa !important;
    color: #333333 !important;
    border-left: 3px solid var(--primary-color) !important;
}

body.detail-page-light .project-detail-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
}

/* ==================================================
   LIGHT MODE DETAIL PAGES: LAYOUT & SPACING ALIGNMENT
   ================================================== */
body.detail-page-light {
    padding-top: 105px !important; /* Clear fixed header */
}

/* If the light page has a banner, let it go to the top and handle offset with padding */
body.detail-page-light.category,
body.detail-page-light.tag,
body.detail-page-light.search,
body.detail-page-light.archive {
    padding-top: 0 !important;
}

body.detail-page-light .project-detail-section,
body.detail-page-light .blog-detail-section {
    padding-top: 25px !important;
}

/* Breadcrumbs styling (inline layout) */
.project-detail-breadcrumb {
    font-size: 13.5px;
    font-weight: 500;
}

.project-detail-breadcrumb a {
    color: #aaaaaa !important; /* light color for dark theme */
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-detail-breadcrumb a:hover {
    color: var(--primary-color) !important;
}

.project-detail-breadcrumb span {
    color: #888888 !important;
}

/* Light mode overrides for breadcrumbs */
body.detail-page-light .project-detail-breadcrumb a {
    color: #666666 !important;
}
body.detail-page-light .project-detail-breadcrumb span {
    color: #999999 !important;
}

/* Project detail & Blog post main titles */
.project-detail-main-title,
.blog-post-main-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important; /* Default white color for dark theme */
    line-height: 1.3 !important;
    letter-spacing: -0.5px;
}

/* Light mode overrides for titles */
body.detail-page-light .project-detail-main-title,
body.detail-page-light .blog-post-main-title {
    color: #111111 !important;
}

@media (max-width: 767.98px) {
    .project-detail-main-title,
    .blog-post-main-title {
        font-size: 20px !important;
    }
}

/* Social icons & meta info styling */
.project-share-icons a {
    font-size: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.project-share-icons a:hover {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
}

.project-meta-data {
    color: #666666 !important;
}

.project-meta-data span {
    color: #666666 !important;
}

.project-meta-data i {
    color: var(--primary-color) !important;
}

/* ==================================================
   HEADER ACTION BUTTON & LOGO BRANDING REFINEMENTS
   ================================================== */
.navbar-brand img {
    height: 75px !important;
    width: auto !important;
    background-color: transparent !important;
    object-fit: contain !important;
    transition: var(--transition) !important;
}

header.scrolled .navbar-brand img {
    height: 60px !important;
}

/* Outstandly prominent Call-to-Action button in the navigation */
.nav-right-btn {
    background: linear-gradient(135deg, #eeb012, #f5c542) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 30px !important; /* Elegant pill shape for key CTA */
    padding: 10px 24px !important;
    margin-left: 15px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(238, 176, 18, 0.4) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-block !important;
}

.nav-right-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -50% !important;
    width: 30% !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%) !important;
    transform: skewX(-25deg) !important;
    animation: sheenSweep 3s infinite ease-in-out !important;
}

@keyframes sheenSweep {
    0% { left: -50%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.nav-right-btn:hover {
    background: linear-gradient(135deg, #f5c542, #eeb012) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(238, 176, 18, 0.6) !important;
}

/* Conversion-oriented pulsing and shaking green Phone button next to it */
.nav-phone-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    color: #ffffff !important;
    margin-left: 15px !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4) !important;
    position: relative !important;
    animation: headerPhoneShake 2s infinite ease-in-out !important;
    transition: all 0.3s ease !important;
}

.nav-phone-icon::before {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px solid #2ecc71 !important;
    animation: phoneRipple 1.8s infinite ease-out !important;
    opacity: 0.8 !important;
    top: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
}

.nav-phone-icon:hover {
    background: linear-gradient(135deg, #27ae60, #2cc36b) !important;
    color: #ffffff !important;
    transform: scale(1.1) translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6) !important;
}

@keyframes phoneRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes headerPhoneShake {
    0%, 100% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-15deg) scale(1.05); }
    20% { transform: rotate(15deg) scale(1.05); }
    30% { transform: rotate(-10deg) scale(1.05); }
    40% { transform: rotate(10deg) scale(1.05); }
    50% { transform: rotate(0) scale(1); }
}

/* ==================================================
   PROJECT SPECIFICATION SUMMARY GRID OVERRIDES
   ================================================== */
/* Layout & Presentation for project summary grid */
.project-info-summary-box {
    margin-bottom: 25px !important;
    padding: 0 !important;
    overflow: hidden;
}
.project-info-summary-header {
    padding: 12px 20px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.project-info-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1px !important;
}
@media (max-width: 991.98px) {
    .project-info-summary-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 575.98px) {
    .project-info-summary-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.info-grid-item {
    padding: 15px 10px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.info-grid-icon i {
    font-size: 20px !important;
    margin-bottom: 8px !important;
}
.info-grid-label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}
.info-grid-val {
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Color definitions scoped to body classes */
body.detail-page-light .project-info-summary-box {
    background-color: #f8f9fa !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}
body.detail-page-light .project-info-summary-header {
    background-color: #111111 !important;
    color: #ffffff !important;
}
body.detail-page-light .project-info-summary-header span.text-white-50 {
    color: var(--primary-color) !important;
}
body.detail-page-light .project-info-summary-header span {
    color: #ffffff !important;
}
body.detail-page-light .project-info-summary-grid {
    background-color: #eeeeee !important;
}
body.detail-page-light .info-grid-item {
    background-color: #ffffff !important;
}
body.detail-page-light .info-grid-icon i {
    color: var(--primary-color) !important;
}
body.detail-page-light .info-grid-label {
    color: #777777 !important;
}
body.detail-page-light .info-grid-val {
    color: #111111 !important;
}

/* Dark mode fallback colors if body is not light */
body:not(.detail-page-light) .project-info-summary-box {
    background-color: #1e1e1e !important;
    border: 1px solid #333333 !important;
}
body:not(.detail-page-light) .project-info-summary-header {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}
body:not(.detail-page-light) .project-info-summary-header span.text-white-50 {
    color: var(--primary-color) !important;
}
body:not(.detail-page-light) .project-info-summary-grid {
    background-color: #333333 !important;
}
body:not(.detail-page-light) .info-grid-item {
    background-color: #1e1e1e !important;
}
body:not(.detail-page-light) .info-grid-icon i {
    color: var(--primary-color) !important;
}
body:not(.detail-page-light) .info-grid-label {
    color: #aaaaaa !important;
}
body:not(.detail-page-light) .info-grid-val {
    color: #ffffff !important;
}

/* ==================================================
   BORDER RADIUS & BUTTON REFINEMENTS
   ================================================== */
/* Applied soft border-radius to components on light details */
body.detail-page-light .sidebar-widget,
body.detail-page-light .consultation-widget,
body.detail-page-light .toc-box,
body.detail-page-light .project-info-summary-box,
body.detail-page-light .author-card,
body.detail-page-light .faq-item,
body.detail-page-light .blog-intro-text,
body.detail-page-light .form-control,
body.detail-page-light .form-select,
body.detail-page-light .gallery-main-slider,
body.detail-page-light .gallery-main-slider img,
body.detail-page-light .gallery-thumbs-slider img,
body.detail-page-light .related-posts-list img,
body.detail-page-light .blog-img-caption-box,
body.detail-page-light .blog-img-caption-box img,
body.detail-page-light .modal-content,
body.detail-page-light .btn-submit-gold,
body.detail-page-light .nav-right-btn,
body.detail-page-light .share-btn {
    border-radius: 6px !important;
}

/* Highly prominent golden submit button styling */
.btn-submit-gold,
body.detail-page-light .btn-submit-gold {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 25px !important;
    box-shadow: 0 4px 15px rgba(238, 176, 18, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 6px !important;
}

.btn-submit-gold:hover,
body.detail-page-light .btn-submit-gold:hover {
    background-color: var(--primary-hover) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(238, 176, 18, 0.5) !important;
}

/* ==================================================
   POPUP MODAL & FLOATING ACTIONS PREMIUM STYLING
   ================================================== */

/* Dark Premium Popup Modal Theme (Applies to all pages) */
.workshop-modal .modal-content {
    background-color: #121212 !important; /* Premium dark background */
    border: 2px solid var(--primary-color) !important; /* Elegant gold border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.workshop-modal .modal-header {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 20px 24px !important;
}

.workshop-modal .modal-header h5 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.workshop-modal .modal-header .btn-close {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    padding: 8px !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.workshop-modal .modal-header .btn-close:hover {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    opacity: 1 !important;
}

.workshop-modal .modal-body {
    background-color: #121212 !important;
    padding: 24px !important;
}

/* Force dark transparent form in modal on light pages */
body.detail-page-light .workshop-modal .consultation-sidebar-form,
.workshop-modal .consultation-sidebar-form {
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Dark mode inputs inside the modal */
body.detail-page-light .workshop-modal .consultation-sidebar-form .form-control,
body.detail-page-light .workshop-modal .consultation-sidebar-form .form-select,
.workshop-modal .consultation-sidebar-form .form-control,
.workshop-modal .consultation-sidebar-form .form-select {
    background-color: #1e1e1e !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    height: 45px !important;
}

body.detail-page-light .workshop-modal .consultation-sidebar-form .form-control::placeholder,
.workshop-modal .consultation-sidebar-form .form-control::placeholder {
    color: #666666 !important;
}

body.detail-page-light .workshop-modal .consultation-sidebar-form .form-control:focus,
body.detail-page-light .workshop-modal .consultation-sidebar-form .form-select:focus,
.workshop-modal .consultation-sidebar-form .form-control:focus,
.workshop-modal .consultation-sidebar-form .form-select:focus {
    background-color: #262626 !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(238, 176, 18, 0.25) !important;
}

/* Modal text labels must be fully visible */
body.detail-page-light .workshop-modal .form-label,
.workshop-modal .form-label {
    color: #bbbbbb !important;
    font-weight: 600 !important;
}

body.detail-page-light .workshop-modal .form-check-label,
.workshop-modal .form-check-label {
    color: #dddddd !important;
    font-weight: 500 !important;
}

/* Radio buttons inside modal */
body.detail-page-light .workshop-modal .form-check-input,
.workshop-modal .form-check-input {
    background-color: #2a2a2a !important;
    border: 1px solid #555555 !important;
}

body.detail-page-light .workshop-modal .form-check-input:checked,
.workshop-modal .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Modal submit button styling */
body.detail-page-light .workshop-modal .btn-submit-gold,
.workshop-modal .btn-submit-gold {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 20px !important;
    box-shadow: 0 4px 15px rgba(238, 176, 18, 0.4) !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

body.detail-page-light .workshop-modal .btn-submit-gold:hover,
.workshop-modal .btn-submit-gold:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(238, 176, 18, 0.6) !important;
}

/* Shaking Phone Button with Outstanding Gradient Red Color */
.sticky-btn.phone {
    background-color: #ff3b30 !important;
    background: linear-gradient(135deg, #ff453a, #ff3b30) !important;
    color: #ffffff !important;
    animation: phoneShake 1.2s infinite ease-in-out, phonePulseRed 1.5s infinite ease-in-out !important;
}

/* Header phone icon shake effect */
.header-phone-btn {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    animation: phoneShake 1.5s infinite ease-in-out !important;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0) scale(1); }
    15% { transform: rotate(-15deg) scale(1.1); }
    30% { transform: rotate(15deg) scale(1.1); }
    45% { transform: rotate(-10deg) scale(1.1); }
    60% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
    85% { transform: rotate(5deg) scale(1.1); }
}

@keyframes phonePulseRed {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* Premium Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
    background-color: #121212 !important; /* Matches theme dark background */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px !important;
    padding: 5px 0 !important;
    margin-top: 2px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.navbar-nav .dropdown-item {
    color: #cccccc !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 7px 16px !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
}

/* Light page header dropdown styling */
body.detail-page-light .navbar-nav .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.detail-page-light .navbar-nav .dropdown-item {
    color: #333333 !important;
}

body.detail-page-light .navbar-nav .dropdown-item:hover,
body.detail-page-light .navbar-nav .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
}

/* Make Bootstrap dropdown open on hover for premium desktop experience */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .navbar-nav .dropdown-menu {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(5px) !important;
        transition: all 0.3s ease !important;
    }
    
    /* 3-Level Menu Desktop Fly-out */
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu > .dropdown-menu {
        top: 0 !important;
        left: 100% !important;
        margin-top: -5px !important;
        margin-left: 0px !important;
        border-radius: 4px !important;
        transform: translateX(5px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    /* Chevron rotation for flyout indicator */
    .dropdown-submenu > .dropdown-toggle::after {
        border-top: 0.3em solid transparent !important;
        border-right: 0 !important;
        border-bottom: 0.3em solid transparent !important;
        border-left: 0.3em solid !important;
        vertical-align: middle !important;
        margin-left: auto !important;
        float: right !important;
        margin-top: 6px !important;
    }
}

/* Mobile Submenu Styling */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        float: none !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        margin-left: 15px !important;
        padding-left: 10px !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: none;
    }
    .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
    }
    body.detail-page-light .dropdown-submenu .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.03) !important;
        border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    }


}

/* Fix Text Contrast and Colors inside Banner and Footer on Light Mode Detail/Contact Pages */
body.detail-page-light .page-banner-sbs-title {
    color: #ffffff !important;
}

body.detail-page-light .page-banner-sbs-desc {
    color: #cccccc !important;
}

/* Footer elements must retain their premium dark mode styles on light pages */
body.detail-page-light footer {
    background-color: #111111 !important; /* Ensure footer background is solid dark */
    color: #b0b0b0 !important;
}

body.detail-page-light footer h4.footer-title,
body.detail-page-light footer .footer-title {
    color: #ffffff !important; /* Restore white titles in footer */
}

body.detail-page-light footer p,
body.detail-page-light footer li,
body.detail-page-light footer span {
    color: #b0b0b0 !important; /* Restore light grey text/list items in footer */
}

body.detail-page-light footer li.text-white,
body.detail-page-light footer .text-white {
    color: #ffffff !important; /* Keep bold highlights white */
}

body.detail-page-light footer a {
    color: #b0b0b0 !important; /* Restore link color */
    text-decoration: none !important;
}

body.detail-page-light footer a:hover {
    color: var(--primary-color) !important; /* Gold hover state */
}

body.detail-page-light footer .footer-social-link {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body.detail-page-light footer .footer-social-link:hover {
    color: #000000 !important;
    background-color: var(--primary-color) !important;
}

body.detail-page-light footer .footer-bottom-copyright p {
    color: #666666 !important; /* Retain subtle copyright color */
}

/* Quick Edit Button for Admin */
.hqhouse-quick-edit-wrapper {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 9999;
    pointer-events: auto;
}

.hqhouse-quick-edit-btn {
    background: rgba(238, 176, 18, 0.95);
    color: #000000 !important;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(238, 176, 18, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    backdrop-filter: blur(5px);
}

.hqhouse-quick-edit-btn i {
    font-size: 12px;
    transition: transform 0.4s ease;
}

.hqhouse-quick-edit-btn:hover {
    background: #ffffff;
    color: #000000 !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.hqhouse-quick-edit-btn:hover i {
    transform: rotate(15deg) scale(1.2);
}

/* Adjust for hero section where header might overlap */
.home-hero .hqhouse-quick-edit-wrapper {
    top: 100px;
}

/* Swiper Project Thumbs Gallery Custom Styles */
.gallery-thumbs-wrapper {
    position: relative;
    padding: 0 45px;
    margin-top: 15px;
}

.gallery-thumbs-slider {
    overflow: hidden;
}

.gallery-thumbs-slider .swiper-slide {
    height: 80px !important;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.gallery-thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #c8963e !important;
}

.gallery-thumbs-slider .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Thumbs Navigation Buttons styling */
.gallery-thumbs-wrapper .swiper-button-next,
.gallery-thumbs-wrapper .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #dddddd !important;
    transition: all 0.3s ease !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.gallery-thumbs-wrapper .swiper-button-next {
    right: 5px !important;
}

.gallery-thumbs-wrapper .swiper-button-prev {
    left: 5px !important;
}

.gallery-thumbs-wrapper .swiper-button-next:hover,
.gallery-thumbs-wrapper .swiper-button-prev:hover {
    background: #c8963e !important;
    color: #ffffff !important;
    border-color: #c8963e !important;
}

.gallery-thumbs-wrapper .swiper-button-next::after,
.gallery-thumbs-wrapper .swiper-button-prev::after {
    font-size: 13px !important;
    font-weight: bold !important;
}

/* Thumbs Remaining Badge Styles */
.thumbs-remaining-badge {
    position: absolute !important;
    right: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #c8963e !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
    z-index: 10 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

/* ==================================================
   MOBILE RESPONSIVE OPTIMIZATION (MAX-WIDTH: 767.98PX)
   Only active on mobile devices, keeping desktop 100% untouched.
   ================================================== */
@media (max-width: 767.98px) {
    /* Section Spacings - compact to avoid too much empty space on mobile */
    section {
        padding: 35px 0 !important;
    }
    
    .home-hero, .hero-slider {
        padding: 0 !important;
    }

    .section-header {
        margin-bottom: 25px !important;
    }

    .page-banner, .page-banner-sbs {
        padding: 100px 0 50px !important;
    }

    /* Core Typography Optimization for Mobile */
    h1, .h1 {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }
    h2, .h2, .section-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    h3, .h3 {
        font-size: 17px !important;
        line-height: 1.35 !important;
    }
    h4, .h4 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
    h5, .h5 {
        font-size: 14px !important;
    }
    
    /* Header / Navbar / Logo Branding Realignments - 20% larger logo height (58px) */
    .navbar-brand img {
        height: 58px !important;
        max-height: 58px !important;
    }
    .navbar {
        padding: 6px 0 !important;
    }
    
    /* Mobile Detail Page Header Spacing Offset */
    body.detail-page-light {
        padding-top: 70px !important; /* Mobile header height */
    }
    body.detail-page-light.category,
    body.detail-page-light.tag,
    body.detail-page-light.search,
    body.detail-page-light.archive {
        padding-top: 0 !important;
    }
    
    /* Call to Action Button in Header */
    .nav-right-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
        height: 34px !important;
        line-height: 22px !important;
        margin-left: 8px !important;
    }
    
    /* Hero Title and Description inline font size overrides */
    .hero-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        text-transform: uppercase !important;
        font-weight: 800 !important;
    }
    
    .hero-desc {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    
    /* Hero slider button layout side-by-side or block - nowrap prevents orphan text wrapping */
    .hero-btns {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    
    .hero-btns a {
        font-size: 11px !important;
        padding: 8px 10px !important;
        margin: 0 !important;
        flex: 1 !important;
        max-width: 160px !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 38px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }

    /* Stats Bar Grid Columns spacing optimization */
    .stats-bar {
        padding: 20px 0 !important;
        background-color: #0d0d0d !important;
    }
    .stats-bar .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    .stats-bar [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 15px !important;
    }
    .stats-bar [class*="col-"]:nth-last-child(-n+2) {
        margin-bottom: 0 !important;
    }
    .stat-item {
        padding: 10px 5px !important;
        text-align: center !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    .stat-number {
        font-size: 18px !important;
        font-weight: 800 !important;
        display: block !important;
        margin-bottom: 2px !important;
        color: var(--primary-color) !important;
        white-space: nowrap !important;
    }
    .stat-label {
        font-size: 9.5px !important;
        line-height: 1.3 !important;
        color: #888888 !important;
        display: block !important;
        text-transform: uppercase !important;
        letter-spacing: 0.2px !important;
    }

    /* Spacing container margins on mobile */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Adjust about / stories section image container */
    .intro-img-wrapper, .story-img-wrapper {
        margin-top: 25px !important;
        height: 260px !important;
    }
    
    /* Project thumbs remaining badge offset */
    .thumbs-remaining-badge {
        right: 16px !important;
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    /* Project Detail Thumbs Slider Spacing */
    .gallery-thumbs-wrapper {
        padding: 0 35px !important;
    }
    
    /* Card Elements Optimization */
    .project-card, .news-card, .service-card {
        margin-bottom: 20px !important;
    }
    
    /* Floating Contact Buttons Horizontal Alignment on Mobile */
    .sticky-actions {
        right: 12px !important;
        bottom: 12px !important;
        flex-direction: row !important;
        gap: 8px !important;
    }
    
    .sticky-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 15px !important;
    }
    
    .sticky-btn.zalo {
        font-size: 10px !important;
    }

    /* Quick Edit Buttons optimization for mobile to not cover user interface elements */
    .hqhouse-quick-edit-wrapper {
        top: 15px !important;
        right: 15px !important;
    }
    .hqhouse-quick-edit-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
    }
    
    /* Consultation Form modal optimizations */
    .modal-dialog {
        margin: 10px !important;
    }
    
    .modal-body {
        padding: 15px !important;
    }
}

/* Force mobile navbar toggler visibility and gold styling on all screens under 992px */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: inline-block !important;
        border: 1px solid var(--primary-color) !important;
        padding: 6px 10px !important;
        background-color: transparent !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(238, 176, 18, 0.25) !important;
        outline: none !important;
    }

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 24px !important;
        height: 24px !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23EEB012' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-size: 100% 100% !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

