/* ==========================================================================
   HDA Concept - Style Guide & Premium CSS System
   ========================================================================== */

:root {
    --primary-color: #C16C29;
    --primary-hover: #e07f30;
    --primary-light: rgba(193, 108, 41, 0.1);
    --secondary-color: #ffffff;
    --dark-bg: #070707;
    --dark-surface: #0f0f0f;
    --light-bg: #070707;
    --light-surface: #0f0f0f;
    --text-dark: #f5f5f5;
    --text-muted: #8c8c8c;
    --text-light: #ffffff;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    zoom: 0.9;
}

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

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

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

/* Utilities */
.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

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

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

.section-dark .section-subtitle {
    color: var(--primary-color);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-dark .section-desc {
    color: #b0b0b0;
}

/* Button & Link Style */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 32px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    /* Elegant architectural pill shape */
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    letter-spacing: 1.8px !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    gap: 8px !important;
    border: none;
}

.btn:hover {
    transform: translateY(-3px) !important;
    letter-spacing: 2.3px !important;
}

.btn i {
    transition: transform 0.3s ease !important;
}

.btn:hover i {
    transform: translateX(4px) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(193, 108, 41, 0.15) !important;
}

.btn-primary:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 25px rgba(193, 108, 41, 0.25) !important;
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(193, 108, 41, 0.25) !important;
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.btn-outline-white:hover {
    background-color: #ffffff !important;
    color: #121212 !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-dark);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    margin-right: 20px;
}

.top-bar-left i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-bar-right a {
    margin-left: 15px;
    opacity: 0.8;
}

.top-bar-right a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.header {
    background-color: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(7, 7, 7, 0.95) !important;
}

/* Homepage-specific header styles */
body.home-page .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: transparent;
    border-bottom: none;
}

body.home-page .header {
    position: absolute;
    top: 41px;
    /* Height of topbar */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
}

/* Homepage scrolled header style */
body.home-page .header.scrolled {
    position: fixed;
    top: 0;
    background-color: rgba(7, 7, 7, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: headerSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 4px;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
}

.header-cta:hover {
    background-color: var(--primary-hover);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Banner Slider & Hero Section */
.hero {
    height: 111.11vh;
    /* Compenses body zoom: 0.9 to occupy exactly 100% viewport height */
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.hero-slide:not(.active) * {
    opacity: 0 !important;
    transform: none !important;
    transition: none !important;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    color: var(--text-light);
    max-width: 700px;
    transform: translateY(30px);
    transition: transform 0.8s ease-out;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.hero-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-surface);
    padding: 40px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

/* Project Cards & Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.1) 70%);
    transition: var(--transition);
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: var(--text-light);
    transform: translateY(20px);
    transition: var(--transition);
}

.project-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.project-details {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transition: var(--transition);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-card:hover .project-image::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-card:hover .project-details {
    opacity: 1;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(193, 108, 41, 0.08);
    font-family: var(--font-heading);
    line-height: 1;
    z-index: 1;
}

.process-icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .process-icon-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: rotateY(180deg);
}

.process-step:hover .process-icon-box i {
    transform: rotateY(180deg);
}

.process-step-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.process-step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
    color: var(--text-light);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* Form Styles */
.consultation-form-wrapper {
    background-color: var(--light-surface);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
    border-radius: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px 0;
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    color: var(--text-light);
    border-radius: 0;
}

select.form-control {
    color: var(--text-light);
    cursor: pointer;
}

select.form-control option {
    background-color: #121212 !important;
    color: #ffffff !important;
}

.form-control:focus {
    background-color: transparent !important;
    border-bottom-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: 480px !important;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 220px !important;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card-content {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.blog-card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.blog-card-title {
    font-size: 1.25rem !important;
    margin-bottom: 10px !important;
    line-height: 1.4;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.8em !important;
    flex-shrink: 0;
}

.blog-card-title a {
    color: var(--secondary-color);
}

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

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    line-height: 1.5;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 4.5em !important;
    flex-grow: 1;
}

.blog-card-more {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-top: auto;
}

.blog-card-more:hover {
    color: var(--primary-color);
}

/* Page Header & Breadcrumbs */
.page-header {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

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

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumbs .separator {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Detail Pages */
.detail-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
}

.detail-main {
    background-color: var(--light-surface);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.detail-gallery {
    margin: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.detail-info-list {
    background-color: var(--light-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-muted);
}

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

.sidebar-widget {
    background-color: var(--light-surface);
    padding: 30px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    color: var(--secondary-color);
}

.widget-categories li {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.widget-categories li a {
    display: flex;
    justify-content: space-between;
}

.widget-categories li a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--light-surface);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* Contact Info & Map */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--light-surface);
    padding: 45px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.map-wrapper {
    margin-top: 50px;
    height: 450px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Floating Actions Redesign */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.float-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.float-label {
    position: absolute;
    right: 64px;
    background: rgba(15, 15, 15, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.float-btn:hover .float-icon {
    transform: scale(1.1) translateY(-3px);
}

/* Color & Shadow Themes with Glow Effects */
.float-phone .float-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    animation: phonePulse 2s infinite;
}

.float-phone:hover .float-icon {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

.float-zalo .float-icon {
    background: linear-gradient(135deg, #0084ff, #0066cc);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
    animation: zaloPulse 2s infinite 0.5s;
}

.float-zalo:hover .float-icon {
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.5);
}

.float-facebook .float-icon {
    background: linear-gradient(135deg, #ff5252, #e53935);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
    animation: fbPulse 2s infinite 1s;
}

.float-facebook:hover .float-icon {
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.5);
}

.float-top .float-icon {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.float-top:hover .float-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(193, 108, 41, 0.3);
}

.float-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animations */
@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

@keyframes zaloPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 132, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 132, 255, 0);
    }
}

@keyframes fbPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(229, 57, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-dark);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo .logo-main {
    color: var(--text-light);
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

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

.footer-bottom {
    background-color: #0b0b0b;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Mobile Responsive */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .header-content {
        height: 70px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--light-surface);
        z-index: 999;
        flex-direction: column;
        padding: 80px 40px 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        gap: 20px;
    }

    .nav.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .detail-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .top-bar {
        display: none;
    }
}

/* Philosophy Section */
.philosophy-section {
    padding: 120px 0;
    background-color: var(--dark-bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: flex-start;
}

.philosophy-card {
    display: flex;
    flex-direction: column;
}

.philosophy-card.card-left {
    padding-right: 40px;
}

.philosophy-card.card-right {
    padding-left: 40px;
    margin-top: 100px;
    /* Offset spacing matching reference image */
}

.philosophy-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #121212;
}

.philosophy-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(40%) contrast(110%);
}

.philosophy-card:hover .philosophy-image-wrapper img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(100%);
}

.philosophy-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-light);
}

/* Redesigned Premium Services Grid */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    border: none !important;
    counter-reset: service-counter;
}

