/**
 * Detech Printing Design - fastprinting.org
 * Based on: https://themexbd.com/detech/printing/
 */

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    height: 40px;
    display: flex;
    align-items: center;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}
.topbar-left a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}
.topbar-left a:hover { opacity: 0.85; }
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-social a {
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-social a:hover { opacity: 0.75; }
.topbar-social svg { width: 14px; height: 14px; fill: #fff; }

/* =============================================
   HEADER - White
   ============================================= */
.header {
    background: #ffffff !important;
    border-bottom: 1px solid #f0ece8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    top: 40px;
}
.header-logo-text {
    color: var(--color-secondary) !important;
    font-weight: 700;
    font-size: 1.25rem;
}
.nav-link {
    color: var(--color-secondary) !important;
    font-weight: 600;
}
.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
    background: transparent !important;
}
.nav-dropdown { border-top: 3px solid var(--color-primary); }
.nav-dropdown-link { color: var(--color-secondary) !important; }
.nav-dropdown-link:hover { color: var(--color-primary) !important; background: #fff5f1; }
.mobile-menu-toggle span { background: var(--color-secondary); }

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--color-secondary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease;
    white-space: nowrap;
}
.header-cta-btn:hover {
    background: var(--color-primary);
    color: #fff !important;
}

/* Spacer: header + topbar */
.header-spacer {
    height: calc(var(--header-height) + 40px);
}

/* =============================================
   HERO SECTION - Split Layout
   ============================================= */
.hero-detech {
    background: #fff5f1;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-detech-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-detech-text {
    position: relative;
    z-index: 2;
}
.hero-detech-label {
    color: var(--color-primary);
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}
.hero-detech-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-detech-desc {
    color: #646464;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}
.hero-detech-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-detech-image img.hero-main-img {
    width: 100%;
    max-width: 520px;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(232,93,4,0.15);
}
.hero-detech-circle {
    position: absolute;
    width: 360px;
    height: 360px;
    background: rgba(232,93,4,0.12);
    border-radius: 50%;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.hero-detech-sparkle {
    position: absolute;
    bottom: 30px;
    left: -10px;
    z-index: 3;
    color: var(--color-primary);
    font-size: 2rem;
    animation: sparkle-spin 4s linear infinite;
}
@keyframes sparkle-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-detech-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(232,93,4,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.hero-detech-bg-shape2 {
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: rgba(232,93,4,0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* CTA Buttons */
.btn-detech-primary {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.25s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-detech-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}
.btn-detech-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--color-secondary) !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--color-secondary);
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-detech-secondary:hover {
    background: var(--color-secondary);
    color: #fff !important;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
    background: #ffffff;
    padding: 80px 0;
}
.section-label {
    display: block;
    color: var(--color-primary);
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 8px;
}
.section-title-detech {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.2;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}
.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.feature-card:hover img { transform: scale(1.05); }
.feature-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,29,8,0.85) 0%, transparent 100%);
    padding: 20px 16px 16px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

/* Benefits Bar */
.benefits-bar {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #f0ece8;
    border-bottom: 1px solid #f0ece8;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.benefit-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon svg { width: 32px; height: 32px; fill: var(--color-primary); }
.benefit-text strong {
    display: block;
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 14px;
}
.benefit-text span {
    font-size: 13px;
    color: #646464;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    background: #fff;
    padding: 80px 0;
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-main-img {
    width: 100%;
    max-width: 480px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.about-shape {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    opacity: 0.7;
    z-index: 0;
}
.about-stat-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--color-primary);
    color: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(232,93,4,0.3);
}
.about-stat-badge .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: #fff;
}
.about-stat-badge .stat-label {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.3;
}
.about-text-wrap { position: relative; }
.about-text-wrap .section-label { text-align: left; }
.about-text-wrap .section-title-detech { text-align: left; margin-bottom: 16px; }
.about-desc {
    color: #646464;
    line-height: 1.8;
    margin-bottom: 28px;
}
.about-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
}
.about-mini-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}
.about-mini-stat .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-secondary);
}
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.about-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #646464;
    font-size: 14px;
}
.about-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E85D04'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

/* =============================================
   CTA BANNER SECTION
   ============================================= */
