/*
 * CSS Stylesheet for UpSeeks Media Custom Theme Extension
 * Author: Delwer Hossain
 */

/* ==========================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --bg-site: #0a0c14;
    --bg-section: #0e101a;
    --bg-card: #131620;
    --bg-card-hover: #181c2a;
    --bg-elevated: #1a1e2e;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --primary: #C9A962;
    --primary-dark: #a88a3a;
    --primary-light: #e2cb93;
    --primary-bg: rgba(201, 169, 98, 0.1);

    --accent-purple: #7c3aed;
    --accent-green: #10b981;
    --accent-cyan: #06b6d4;

    --text-heading: #f1f3f5;
    --text-body: #cdd0d6;
    --text-muted: #8b8f9a;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --transition: 0.25s ease;
}

/* ==========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.dh-body {
    background-color: var(--bg-site);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

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

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

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

.dh-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ==========================================
   3. SECTION COMMON STYLES
   ========================================== */
.dh-section {
    padding: 90px 0;
}

.dh-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

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

.dh-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.dh-section-header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ==========================================
   4. BUTTONS
   ========================================== */
.dh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.dh-btn-primary {
    background: var(--primary);
    color: #0a0c14;
}

.dh-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.dh-btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.dh-btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

/* Legacy button compat */
.dh-cta-btn {
    background: var(--primary);
    color: #0a0c14;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.dh-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #0a0c14;
}

.dh-secondary-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-block;
}

.dh-secondary-btn:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================
   5. NAVIGATION HEADER
   ========================================== */
.dh-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 20, 0.85);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dh-header.scrolled {
    background: rgba(10, 12, 20, 0.95);
    box-shadow: var(--shadow-lg);
}

.dh-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    transition: var(--transition);
}

.dh-logo-wrapper {
    display: flex;
    align-items: center;
}

.dh-logo-wrapper .custom-logo-link {
    display: flex;
    align-items: center;
}

.dh-logo-wrapper .custom-logo {
    max-height: 65px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.dh-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dh-logo i {
    font-size: 20px;
    color: var(--primary);
}

.dh-nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.dh-nav-menu>li>a,
.dh-nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.dh-nav-menu>li>a:hover,
.dh-nav-menu>li.current-menu-item>a,
.dh-nav-link:hover,
.dh-nav-link.active {
    color: var(--text-heading);
}

/* Dropdown */
.dh-nav-menu>li.menu-item-has-children,
.dh-dropdown {
    position: relative;
}

ul.sub-menu,
.dh-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 240px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}

ul.sub-menu::before,
.dh-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

ul.sub-menu::after,
.dh-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--bg-elevated) transparent;
}

.dh-nav-menu>li.menu-item-has-children:hover>ul.sub-menu,
.dh-dropdown:hover .dh-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

ul.sub-menu>li>a,
.dh-dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

ul.sub-menu>li>a:hover,
.dh-dropdown-item:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.04);
}

.dh-dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--primary);
}

.dh-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-heading);
}

/* ==========================================
   6. HERO SECTION
   ========================================== */
.dh-hero {
    padding-top: 50px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.dh-hero::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.dh-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dh-hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dh-hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dh-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.dh-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/* ==========================================
   7. STATS SECTION
   ========================================== */
.dh-stats-section {
    padding-bottom: 80px;
}

.dh-stats-grid {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    box-shadow: var(--shadow-md);
    gap: 32px;
}

.dh-stat-card {
    position: relative;
}

.dh-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -16px;
    height: 80%;
    width: 1px;
    background: var(--border-color);
}

.dh-stat-num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.1;
}

.dh-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   8. SERVICES SECTION
   ========================================== */
.dh-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.dh-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
}

.dh-service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dh-service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-bg);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.dh-service-card:hover .dh-service-icon {
    background: var(--primary);
    color: #0a0c14;
    border-color: var(--primary);
}