.service-card {
    background-color: var(--light-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 45px 35px !important;
    position: relative;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    grid-template-columns: none !important;
    height: 100% !important;
    counter-increment: service-counter;
    transition: var(--transition) !important;
}

.service-card::before {
    content: "0"counter(service-counter) !important;
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    bottom: auto !important;
    left: auto !important;
    background-color: transparent !important;
    font-family: var(--font-heading) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: rgba(193, 108, 41, 0.08) !important;
    transition: var(--transition) !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
}

.service-card::after {
    display: none !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 40px rgba(193, 108, 41, 0.12) !important;
    background-color: var(--light-surface) !important;
    padding-left: 35px !important;
    padding-right: 35px !important;
}

.service-card:hover::before {
    color: rgba(193, 108, 41, 0.18) !important;
    transform: scale(1.1) !important;
}

.service-card .service-icon {
    display: flex !important;
    font-size: 2.5rem !important;
    color: var(--primary-color) !important;
    margin-bottom: 25px !important;
    align-items: center !important;
    justify-content: center !important;
}

.service-card .service-title {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--secondary-color) !important;
    margin-bottom: 15px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.service-card .service-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 25px !important;
    padding-right: 0 !important;
}

.service-link {
    margin-top: auto !important;
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

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

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Offset Masonry Gallery */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px !important;
    padding-bottom: 100px;
}

.project-card {
    height: 520px !important;
}

.project-card:nth-child(even) {
    transform: translateY(80px) !important;
    /* Offset masonry look */
}

/* Architectural Split CTA section */
.cta-section-modern {
    background-color: #0c0c0c;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-modern-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 80px;
    align-items: flex-start;
}

.cta-modern-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-light);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.cta-modern-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
}

.cta-modern-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
}

.form-underline-group {
    position: relative;
    width: 100%;
}

.form-control-underline {
    width: 100%;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 15px 0 !important;
    border-radius: 0 !important;
    color: var(--text-light) !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    transition: var(--transition) !important;
}

.form-control-underline:focus {
    outline: none !important;
    border-bottom-color: var(--primary-color) !important;
}

textarea.form-control-underline {
    resize: vertical;
    min-height: 80px;
}

.btn-cta-submit {
    width: 100%;
    max-width: 200px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cta-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Contact Info Column */
.cta-modern-right {
    padding-top: 20px;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cta-info-item {
    border-left: 2px solid var(--primary-color);
    padding-left: 20px;
}

.cta-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.cta-info-value {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive updates for newly added styles */
@media (max-width: 991px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .philosophy-card.card-left {
        padding-right: 0;
    }

    .philosophy-card.card-right {
        padding-left: 0;
        margin-top: 0;
    }

    .cta-modern-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {

    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .project-card {
        height: 450px !important;
    }

    .project-card:nth-child(even) {
        transform: none !important;
    }

    .cta-modern-title {
        font-size: 3rem;
    }
}

/* ==========================================
   DRM DESIGN STYLE & AESTHETIC ALIGNMENT
   ========================================== */

/* Typography & Title Details */
.section-title {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

.page-header-title {
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    font-size: 3.2rem !important;
}

/* Navigation Links uppercase & spacing */
.nav-link {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

/* Rounded corners for card elements and key structural images */
.project-card,
.blog-card,
.pricing-card,
.vmv-card,
.team-card,
.contact-info-card,
.map-wrapper,
.about-features-card,
.commitment-img img,
.company-about-images img,
.detail-main,
.sidebar-widget,
.gallery-item,
.consultation-form-wrapper,
.process-step {
    border-radius: 24px !important;
}

/* Button & Filter styling */
.filter-btn {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
}



/* Accent element details on lists (checkmarks) */
.pricing-card ul li i,
.info-item i {
    color: var(--primary-color) !important;
}

/* Interactive card hover shadows (glow-effect) */
.project-card,
.service-card,
.blog-card,
.pricing-card {
    transition: var(--transition) !important;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(193, 108, 41, 0.15) !important;
}

.blog-card:hover {
    box-shadow: 0 15px 40px rgba(193, 108, 41, 0.08) !important;
}

.project-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================
   DRM SECTION CUSTOM STYLING OVERRIDES
   ========================================== */

/* Cursive font styled text */
.font-script {
    font-family: 'Alex Brush', cursive !important;
    font-size: 4.5rem !important;
    color: var(--primary-color) !important;
    line-height: 1 !important;
    transform: rotate(-3deg);
    display: inline-block;
}

/* 1. Philosophy section grid & collage */
.drm-intro-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
}

.drm-intro-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: var(--secondary-color) !important;
    margin-bottom: 25px !important;
    letter-spacing: 0.5px !important;
}

.drm-intro-desc {
    color: var(--text-muted) !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    font-size: 1.05rem !important;
}

.drm-intro-highlight {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
}

.drm-collage-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.drm-collage-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.drm-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.drm-collage-item span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(7, 7, 7, 0.85);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: var(--transition);
    z-index: 2;
}

.drm-collage-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.drm-collage-item:hover img {
    transform: scale(1.1);
}

.drm-collage-item:hover span {
    background-color: var(--primary-color);
}

/* Offset individual items for dynamic collage */
.drm-collage-item.item-2 {
    margin-top: 30px;
}

.drm-collage-item.item-3 {
    margin-top: -30px;
}

/* 2. Alternating project section grid & sliders */
.drm-layout-grid {
    display: grid;
    gap: 40px;
    align-items: stretch;
}

.grid-left-heavy {
    grid-template-columns: 7fr 5fr;
}

.grid-right-heavy {
    grid-template-columns: 5fr 7fr;
}

.drm-slider-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 520px;
}

.drm-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.drm-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.drm-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.drm-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.drm-slide-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.drm-slide-item.active .drm-slide-img {
    transform: scale(1.08);
}

.drm-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    z-index: 3;
}

.drm-slide-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.drm-slide-title {
    font-family: var(--font-heading) !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.drm-slide-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
}

.drm-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    z-index: 10;
    pointer-events: none;
}