.cta-banner-section {
    position: relative;
    background-image: url('/images/ref/video-bg-img.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}
.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 8, 0.75);
}
.cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.cta-banner-label {
    display: block;
    color: var(--color-primary);
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.cta-banner-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.2;
}
.cta-banner-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.cta-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.25s ease;
}
.cta-play-btn:hover { background: rgba(255,255,255,0.15); }
.cta-play-btn svg { width: 24px; height: 24px; fill: #fff; }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    background: #fff;
    padding: 80px 0;
}
.services-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}
.services-left-title {
    position: sticky;
    top: 120px;
}
.services-left-title .section-label { text-align: left; }
.services-left-title .section-title-detech { text-align: left; margin-bottom: 16px; font-size: 2rem; }
.services-left-desc {
    color: #646464;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    border: 1px solid #f0ece8;
    border-radius: 8px;
    padding: 24px 20px;
    background: #fff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 8px 30px rgba(232,93,4,0.12);
    border-color: rgba(232,93,4,0.3);
}
.service-card-icon {
    width: 52px;
    height: 52px;
    background: #fff5f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.service-card-icon svg { width: 28px; height: 28px; fill: var(--color-primary); }
.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-card p {
    font-size: 13px;
    color: #646464;
    line-height: 1.7;
    margin-bottom: 14px;
}
.service-card-link {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.service-card-link:hover { gap: 8px; }
.service-card-link::after { content: '→'; }

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    background: #fff5f1;
    padding: 80px 0;
}
.faq-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
    max-width: 850px;
    margin: 0 auto;
}
.faq-left .section-label { text-align: left; }
.faq-left .section-title-detech { text-align: left; margin-bottom: 30px; }
.faq-accordion { display: flex; flex-direction: column; gap: 0; }
.faq-item {
    border-bottom: 1px solid #e0dbd7;
    overflow: hidden;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-secondary);
    user-select: none;
    gap: 16px;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.faq-item.open .faq-question-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #646464;
    font-size: 14px;
    line-height: 1.8;
    padding: 0;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 18px;
}
.faq-right {
    position: relative;
}
.faq-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.faq-img-wrap img.faq-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.faq-shap-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    opacity: 0.5;
    pointer-events: none;
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio-section {
    background: #fff;
    padding: 80px 0;
}
.portfolio-section .section-label { text-align: center; }
.portfolio-section .section-title-detech { text-align: center; margin-bottom: 40px; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portfolio-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,29,8,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blog-section {
    background: #fff5f1;
    padding: 80px 0;
}
.blog-section .section-label { text-align: center; }
.blog-section .section-title-detech { text-align: center; margin-bottom: 40px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: block;
}
.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.blog-card-body {
    padding: 20px;
}
.blog-card-date {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-title:hover { color: var(--color-primary); }
.blog-card-link {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    transition: gap 0.2s ease;
}
.blog-card-link:hover { gap: 8px; }
.blog-card-link::after { content: '→'; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--color-bg-footer) !important;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}
.footer .header-logo-text {
    color: #fff !important;
}
.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
}
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.footer-disclaimer {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-bottom: 8px;
}

/* =============================================
   MOBILE MENU - Light theme overrides
   ============================================= */
.mobile-nav {
    background: #fff !important;
}
/* Hamburger lines: dark on white header */
.mobile-menu-toggle span {
    background: var(--color-secondary) !important;
}
/* Close button: dark icon */
.mobile-nav-close {
    color: var(--color-secondary) !important;
}
.mobile-nav-close:hover {
    color: var(--color-primary) !important;
}
/* Nav links */
.mobile-nav-link {
    color: var(--color-secondary) !important;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary) !important;
}
/* Item borders */
.mobile-nav-item {
    border-bottom-color: #e8e4e0 !important;
}
/* Dropdown links */
.mobile-nav-dropdown a {
    color: #646464 !important;
}
.mobile-nav-dropdown a:hover {
    color: var(--color-primary) !important;
}
.mobile-nav-dropdown a.active {
    color: var(--color-primary) !important;
    font-weight: 600;
}
/* Dropdown "All" link */
.mobile-nav-dropdown .mobile-nav-all {
    color: var(--color-secondary) !important;
    border-bottom-color: #e8e4e0 !important;
}
.mobile-nav-dropdown .mobile-nav-all.active {
    color: var(--color-primary) !important;
}

/* =============================================
   INTERNAL PAGES - Page Hero
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 60px 0;
    color: #fff;
}
.page-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero-breadcrumb a:hover { color: var(--color-primary); }
.page-hero-breadcrumb span { color: var(--color-primary); }

/* =============================================
   ARTICLE PAGES
   ============================================= */