.dh-service-info h3 {
    font-size: 20px;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.dh-service-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.dh-service-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.dh-service-link i {
    font-size: 12px;
    transition: var(--transition);
}

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

.dh-services-grid.five-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.dh-services-grid.five-items .dh-service-card {
    grid-column: span 2;
}

.dh-services-grid.five-items .dh-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.dh-services-grid.five-items .dh-service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

/* ==========================================
   9. PORTFOLIO GRID
   ========================================== */
.dh-portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.dh-portfolio-tab {
    background: transparent;
    border: 1px solid #c9a9621f;
    color: var(--text-muted);
    font-weight: 500;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.dh-portfolio-tab:hover {
    border-color: var(--border-hover);
    color: #0a0c14;
    background: var(--primary);
}

.dh-portfolio-tab.active {
    background: var(--primary);
    color: #0a0c14;
    border-color: var(--primary);
    font-weight: 600;
}

.dh-portfolio-grid {
    display: grid;
    gap: 18px;
}

@media (max-width: 1024px) {
    .dh-portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .dh-portfolio-grid {
        grid-template-columns: 1fr !important;
    }
}

.dh-portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.dh-portfolio-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dh-portfolio-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #121520;
}

.dh-portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dh-portfolio-thumb .dh-portfolio-icon-wrap {
    transition: var(--transition);
}

.dh-portfolio-item:hover .dh-portfolio-thumb .dh-portfolio-icon-wrap {
    transform: scale(1.05);
}

.dh-portfolio-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 12, 20, 0.85);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.dh-portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dh-portfolio-info h3 {
    font-size: 18px;
    color: var(--text-heading);
    margin-bottom: 8px;
    margin-top: 0;
}

.dh-portfolio-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
    flex-grow: 1;
    line-height: 1.6;
}

.dh-portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.dh-portfolio-stat {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-green);
}

.dh-portfolio-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.dh-portfolio-read-more:hover {
    color: var(--primary-light);
    background: transparent;
}

.dh-portfolio-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.dh-portfolio-link:hover {
    color: var(--primary-light);
}

.dh-portfolio-link i {
    font-size: 11px;
    transition: var(--transition);
}

.dh-portfolio-link:hover i {
    transform: translateX(3px);
}

.dh-portfolio-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.dh-portfolio-read-more:hover {
    color: var(--primary-light);
}

.dh-portfolio-read-more i {
    font-size: 11px;
    transition: var(--transition);
}

.dh-portfolio-read-more:hover i {
    transform: translateX(3px);
}

/* ==========================================
   10. POPUP MODAL
   ========================================== */
.dh-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    overflow-y: auto;
    padding: 40px 20px;
}

.dh-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-popup-modal {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 90%;
    width: 100%;
    margin: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: dh-popup-in 0.3s ease;
}

.dh-popup-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    overflow: hidden;
    padding: 0;
}

@keyframes dh-popup-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dh-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.dh-popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.dh-popup-left {
    display: flex;
    align-items: flex-start;
}

.dh-popup-left img {
    width: 100%;
    height: auto;
    display: block;
}

.dh-popup-right {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dh-popup-badge {
    display: inline-block;
    background: var(--primary-bg);
    border: 1px solid rgba(201, 169, 98, 0.25);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    align-self: flex-start;
}

.dh-popup-right h2 {
    font-size: 26px;
    color: var(--text-heading);
    margin-bottom: 6px;
    line-height: 1.25;
}

.dh-popup-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 16px;
}

.dh-popup-desc {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}

.dh-popup-desc p {
    margin-bottom: 14px;
}

.dh-popup-desc ul {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
}

.dh-popup-desc ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-body);
    font-size: 14px;
}

.dh-popup-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

.dh-popup-desc strong {
    color: var(--text-heading);
}

.dh-popup-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.dh-popup-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.dh-popup-stat-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
    line-height: 1.2;
}

.dh-popup-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   11. CASE STUDIES
   ========================================== */