.drm-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    font-size: 0.9rem;
}

.drm-nav-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.drm-portrait-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 40px;
    min-height: 520px;
}

.drm-portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.7) 100%);
    z-index: 1;
}

.drm-portrait-content {
    position: relative;
    z-index: 2;
}

.drm-portrait-title {
    font-family: var(--font-heading) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: white !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
}

.drm-portrait-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* 3. 50/50 Process split banners */
.drm-process-banner-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 480px;
}

.drm-process-banner-block {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.drm-process-banner-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.5s ease;
    z-index: 1;
}

.drm-process-banner-block:hover::after {
    background-color: rgba(193, 108, 41, 0.65);
}

.drm-process-banner-content {
    position: relative;
    z-index: 2;
}

.drm-process-banner-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: white !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    transition: transform 0.5s ease;
}

.drm-process-banner-block:hover .drm-process-banner-title {
    transform: translateY(-8px);
}

/* 4. Catalog section 3D book cover */
.drm-catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.drm-catalog-book-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    perspective: 1200px;
}

.drm-catalog-book-img {
    width: 100%;
    height: auto;
    border-radius: 8px 24px 24px 8px;
    box-shadow: -20px 25px 50px rgba(0, 0, 0, 0.75);
    transform: rotateY(-18deg) rotateX(6deg) rotateZ(-2deg);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.drm-catalog-book-wrapper:hover .drm-catalog-book-img {
    transform: rotateY(-6deg) rotateX(2deg) rotateZ(0deg) scale(1.04);
    box-shadow: -25px 30px 60px rgba(0, 0, 0, 0.8);
}

/* Responsive Styles */
@media (max-width: 991px) {

    .drm-intro-grid,
    .drm-layout-grid,
    .drm-catalog-grid,
    .drm-faq-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    .drm-collage-item.item-2,
    .drm-collage-item.item-3 {
        margin-top: 0 !important;
    }

    .drm-portrait-card {
        min-height: 400px;
    }

    .drm-slider-wrapper {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .drm-process-banner-section {
        grid-template-columns: 1fr;
    }

    .drm-process-banner-block {
        min-height: 300px;
        padding: 50px 20px;
    }

    .drm-process-banner-title {
        font-size: 1.8rem !important;
    }

    .font-script {
        font-size: 3.5rem !important;
    }
}

/* Color overrides for light sections to ensure proper contrast */
.philosophy-section-modern {
    background-color: #fcfbfa !important;
}

.philosophy-section-modern .drm-intro-title {
    color: #121212 !important;
}

.philosophy-section-modern .drm-intro-desc {
    color: #444444 !important;
}

#quick-consult {
    background-color: #faf9f6 !important;
}

#quick-consult .section-title {
    color: #121212 !important;
}

#quick-consult .faq-header {
    color: #1a1a1a !important;
}

#quick-consult .faq-body {
    color: #555555 !important;
}

#quick-consult h3 {
    color: #121212 !important;
}

#quick-consult p {
    color: #444444 !important;
}

/* Blog Grid Responsiveness */
.blog-grid {
    display: grid;
    gap: 30px;
}

.blog-grid-3col {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1199px) {
    .blog-card {
        height: 500px !important;
    }
}

@media (max-width: 991px) {
    .blog-grid-3col {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .blog-card {
        height: 480px !important;
    }

    .blog-card-image {
        height: 200px !important;
    }
}

@media (max-width: 767px) {

    .blog-grid,
    .blog-grid-3col {
        grid-template-columns: 1fr !important;
    }

    .blog-card {
        height: auto !important;
    }

    .blog-card-image {
        height: 220px !important;
    }

    .blog-card-title {
        height: auto !important;
        -webkit-line-clamp: none !important;
    }

    .blog-card-excerpt {
        height: auto !important;
        -webkit-line-clamp: none !important;
    }
}



/* 3. Featured posts section dual column layout custom styles */
.drm-portrait-card-mini {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.drm-portrait-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.drm-portrait-card-mini::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s;
    z-index: 1;
}

.drm-portrait-card-mini:hover::before {
    background-color: rgba(0, 0, 0, 0.45);
}

.drm-portrait-content h4 a {
    transition: color 0.3s;
}

.drm-portrait-content h4 a:hover {
    color: var(--primary-color) !important;
}

.articles-intro-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
}