.article-page { background: #fff; }
.article-content {
    color: #001d08;
    line-height: 1.8;
    font-size: 1rem;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #001d08;
    font-weight: 700;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    /* Hero — single column, no image on tablet/mobile */
    .hero-detech {
        min-height: auto;
        padding: 48px 0 40px;
    }
    .hero-detech-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .hero-detech-image { display: none; }
    .hero-detech-circle { display: none; }
    .hero-detech-sparkle { display: none; }
    .hero-detech-bg-shape { display: none; }
    .hero-detech-bg-shape2 { display: none; }

    /* About: hide image, center text */
    .about-inner { grid-template-columns: 1fr; }
    .about-image-wrap { display: none; }
    .about-text-wrap .section-label,
    .about-text-wrap .section-title-detech { text-align: left; }

    /* Other grids */
    .services-inner { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-inner { grid-template-columns: 1fr; }
    .faq-right { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }

    /* Header */
    .topbar { display: none; }
    .header { top: 0 !important; }
    .header-spacer { height: var(--header-height); }
    .header-cta-btn { display: none; }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Hero */
    .hero-detech { padding: 36px 0 32px; }
    .hero-detech-title { font-size: 1.5rem; line-height: 1.25; }
    .hero-detech-desc { max-width: 100%; font-size: 0.95rem; margin-bottom: 20px; }
    .hero-detech-label { font-size: 0.9rem; margin-bottom: 8px; }

    /* All section labels & titles consistent left-align on mobile */
    .section-label { text-align: left; }
    .section-title-detech { text-align: left; margin-bottom: 24px; font-size: 1.4rem; }
    .services-section p[style*="text-align:center"] { text-align: left !important; margin-bottom: 20px; }

    /* Grids */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .blog-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Benefits bar */
    .benefits-bar { padding: 20px 0; }
    .benefit-item { padding: 8px 0; }
    .benefit-text strong { font-size: 13px; }
    .benefit-text span { font-size: 12px; }

    /* About */
    .about-checklist { grid-template-columns: 1fr; }
    .about-stats-row { gap: 20px; }
    .about-section { padding: 40px 0; }
    .about-desc { font-size: 0.95rem; }

    /* CTA / Footer */
    .cta-banner-btns { flex-direction: column; align-items: center; }
    .cta-banner-section { padding: 50px 0; }
    .cta-banner-title { font-size: 1.3rem; line-height: 1.3; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { padding: 40px 0 30px; }

    /* FAQ */
    .faq-inner { max-width: 100%; }
    .faq-section { padding: 40px 0; }
    .faq-left .section-label { text-align: left; }
    .faq-left .section-title-detech { text-align: left; font-size: 1.4rem; }
    .faq-question { font-size: 14px; padding: 14px 0; }
    .faq-answer { font-size: 13px; }

    /* Page hero (internal pages) */
    .page-hero { padding: 28px 0; }
    .page-hero-title { font-size: 1.3rem; }
    .page-hero-breadcrumb { font-size: 12px; flex-wrap: wrap; }

    /* Sections */
    .features-section { padding: 40px 0; }
    .services-section { padding: 40px 0; }
    .portfolio-section { padding: 40px 0; }

    /* Contact / Article inline grids */
    .contact-grid-two-col { grid-template-columns: 1fr !important; }
    .article-sidebar-grid { grid-template-columns: 1fr !important; }
    .article-related-grid { grid-template-columns: 1fr !important; }

    /* Buttons — full width on mobile */
    .btn-detech-primary,
    .btn-detech-secondary { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
    .hero-detech-text div[style*="display:flex"] { flex-direction: column; }

    /* Override inline section paddings */
    .main-content section[style*="padding:80px"],
    .main-content section[style*="padding:70px"],
    .main-content section[style*="padding: 80px"],
    .main-content section[style*="padding: 70px"] {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    .main-content section[style*="padding:60px"],
    .main-content section[style*="padding: 60px"] {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    /* SEO text block */
    .seo-home { padding: 36px 0 !important; }
    .seo-home h2 { font-size: 1.25rem; }
    .seo-home h3 { font-size: 1.05rem; }
    .seo-home p, .seo-home li { font-size: 0.93rem; }

    /* Contact page */
    .contact-grid .section-title-detech { font-size: 1.3rem !important; }
}

/* =============================================
   RESPONSIVE — SMALL PHONE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    /* Hero */
    .hero-detech { padding: 28px 0 24px; }
    .hero-detech-title { font-size: 1.25rem; }
    .hero-detech-desc { font-size: 0.88rem; }
    .hero-detech-label { font-size: 0.85rem; }

    /* Grids single column */
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { aspect-ratio: 16/10; }

    /* Section titles */
    .section-title-detech { font-size: 1.15rem; margin-bottom: 20px; }
    .section-label { font-size: 0.85rem; }

    /* CTA */
    .cta-banner-title { font-size: 1.15rem; }
    .cta-banner-label { font-size: 0.85rem; }

    /* All sections tight */
    .main-content section[style*="padding"] {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .page-hero { padding: 20px 0; }
    .page-hero-title { font-size: 1.15rem; }

    /* Benefits */
    .benefits-bar { padding: 16px 0; }

    /* Smaller gaps everywhere */
    .contact-grid { gap: 20px !important; }
    .home-blog-grid { gap: 14px; }
    .testimonials-grid { gap: 14px; }

    /* Article content */
    .article-content { font-size: 0.93rem; }
    .article-content h2 { font-size: 1.1rem; }
    .article-content h3 { font-size: 1rem; }

    /* Pagination wrap */
    nav ul[style*="display:flex"] { flex-wrap: wrap; justify-content: center; }
}

/* Fix body background */
body {
    background: #fff;
}