.dh-case-study-hero {
    background: var(--bg-section);
    padding-top: 140px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.dh-case-study-tag {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.dh-case-study-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.dh-case-study-meta-item span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.dh-case-study-meta-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
}

.dh-case-study-content {
    padding: 70px 0;
}

.dh-case-study-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 56px;
}

.dh-cs-section {
    margin-bottom: 40px;
}

.dh-cs-section h2 {
    font-size: 26px;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.dh-cs-section p {
    color: var(--text-body);
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.8;
}

.dh-cs-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: fit-content;
}

.dh-cs-result-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.dh-cs-result-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 4px;
}

.dh-cs-result-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Analytics Chart */
.dh-analytics-chart {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
}

.dh-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.dh-chart-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.dh-chart-legend {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.dh-legend-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 6px;
}

.dh-legend-item.green::before {
    background: var(--accent-green);
}

.dh-chart-svg {
    width: 100%;
    height: 200px;
    display: block;
}

/* ==========================================
   12. DISCOVERY CALL & FORM
   ========================================== */
.dh-booking-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    padding: 50px 0;
    align-items: center;
}

.dh-booking-info h1 {
    font-size: 44px;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.dh-booking-info p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.dh-booking-perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.dh-booking-perk-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-bg);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.dh-booking-perk-text h4 {
    font-size: 15px;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.dh-booking-perk-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.dh-booking-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.dh-form-group {
    margin-bottom: 22px;
}

.dh-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-heading);
}

.dh-form-input,
.dh-form-textarea,
.dh-form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-heading);
    transition: var(--transition);
    outline: none;
    font-size: 14px;
}

.dh-form-input:focus,
.dh-form-textarea:focus,
.dh-form-select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.dh-form-textarea {
    resize: vertical;
    min-height: 110px;
}

.dh-form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.dh-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.dh-checkbox-label input {
    cursor: pointer;
}

.dh-checkbox-label:hover {
    border-color: var(--border-hover);
    color: var(--text-body);
}

.dh-checkbox-label.checked {
    border-color: var(--primary);
    background: var(--primary-bg);
    color: var(--primary);
}

.dh-form-submit-btn {
    width: 100%;
    cursor: pointer;
}

.dh-form-status {
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
    text-align: center;
}

.dh-form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-green);
    display: block;
}

.dh-form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    display: block;
}

/* ==========================================
   13. ROADMAP
   ========================================== */
.dh-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.dh-roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dh-roadmap-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.dh-roadmap-step {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.dh-roadmap-card h4 {
    font-size: 17px;
    color: var(--text-heading);
    margin-bottom: 10px;
    margin-top: 14px;
}

.dh-roadmap-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.dh-roadmap-card i {
    transition: var(--transition);
}

/* ==========================================
   14. DELIVERABLES
   ========================================== */
.dh-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.dh-deliverable-item {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 22px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.dh-deliverable-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.dh-deliverable-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-bg);
    border: 1px solid rgba(201, 169, 98, 0.2);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.dh-deliverable-text h4 {
    font-size: 16px;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.dh-deliverable-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   15. FOOTER
   ========================================== */
.dh-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
}

.dh-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 44px;
    margin-bottom: 50px;
}

.dh-footer-grid p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 14px;
    margin-bottom: 22px;
    line-height: 1.7;
}

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

.wp-block-social-link-anchor {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
}

.wp-block-social-link-anchor svg {
	width: 24px !important;
    height: 24px !important;   
    fill: var(--text-muted) !important;
}

.dh-footer-grid ul {
    list-style: none;
}

.wp-block-social-link-anchor:hover {
    background: white;
    fill: white;
    border-color: white;
}

.wp-block-social-link-anchor:hover svg {
    fill: #0a0c14;
}

.dh-footer-col ul.menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dh-footer-col ul.menu a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.dh-footer-col ul.menu a:hover {
    color: #fff;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    fill: transparent;
    border-radius: 0;
}