.articles-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================
   PROJECTS PORTFOLIO UPGRADES (Reference Staggered Layout & Card Styles)
   ========================================== */
.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    padding-bottom: 50px;
    width: 100%;
}

.project-card {
    display: flex !important;
    width: 100% !important;
    height: 450px !important;
    position: relative;
    overflow: hidden;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-radius: 24px !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0 !important;
}

/* Photo Background Container */
.project-image {
    position: relative !important;
    width: 100% !important;
    height: 280px !important;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1;
}

.project-image::before {
    display: none !important;
}

/* Top Section: Tag */
.project-card-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 3;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 20px 24px 0 24px !important;
}

.project-tag {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: var(--primary-color) !important;
    display: inline-block;
}

/* Bottom Section: Text Panel */
.project-card-bottom {
    position: relative !important;
    width: 100% !important;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background: #111111 !important;
    padding: 10px 24px 24px 24px !important;
    transition: all 0.4s ease !important;
    flex-grow: 1;
}

.project-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: 0.2px !important;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-details {
    display: flex !important;
    gap: 15px !important;
    font-size: 0.8rem !important;
    opacity: 0.85 !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 10px !important;
    transition: all 0.3s ease !important;
}

.project-details span {
    color: rgba(255, 255, 255, 0.6) !important;
}

.project-details strong {
    color: #ffffff !important;
    font-weight: 700;
}

/* Remove button */
.project-btn-pill {
    display: none !important;
}

/* Hover behaviors */
.project-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.project-card:hover .project-image {
    transform: scale(1.05) !important;
}

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

/* Responsive Grid adjustment */
@media (max-width: 991px) {
    .projects-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .project-card {
        height: 420px !important;
        margin-bottom: 0 !important;
    }

    .project-card .project-image {
        height: 250px !important;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .project-card {
        height: 380px !important;
        margin-bottom: 0 !important;
    }

    .project-card .project-image {
        height: 220px !important;
    }
}



/* ==========================================
   BLOG DETAILS PAGE LAYOUT UPGRADES
   ========================================== */
.blog-detail-section {
    padding-top: 150px !important;
    background-color: var(--light-bg);
}

.blog-detail-section .container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-detail-grid {
    display: grid;
    grid-template-columns: 820px 300px;
    gap: 80px;
}

.blog-main-content {
    display: flex;
    flex-direction: column;
}

/* Typography & Constraints for Reading */
.blog-post-body,
.project-description-text {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #cfcfcf !important;
}

.blog-post-body>p,
.blog-post-body>ul,
.blog-post-body>ol,
.blog-post-body>blockquote,
.blog-post-body>h2,
.blog-post-body>h3,
.blog-post-body>h4,
.project-description-text>p,
.project-description-text>ul,
.project-description-text>ol,
.project-description-text>h2 {
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}

.blog-post-body p,
.project-description-text p {
    margin-bottom: 20px !important;
}

.blog-post-body h2,
.project-description-text h2 {
    font-size: 32px !important;
    margin-top: 56px !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: var(--font-heading);
    line-height: 1.3 !important;
}

.blog-post-body h3,
.project-description-text h3 {
    font-size: 24px !important;
    margin-top: 40px !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-family: var(--font-heading);
    line-height: 1.3 !important;
}

/* Breadcrumbs Minimal Left Aligned */
.breadcrumbs-minimal {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs-minimal a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.breadcrumbs-minimal .dot {
    color: var(--border-color);
}

/* Article & Project Header Details */
.article-detail-header {
    max-width: 100%;
    margin: 0 0 35px 0;
    text-align: left;
}

.header-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.header-category a {
    color: var(--primary-color);
}

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

.article-title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.article-short-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 25px;
    font-weight: 400;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
}

.article-meta-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 0 16px 0;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-label {
    font-weight: 500;
}

.meta-value {
    color: #ffffff;
    font-weight: 600;
}

/* Featured Image */
.article-featured-image-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 50px auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.article-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Blocks in Post Content */
.post-media-block {
    margin: 40px auto;
    width: 100%;
    max-width: 100%;
}

.post-single-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-inline-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    object-fit: cover;
    display: block;
    max-height: 580px;
}

.post-image-caption {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
    text-align: center;
    font-style: italic !important;
    max-width: 90% !important;
    line-height: 1.4 !important;
}

/* 2-column image gallery */
.post-gallery-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.post-gallery-item {
    display: flex;
    flex-direction: column;
}

.post-gallery-2col .post-inline-image {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-gallery-item .post-image-caption {
    text-align: left;
    padding-left: 2px;
}

/* Multi-image gallery */
.post-gallery-multi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.post-gallery-multi .post-gallery-item.item-featured {
    grid-column: span 2;
}

.post-gallery-multi .post-gallery-item.item-featured .post-inline-image {
    aspect-ratio: 16 / 9;
}

.post-gallery-multi .post-gallery-item:not(.item-featured) .post-inline-image {
    aspect-ratio: 3 / 2;
}

/* Project Info Grid Block */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px;
    background-color: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 45px;
}

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 2px solid var(--primary-color);
    padding-left: 16px;
}

.project-info-item .info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.project-info-item .info-value {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
}

/* Project Detail Gallery */
.gallery-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.project-gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-image-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 3 / 2;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-gallery-item:hover img {
    transform: scale(1.04);
}

.project-gallery-caption {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-top: 10px !important;
    padding-left: 2px !important;
    font-style: italic !important;
    line-height: 1.4 !important;
}

/* Share footer & Sidebar styling */
.blog-share-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-share-footer .share-title {
    font-weight: 600;
    color: #ffffff;
}

.blog-share-footer .share-links {
    display: flex;
    gap: 12px;
}

.share-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.facebook-btn {
    background-color: rgba(59, 89, 152, 0.1);
    border: 1px solid rgba(59, 89, 152, 0.2);
    color: #3b5998;
}

.facebook-btn:hover {
    background-color: #3b5998;
    color: #ffffff;
    border-color: #3b5998;
}

.twitter-btn {
    background-color: rgba(29, 161, 242, 0.1);
    border: 1px solid rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.twitter-btn:hover {
    background-color: #1da1f2;
    color: #ffffff;
    border-color: #1da1f2;
}

.blog-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.borderless-widget {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 45px !important;
}

.widget-small-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.widget-small-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
    margin-left: 15px;
}

.share-social-icons {
    display: flex;
    gap: 12px;
}

.share-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--dark-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.share-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tag-cloud-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-pill {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--dark-surface);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 4px;
    color: #d0d0d0;
    transition: all 0.3s ease;
}

.tag-cloud-pill:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    gap: 8px;
}

.sidebar-cta-btn:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.sidebar-recent-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-recent-item {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
}

.sidebar-recent-thumb {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sidebar-recent-item:hover .sidebar-recent-thumb img {
    transform: scale(1.08);
}

.sidebar-recent-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-recent-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-recent-title {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0;
}

.sidebar-recent-item:hover .sidebar-recent-title {
    color: var(--primary-color);
}

/* Responsive adjustment */
@media (max-width: 1240px) {
    .blog-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-featured-image-container {
        aspect-ratio: 3 / 2;
    }

    .article-title {
        font-size: 2rem !important;
    }

    .project-info-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-gallery-2col,
    .post-gallery-multi {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-gallery-multi .post-gallery-item.item-featured {
        grid-column: span 1;
    }

    .post-gallery-multi .post-gallery-item.item-featured .post-inline-image {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 480px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

/* ==========================================
   AURA STYLE PRICING & ESTIMATOR CALCULATOR
   ========================================== */
.aura-style-card {
    background-color: var(--dark-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.aura-style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(193, 108, 41, 0.3) !important;
}

.featured-aura-card {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 20px 45px rgba(193, 108, 41, 0.15) !important;
}

.pkg-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
}

.pricing-card-header .pkg-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.pricing-card-header .pkg-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 25px;
}

.pkg-price-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 30px;
}

.pkg-currency {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pkg-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
    line-height: 1;
}

.pkg-unit {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pkg-cta-btn {
    width: 100% !important;
    padding: 14px 0 !important;
    text-align: center;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
}

.pkg-divider {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
    margin-bottom: 25px;
}

.pkg-features-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.pkg-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0 !important;
}

.pkg-features-list li {
    font-size: 0.9rem;
    color: #d0d0d0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkg-features-list li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Calculator specific styles */
.calc-type-btn,
.calc-package-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #d0d0d0;
    padding: 14px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-type-btn:hover,
.calc-package-btn:hover {
    border-color: rgba(193, 108, 41, 0.4);
    color: #ffffff;
}

.calc-type-btn.active,
.calc-package-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.calc-slider {
    -webkit-appearance: none;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 3px solid #1a1a1a;
    transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 3px solid #1a1a1a;
    transition: transform 0.2s;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .calculator-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .calc-result-card {
        position: static !important;
    }
}

/* Pricing card button hover fix */
.pricing-card .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    background-color: transparent !important;
}

.pricing-card .btn-outline:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* ==========================================
   COMPANY CONTACT MODAL STYLING
   ========================================== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    background-color: #121212;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    padding: 45px;
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal.active .modal-content-wrapper {
    transform: scale(1);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-header-section {
    text-align: center;
    margin-bottom: 35px;
}

.modal-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
}

.modal-logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-top: 3px;
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.info-icon-circle {
    width: 44px;
    height: 44px;
    background-color: rgba(193, 108, 41, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.info-text-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition);
}

.info-value:hover {
    color: var(--primary-color);
}

.info-value-text {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

.modal-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.modal-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.modal-btn-secondary {
    background-color: #242424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.modal-btn-secondary:hover {
    background-color: #323232;
    transform: translateY(-2px);
}

/* Cẩm nang HDA intro card button container styling to prevent layout wrapping */
.articles-intro-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap !important;
    width: 100%;
}

.articles-intro-btn-group .btn {
    flex: 1;
    padding: 12px 18px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.articles-intro-btn-group .btn-outline {
    border: 1px solid #121212 !important;
    color: #121212 !important;
    background-color: transparent !important;
}

.articles-intro-btn-group .btn-outline:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.articles-intro-btn-group .btn:hover {
    letter-spacing: 0.7px !important;
}

@media (max-width: 576px) {
    .articles-intro-btn-group {
        flex-wrap: wrap !important;
    }
}

/* Unified Premium Contact Card Redesign */
.unified-contact-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background-color: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    margin: 40px auto 80px auto;
    max-width: 1120px;
}

.contact-form-side {
    padding: 40px 48px;
    color: #121212;
}

.contact-form-side h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 8px;
    color: #121212;
    letter-spacing: -0.5px;
}

.contact-form-side .form-subtitle {
    color: #667085;
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.45;
}

.contact-form-side .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-side .form-group {
    margin-bottom: 16px;
}

.contact-form-side .form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: #344054;
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.contact-form-side .form-control-light {
    width: 100%;
    padding: 10px 14px;
    background-color: #ffffff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 8px !important;
    color: #121212 !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-form-side .form-control-light:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(193, 108, 41, 0.1) !important;
    outline: none;
}

.contact-form-side .phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form-side .phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(193, 108, 41, 0.1);
}