.wp-block-social-links .wp-block-social-link.wp-social-link a:hover{
	transform: unset !important;
	background: white !important;
}
.wp-block-social-links .wp-block-social-link.wp-social-link a:hover svg {
	fill: black !important;
}

.dh-footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.dh-footer-contact-item a {
    color: unset;
}
.dh-footer-contact-item a:hover{
	color: white !important;
}

.dh-footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
}

.dh-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dh-contact-icon-wrap {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dh-contact-icon-wrap i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 0;
}

.dh-contact-label {
    display: block;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 13px;
    margin-bottom: 2px;
    margin-top: 4px;
}

.dh-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.dh-footer-bottom--centered {
    justify-content: center;
}

/* ==========================================
   15. VIDEO PLAYER
   ========================================== */

.dh-video-section {
    text-align: center;
}

.dh-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 32px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.dh-video-wrapper iframe,
.dh-video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.dh-video-btn-wrap {
    margin-top: 24px;
}

.dh-video-btn-wrap .dh-cta-btn {
    display: inline-flex;
    align-items: center;
}

/* ==========================================
   16. PHOTO SLIDER
   ========================================== */

.dh-slider {
    width: 100%;
}

.dh-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.dh-slider-track {
    display: flex;
    gap: 12px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.dh-slide {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.dh-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Boxed Layout */
.dh-slider--boxed .dh-slider-viewport {
    overflow: hidden;
}

/* View Large — Hover Overlay */
.dh-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.dh-slide:hover .dh-slide-overlay {
    opacity: 1;
}

.dh-slide-view-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dh-slide-view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dh-slide-view-btn svg {
    display: block;
}

/* Lightbox */
.dh-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.dh-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.dh-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.dh-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
}

.dh-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dh-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dh-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0;
}