.contact-form-side .phone-prefix {
    padding: 10px 12px;
    background-color: #f9fafb;
    border-right: 1px solid #d0d5dd;
    color: #667085;
    font-weight: 600;
    font-size: 0.85rem;
    user-select: none;
    white-space: nowrap;
}

.contact-form-side .phone-input-wrapper .form-control-light {
    border: none !important;
    border-radius: 0 !important;
}

.contact-form-side .phone-input-wrapper .form-control-light:focus {
    box-shadow: none !important;
}

.contact-form-side .services-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.contact-form-side .checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475467;
    user-select: none;
}

.contact-form-side .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.contact-form-side .checkbox-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.contact-form-side .checkbox-container:hover input~.checkbox-checkmark {
    border-color: var(--primary-color);
}

.contact-form-side .checkbox-container input:checked~.checkbox-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form-side .checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.contact-form-side .checkbox-container input:checked~.checkbox-checkmark:after {
    display: block;
}

.contact-form-side .checkbox-container .checkbox-checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-form-side .btn-submit-form {
    background-color: #121212 !important;
    color: #ffffff !important;
    border: 1px solid #121212 !important;
    width: 100%;
    padding: 12px 20px !important;
    font-size: 0.8rem !important;
    letter-spacing: 1.5px !important;
    margin-top: 10px;
}

.contact-form-side .btn-submit-form:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.contact-form-side .form-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #667085;
    margin-top: 18px;
}

.contact-form-side .form-footer-text a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Image side panel styling with concave masking */
.contact-image-side {
    padding: 20px;
    height: 100%;
}

.contact-image-panel {
    clip-path: url(#concave-corners-clip);
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 640px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    overflow: hidden;
}

.contact-image-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.contact-image-panel>* {
    position: relative;
    z-index: 2;
}

.contact-image-panel .badge-studio {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 22px;
    border-radius: 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 90%;
}

.contact-image-panel .badge-studio .badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-image-panel .badge-studio .badge-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.contact-image-panel .badge-studio .badge-desc i {
    width: 12px;
    text-align: center;
    color: var(--primary-color);
}

.contact-image-panel .cursive-overlay-heading {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 90%;
    letter-spacing: -0.5px;
}

.contact-image-panel .cursive-highlight {
    font-family: 'Alex Brush', cursive;
    font-size: 3.2rem;
    color: var(--primary-color);
    vertical-align: middle;
    display: inline-block;
    margin: 0 4px;
}

.contact-image-panel .bottom-glass-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-image-panel .glass-pill-item {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 100px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-image-panel .glass-pill-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Responsiveness overrides */
@media (max-width: 992px) {
    .unified-contact-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .contact-image-side {
        padding: 20px;
        height: auto;
    }

    .contact-image-panel {
        min-height: 480px;
        padding: 30px;
    }

    .contact-form-side {
        padding: 40px 30px;
    }

    .contact-form-side h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .contact-form-side .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-side .services-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FRONTEND RESPONSIVE STYLING OVERRIDES
   ========================================================================== */

/* 1. Projects Category Filter wrapping on mobile */
.filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
}

.filter-btn {
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

/* 2. Floating Contact Buttons on Mobile */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px !important;
        right: 15px !important;
        gap: 10px !important;
    }

    .float-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }
}

/* 3. Landing Page Columns & Grids Stacking */
@media (max-width: 991px) {
    .drm-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .drm-collage-container {
        grid-template-columns: repeat(2, 1fr) !important;
        height: auto !important;
        gap: 15px !important;
    }

    .drm-collage-item {
        position: relative !important;
        height: 200px !important;
    }

    .drm-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .drm-side-cards-wrapper {
        width: 100% !important;
    }

    .drm-portrait-card-mini {
        height: 260px !important;
    }

    .drm-portrait-card {
        height: 380px !important;
    }

    .drm-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .drm-catalog-right {
        text-align: center !important;
    }

    .drm-catalog-book-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

    .drm-faq-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0 !important;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center;
    }

    .drm-intro-title {
        font-size: 1.6rem !important;
    }

    .articles-intro-card {
        padding: 20px !important;
    }

    .articles-intro-btn-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .articles-intro-btn-group .btn {
        width: 100% !important;
    }

    .faq-header {
        padding: 16px 20px !important;
        font-size: 0.85rem !important;
    }

    .faq-body {
        padding: 0 20px 16px !important;
        font-size: 0.85rem !important;
    }

    .drm-faq-right {
        padding: 30px 20px !important;
    }
}

/* ==========================================================================
   FRONTEND RESPONSIVE STYLING OVERRIDES (REVISED)
   ========================================================================== */

/* Global Overflow Protection */
body,
html {
    overflow-x: hidden !important;
}

.watermark,
.concept-watermark,
.bg-watermark,
.watermark-text {
    overflow: hidden !important;
    max-width: 100vw !important;
}

/* AOS Animation Visibility Fallback on Mobile & Tablet */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Introductory Text Spacing Fix */
.font-script {
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

.drm-intro-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
}

/* Projects Listing Grid Stacking */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Project Detail Gallery Grid Stacking */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* About Page Grids Stacking */
@media (max-width: 991px) {
    .company-about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .company-about-images img:last-child {
        margin-top: 0 !important;
    }

    .commitment-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 576px) {
    .company-about-images {
        grid-template-columns: 1fr !important;
    }

    .company-about-images img {
        height: 200px !important;
    }
}

/* Calculator buttons grid stacking on small screens */
@media (max-width: 576px) {
    .calc-btn-group {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* Blog detail title & meta pills styling on mobile */
@media (max-width: 576px) {
    .blog-detail-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .blog-meta-pills {
        gap: 10px !important;
    }

    .meta-pill {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }
}

/* Contact form side custom spacings */
@media (max-width: 768px) {
    .contact-form-side {
        padding: 30px 20px !important;
    }

    .contact-form-side h3 {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .contact-form-side .form-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }

    .contact-form-side .form-group {
        margin-bottom: 12px !important;
    }

    .contact-form-side .btn-submit-form {
        margin-top: 15px !important;
        padding: 12px 20px !important;
    }
}

/* Fix mobile body zoom scale */
@media (max-width: 991px) {
    body {
        zoom: 1 !important;
    }
}

/* Fix mobile menu overlay blocking pointer events */
.mobile-overlay {
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.active {
    pointer-events: auto;
}

/* Fix mobile header empty top space since top-bar is hidden */
@media (max-width: 768px) {
    body.home-page .header {
        top: 0 !important;
    }
}

/* Fix philosophy section grid stacking and image collage scaling on mobile */
@media (max-width: 991px) {
    .drm-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .drm-collage-container {
        gap: 15px !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .drm-collage-item {
        height: 160px !important;
    }

    .drm-collage-item.item-2 {
        margin-top: 15px !important;
    }

    .drm-collage-item.item-3 {
        margin-top: -15px !important;
    }
}

@media (max-width: 480px) {
    .drm-collage-item {
        height: 120px !important;
    }
}

/* ==========================================================================
   GLOBAL GLASSMORPHIC LIGHTBOX
   ========================================================================== */
.global-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: zoom-out;
}

.global-lightbox.active {
    display: flex;
    opacity: 1;
}

.global-lightbox-img {
    max-width: 90%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.global-lightbox.active .global-lightbox-img {
    transform: scale(1);
}

.global-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.global-lightbox-close:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.global-lightbox-caption {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 80%;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.blog-post-body img,
.project-description-text img,
.blog-featured-image,
.gallery-item img {
    cursor: zoom-in;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog-post-body img:hover,
.project-description-text img:hover,
.blog-featured-image:hover,
.gallery-item img:hover {
    opacity: 0.95;
}

/* Custom Content Spacing for Rich-text and Description Fields */
.project-description-text p,
.blog-post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-description-text p:last-child,
.blog-post-body p:last-child {
    margin-bottom: 0;
}

.project-description-text img,
.blog-post-body img,
.project-description-text figure,
.blog-post-body figure {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.project-description-text ul,
.project-description-text ol,
.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    list-style: disc;
}

.project-description-text li,
.blog-post-body li {
    margin-bottom: 0.5rem;
}

.project-description-text h1,
.project-description-text h2,
.project-description-text h3,
.project-description-text h4,
.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

/* AI Assistant Image Grid Layout Styles */
.post-content-image {
    margin: 40px 0;
    text-align: center;
    display: block;
    width: 100%;
}

.post-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
    margin: 0 auto 15px auto;
}

.post-content-image figcaption {
    margin-top: 15px;
    font-style: italic;
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

/* Image Row Layouts */
.post-image-row {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    width: 100%;
    align-items: stretch;
}

.post-image-row .post-content-image,
.post-image-row .image {
    margin: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.post-image-row .post-content-image img,
.post-image-row .image img {
    width: 100%;
    flex-grow: 1;
    object-fit: cover;
}

.post-image-row-2 .post-content-image img,
.post-image-row-2 .image img {
    height: 380px;
}

.post-image-row-3 .post-content-image img,
.post-image-row-3 .image img {
    height: 250px;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 991px) {

    .post-image-row-2 .post-content-image img,
    .post-image-row-2 .image img {
        height: 280px;
    }

    .post-image-row-3 .post-content-image img,
    .post-image-row-3 .image img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .post-image-row {
        flex-direction: column;
        gap: 25px;
    }

    .post-image-row .post-content-image,
    .post-image-row .image {
        width: 100% !important;
    }

    .post-image-row-2 .post-content-image img,
    .post-image-row-2 .image img,
    .post-image-row-3 .post-content-image img,
    .post-image-row-3 .image img {
        height: auto;
    }
}

/* Table-based Image Gallery Layout (for CKEditor compatibility) */
/* Table-based Image Gallery Layout (for CKEditor compatibility) */
table.image-gallery-table,
table[style*="width: 100%"][style*="border-collapse"]:has(img),
.project-description-text table:has(img),
.blog-main-content table:has(img) {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 40px 0 !important;
    border: none !important;
    background: transparent !important;
    table-layout: fixed !important;
    /* Force equal column widths */
}

table.image-gallery-table tbody,
table.image-gallery-table tr,
table.image-gallery-table td,
table[style*="width: 100%"][style*="border-collapse"] tbody,
table[style*="width: 100%"][style*="border-collapse"] tr,
table[style*="width: 100%"][style*="border-collapse"] td,
.project-description-text table:has(img) tbody,
.project-description-text table:has(img) tr,
.project-description-text table:has(img) td,
.blog-main-content table:has(img) tbody,
.blog-main-content table:has(img) tr,
.blog-main-content table:has(img) td {
    border: none !important;
    background: transparent !important;
}

table.image-gallery-table td,
table[style*="width: 100%"][style*="border-collapse"] td,
.project-description-text table:has(img) td,
.blog-main-content table:has(img) td {
    vertical-align: top !important;
    border: none !important;
    padding: 0 12px !important;
    /* Balanced, equal, and smaller padding */
}

/* Override any specific not-first/last child paddings to use 12px */
table.image-gallery-table td:not(:first-child) {
    padding-left: 12px !important;
}

table.image-gallery-table td:not(:last-child) {
    padding-right: 12px !important;
}

/* Override any inline width styles on td to have balanced padding */
table[style*="border"] td[style*="width"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

table.image-gallery-table figure.post-content-image,
table[style*="width: 100%"][style*="border-collapse"] figure,
.project-description-text table figure,
.blog-main-content table figure {
    margin: 0 !important;
    width: 100% !important;
}

table.image-gallery-table figure.post-content-image img,
table[style*="width: 100%"][style*="border-collapse"] figure img,
.project-description-text table figure img,
.blog-main-content table figure img {
    width: 100% !important;
    display: block !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 15px !important;
}

/* Enforce uniform heights and crops for balanced layout */
/* 3 Columns (Desktop) */
table.image-gallery-table td:first-child:nth-last-child(3) figure.post-content-image img,
table.image-gallery-table td:first-child:nth-last-child(3)~td figure.post-content-image img,
table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(3) figure img,
table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(3)~td figure img,
.project-description-text table td:first-child:nth-last-child(3) img,
.project-description-text table td:first-child:nth-last-child(3)~td img,
.blog-main-content table td:first-child:nth-last-child(3) img,
.blog-main-content table td:first-child:nth-last-child(3)~td img {
    height: 250px !important;
    object-fit: cover !important;
}

/* 2 Columns (Desktop) */
table.image-gallery-table td:first-child:nth-last-child(2) figure.post-content-image img,
table.image-gallery-table td:first-child:nth-last-child(2)~td figure.post-content-image img,
table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(2) figure img,
table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(2)~td figure img,
.project-description-text table td:first-child:nth-last-child(2) img,
.project-description-text table td:first-child:nth-last-child(2)~td img,
.blog-main-content table td:first-child:nth-last-child(2) img,
.blog-main-content table td:first-child:nth-last-child(2)~td img {
    height: 350px !important;
    object-fit: cover !important;
}

table.image-gallery-table figure.post-content-image figcaption,
table[style*="width: 100%"][style*="border-collapse"] figcaption,
.project-description-text table figcaption,
.blog-main-content table figcaption {
    margin-top: 10px !important;
    padding: 0 10px !important;
    font-style: italic !important;
    color: #64748b !important;
    font-size: 0.88rem !important;
    text-align: center !important;
    line-height: 1.5 !important;
    min-height: 60px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Override inline styles in project/post description content */
.project-description-text,
.blog-main-content {
    color: #d0d0d0 !important;
    line-height: 1.8 !important;
    font-size: 1.05rem !important;
}

.project-description-text p,
.blog-main-content p {
    margin-bottom: 20px !important;
    line-height: 1.8 !important;
}

.project-description-text h2,
.blog-main-content h2 {
    font-family: var(--font-heading) !important;
    font-size: 1.8rem !important;
    margin: 40px 0 25px 0 !important;
    color: #ffffff !important;
}

.project-description-text h3,
.blog-main-content h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    margin: 30px 0 20px 0 !important;
    color: #ffffff !important;
}

/* Override padding for cells in description tables to match 12px padding */
.project-description-text table[style] td,
.blog-main-content table[style] td {
    padding: 10px 12px !important;
    vertical-align: top !important;
    border: none !important;
}

/* Table overrides on specific attributes */
table[style*="width: 100%"][style*="border-collapse"] td {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border: none !important;
}

/* Tablet Heights */
@media (max-width: 991px) and (min-width: 768px) {

    /* 3 Columns (Tablet) */
    table.image-gallery-table td:first-child:nth-last-child(3) figure.post-content-image img,
    table.image-gallery-table td:first-child:nth-last-child(3)~td figure.post-content-image img,
    table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(3) figure img,
    table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(3)~td figure img,
    .project-description-text table td:first-child:nth-last-child(3) img,
    .project-description-text table td:first-child:nth-last-child(3)~td img,
    .blog-main-content table td:first-child:nth-last-child(3) img,
    .blog-main-content table td:first-child:nth-last-child(3)~td img {
        height: 180px !important;
    }

    /* 2 Columns (Tablet) */
    table.image-gallery-table td:first-child:nth-last-child(2) figure.post-content-image img,
    table.image-gallery-table td:first-child:nth-last-child(2)~td figure.post-content-image img,
    table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(2) figure img,
    table[style*="width: 100%"][style*="border-collapse"] td:first-child:nth-last-child(2)~td figure img,
    .project-description-text table td:first-child:nth-last-child(2) img,
    .project-description-text table td:first-child:nth-last-child(2)~td img,
    .blog-main-content table td:first-child:nth-last-child(2) img,
    .blog-main-content table td:first-child:nth-last-child(2)~td img {
        height: 280px !important;
    }
}

/* Responsive (Mobile Stacked) */
@media (max-width: 767px) {

    table.image-gallery-table,
    table.image-gallery-table tbody,
    table.image-gallery-table tr,
    table.image-gallery-table td,
    table[style*="width: 100%"][style*="border-collapse"],
    table[style*="width: 100%"][style*="border-collapse"] tbody,
    table[style*="width: 100%"][style*="border-collapse"] tr,
    table[style*="width: 100%"][style*="border-collapse"] td,
    .project-description-text table:has(img),
    .project-description-text table:has(img) tbody,
    .project-description-text table:has(img) tr,
    .project-description-text table:has(img) td,
    .blog-main-content table:has(img),
    .blog-main-content table:has(img) tbody,
    .blog-main-content table:has(img) tr,
    .blog-main-content table:has(img) td {
        display: block !important;
        width: 100% !important;
    }

    table.image-gallery-table td,
    table[style*="width: 100%"][style*="border-collapse"] td,
    .project-description-text table:has(img) td,
    .blog-main-content table:has(img) td {
        padding: 15px 0 !important;
    }

    table.image-gallery-table td figure.post-content-image img,
    table[style*="width: 100%"][style*="border-collapse"] td figure img,
    .project-description-text table td img,
    .blog-main-content table td img {
        height: auto !important;
    }
}