.dh-slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.dh-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   17. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .dh-hero h1 {
        font-size: 52px;
    }

    .dh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-services-grid.five-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-services-grid.five-items .dh-service-card,
    .dh-services-grid.five-items .dh-service-card:nth-child(4),
    .dh-services-grid.five-items .dh-service-card:nth-child(5) {
        grid-column: span 1;
    }

    .dh-services-grid.five-items .dh-service-card:nth-child(5) {
        grid-column: 1 / span 2;
    }

    .dh-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .dh-stat-card:nth-child(2)::after {
        display: none;
    }

    .dh-roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dh-menu-toggle {
        display: block;
    }

    .dh-nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(10, 12, 20, 0.98);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 36px 24px;
        gap: 20px;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .dh-header.scrolled .dh-nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .dh-nav-menu.active {
        left: 0;
    }

    ul.sub-menu,
    .dh-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 0 14px;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease, margin-top 0.35s ease, border 0.35s ease;
        border-color: transparent;
    }

    ul.sub-menu::before,
    .dh-dropdown-menu::before,
    ul.sub-menu::after,
    .dh-dropdown-menu::after {
        display: none;
    }

    .dh-nav-menu>li.menu-item-has-children.active>ul.sub-menu,
    .dh-dropdown.active .dh-dropdown-menu {
        max-height: 400px;
        padding: 10px 14px;
        margin-top: 8px;
        border-color: var(--border-color);
    }

    .dh-nav-menu>li {
        width: 100%;
    }

    .dh-nav-menu>li.menu-item-has-children>a,
    .dh-dropdown>.dh-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dh-nav-menu>li.menu-item-has-children>a::after,
    .dh-dropdown>.dh-nav-link::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        border: none;
        font-size: 14px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 50%;
        transition: transform 0.3s ease;
        position: static;
        flex-shrink: 0;
    }

    .dh-nav-menu>li.menu-item-has-children.active>a::after,
    .dh-dropdown.active>.dh-nav-link::after {
        transform: rotate(180deg);
    }

    .dh-hero h1 {
        font-size: 38px;
    }

    .dh-hero p {
        font-size: 16px;
    }

    .dh-hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .dh-cta-btn,
    .dh-secondary-btn {
        width: 100%;
    }

    .dh-section-header h2 {
        font-size: 28px;
    }

    .dh-services-grid {
        grid-template-columns: 1fr;
    }

    .dh-services-grid.five-items {
        grid-template-columns: 1fr;
    }

    .dh-services-grid.five-items .dh-service-card,
    .dh-services-grid.five-items .dh-service-card:nth-child(4),
    .dh-services-grid.five-items .dh-service-card:nth-child(5) {
        grid-column: span 1;
    }

    .dh-portfolio-tabs {
        flex-wrap: wrap;
    }

    .dh-stats-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

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

    .dh-booking-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .dh-booking-info h1 {
        font-size: 32px;
    }

    .dh-booking-form-container {
        padding: 24px;
    }

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

    .dh-roadmap-grid {
        grid-template-columns: 1fr;
    }

    .dh-deliverables-grid {
        grid-template-columns: 1fr;
    }

    .dh-case-study-layout {
        grid-template-columns: 1fr;
    }

    .dh-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Default WordPress Widget Styles inside Footer Columns */
    footer .wp-block-group .widgettitle,
    footer .wp-block-group .widget-title,
    footer .wp-block-group .wp-block-heading {
        font-size: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px;
        margin-bottom: 20px;
        color: var(--text-heading);
        font-family: var(--font-heading);
        font-weight: 700;
        line-height: 1.3;
    }

    .dh-footer-col ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dh-footer-col ul li {
        padding: 0;
    }

    .dh-footer-col ul li::before {
        display: none;
    }

    .dh-footer-col a,
    .dh-footer-col .menu-item a {
        font-size: 14px;
        color: var(--text-muted) !important;
        transition: var(--transition);
        text-decoration: none;
        background: none;
        border: none;
        padding: 0;
    }

    .dh-footer-col a:hover,
    .dh-footer-col .menu-item a:hover {
        color: var(--text-heading) !important;
    }

    .dh-footer-col p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.7;
    }

    .dh-footer-col .menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dh-footer-col .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: none;
        border: none;
        padding: 0 0 0 12px;
        margin-top: 4px;
        gap: 6px;
    }

    .dh-footer-col .sub-menu::before,
    .dh-footer-col .sub-menu::after {
        display: none;
    }

    /* Social icon links inside footer widgets */
    .dh-footer-col .wp-block-social-link,
    .dh-footer-col .wp-block-social-link a,
    .dh-footer-col.wp-block-social-links .wp-block-social-link a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--text-muted) !important;
        font-size: 14px;
        transition: var(--transition);
        text-decoration: none;
    }

    .dh-footer-col .wp-block-social-link a:hover {
        background: var(--primary) !important;
        color: #0a0c14 !important;
        border-color: var(--primary);
    }

    .dh-footer-col .wp-block-social-link svg,
    .dh-footer-col .wp-block-social-link a svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    /* Custom HTML widget social icons via i tags */
    .dh-footer-col a i {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 14px;
        transition: var(--transition);
    }

    .dh-footer-col a:hover i {
        background: var(--primary);
        color: #0a0c14;
        border-color: var(--primary);
    }

    .dh-popup-split {
        grid-template-columns: 1fr;
    }

    .dh-popup-left {
        min-height: 220px;
        max-height: 280px;
    }

    .dh-popup-right {
        padding: 28px 24px;
    }

    .dh-popup-right h2 {
        font-size: 22px;
    }

    .dh-popup-stats {
        gap: 10px;
    }

    .dh-popup-stat-item {
        padding: 12px 14px;
        min-width: 80px;
    }

    .dh-footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

}
.dh-footer-col ul.wp-block-social-links {
    flex-direction: row !important;
}

body.admin-bar header.dh-header {
    top: 32px;
}