/* ============================================================
   Dharma Metal Alloys LLP - Custom Theme Stylesheet
   Colors: Red (#C00000), Black (#000), Gold/Brass (#D4AF37)
   Font: Outfit (Google Fonts)
   ============================================================ */

/* ---------- Google Font Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --dma-red: #C00000;
    --dma-red-dark: #990000;
    --dma-red-light: #E03030;
    --dma-black: #000000;
    --dma-dark: #111111;
    --dma-dark-gray: #1a1a1a;
    --dma-gray: #333333;
    --dma-mid-gray: #666666;
    --dma-light-gray: #f5f5f5;
    --dma-border-gray: #e0e0e0;
    --dma-gold: #D4AF37;
    --dma-gold-light: #E8CC6E;
    --dma-gold-dark: #B8941E;
    --dma-white: #ffffff;
    --dma-font: 'Outfit', sans-serif;
    --dma-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --dma-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --dma-radius: 8px;
    --dma-radius-lg: 12px;
    --dma-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--dma-font);
    color: var(--dma-gray);
    background-color: var(--dma-white);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--dma-mid-gray);
}

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

a:hover {
    color: var(--dma-red-dark);
}

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

/* ---------- Section Styles ---------- */
.section-padding {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dma-dark);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    color: var(--dma-mid-gray);
    font-size: 1.05rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--dma-red), var(--dma-gold));
    border: none;
    margin: 12px auto 20px auto;
    border-radius: 2px;
}

.bg-dark-section {
    background-color: var(--dma-dark);
    color: var(--dma-white);
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
    color: var(--dma-white);
}

.bg-dark-section p {
    color: #bbb;
}

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

/* ---------- Top Info Bar ---------- */
.topbar-dma {
    background: linear-gradient(90deg, var(--dma-dark) 0%, var(--dma-gray) 100%);
    padding: 8px 0;
    border-bottom: 2px solid var(--dma-red);
}

.topbar-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.topbar-info li {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar-info li i {
    color: var(--dma-gold);
    font-size: 0.75rem;
}

.topbar-social {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    transition: var(--dma-transition);
}

.topbar-social a:hover {
    background: var(--dma-red);
    color: var(--dma-white);
    transform: scale(1.1);
}

/* ---------- Navbar ---------- */
.navbar-dma {
    background-color: var(--dma-white) !important;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border-bottom: 1px solid var(--dma-border-gray);
    z-index: 1050;
    transition: var(--dma-transition);
}

.navbar-dma.scrolled {
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.navbar-dma .navbar-brand {
    padding: 10px 0;
}

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

.navbar-dma .brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 14px;
    line-height: 1.15;
}

.navbar-dma .brand-name {
    font-family: var(--dma-font);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--dma-dark);
    background: linear-gradient(135deg, var(--dma-dark) 0%, var(--dma-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 4px;
}

.navbar-dma .brand-tagline {
    font-family: var(--dma-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--dma-gold);
    margin-top: 3px;
}

.navbar-dma .navbar-brand:hover .brand-name {
    background: linear-gradient(135deg, var(--dma-red) 0%, var(--dma-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-dma .navbar-brand:hover .brand-tagline {
    color: var(--dma-gold-dark);
}

.navbar-dma .nav-link {
    color: var(--dma-gray) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 22px 16px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--dma-transition);
}

.navbar-dma .nav-link::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--dma-red), var(--dma-gold));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.navbar-dma .nav-link:hover {
    color: var(--dma-red) !important;
}

.navbar-dma .nav-link.active {
    color: var(--dma-red) !important;
    font-weight: 700;
}

.navbar-dma .navbar-toggler {
    border-color: rgba(0,0,0,0.15);
    padding: 6px 10px;
}

.navbar-dma .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(192,0,0,0.15);
}

/* Navbar CTA Button */
.navbar-dma .btn-nav-cta {
    background-color: var(--dma-red);
    color: var(--dma-white) !important;
    border-radius: 6px;
    padding: 9px 22px !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 12px;
    text-transform: uppercase;
    transition: var(--dma-transition);
    box-shadow: 0 3px 12px rgba(192,0,0,0.25);
}

.navbar-dma .btn-nav-cta:hover {
    background-color: var(--dma-red-dark);
    box-shadow: 0 5px 18px rgba(192,0,0,0.35);
    transform: translateY(-1px);
}

.navbar-dma .btn-nav-cta::after {
    display: none;
}

/* ---------- Product Mega Dropdown ---------- */
.dropdown-mega {
    position: relative;
}

.dropdown-mega > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.55rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.5;
}

.dropdown-mega:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--dma-red);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 420px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
    z-index: 1060;
    padding-top: 0;
}

.dropdown-mega:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-inner {
    background: var(--dma-white);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--dma-red), var(--dma-gold)) 1;
}

/* Arrow pointer at top */
.mega-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--dma-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1061;
}

/* Dropdown Items */
.mega-dropdown-grid {
    padding: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.mega-dropdown-grid > .mega-dropdown-item {
    width: calc(50% - 1px);
}

.mega-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none !important;
    color: var(--dma-gray) !important;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.mega-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(192, 0, 0, 0.07), rgba(212, 175, 55, 0.04));
    color: var(--dma-red) !important;
    padding-left: 16px;
}

/* Chevron bullet */
.mega-item-bullet {
    font-size: 0.5rem;
    color: var(--dma-gold);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mega-dropdown-item:hover .mega-item-bullet {
    color: var(--dma-red);
    transform: translateX(2px);
}

.mega-item-name {
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown Footer */
.mega-dropdown-footer {
    padding: 8px 14px 10px;
    border-top: 1px solid var(--dma-border-gray);
    text-align: center;
    background: var(--dma-light-gray);
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--dma-red) !important;
    text-decoration: none !important;
    padding: 5px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.mega-footer-link:hover {
    background: var(--dma-red);
    color: var(--dma-white) !important;
}

.mega-footer-link i {
    transition: transform 0.25s ease;
}

.mega-footer-link:hover i {
    transform: translateX(3px);
}

/* ---------- Mega Dropdown Responsive ---------- */
@media (max-width: 991.98px) {
    .mega-dropdown {
        position: static;
        transform: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        padding-top: 0;
    }

    .dropdown-mega:hover .mega-dropdown,
    .dropdown-mega.show .mega-dropdown {
        display: block;
        transform: none;
    }

    .mega-dropdown::before {
        display: none;
    }

    .mega-dropdown-inner {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        margin: 4px 0;
        border-top: 2px solid transparent;
        border-image: linear-gradient(90deg, var(--dma-red), var(--dma-gold)) 1;
    }

    .mega-dropdown-grid {
        padding: 4px;
    }

    .mega-dropdown-item {
        padding: 8px 12px;
    }

    .mega-dropdown-footer {
        padding: 8px 12px;
    }

    .dropdown-arrow {
        margin-left: auto;
    }
}

/* ---------- Buttons ---------- */
.btn-dma-red {
    background-color: var(--dma-red);
    color: var(--dma-white);
    border: 2px solid var(--dma-red);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--dma-radius);
    transition: var(--dma-transition);
    text-transform: uppercase;
}

.btn-dma-red:hover {
    background-color: var(--dma-red-dark);
    border-color: var(--dma-red-dark);
    color: var(--dma-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,0,0,0.3);
}

.btn-dma-outline {
    background-color: transparent;
    color: var(--dma-white);
    border: 2px solid var(--dma-white);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--dma-radius);
    transition: var(--dma-transition);
    text-transform: uppercase;
}

.btn-dma-outline:hover {
    background-color: var(--dma-white);
    color: var(--dma-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn-dma-gold {
    background-color: var(--dma-gold);
    color: var(--dma-dark);
    border: 2px solid var(--dma-gold);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--dma-radius);
    transition: var(--dma-transition);
    text-transform: uppercase;
}

.btn-dma-gold:hover {
    background-color: var(--dma-gold-dark);
    border-color: var(--dma-gold-dark);
    color: var(--dma-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.3);
}

.btn-dma-dark {
    background-color: var(--dma-dark);
    color: var(--dma-white);
    border: 2px solid var(--dma-dark);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--dma-radius);
    transition: var(--dma-transition);
    text-transform: uppercase;
}

.btn-dma-dark:hover {
    background-color: var(--dma-black);
    border-color: var(--dma-black);
    color: var(--dma-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ---------- Hero Section ---------- */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(17,17,17,0.92) 50%, rgba(192,0,0,0.15) 100%),
                url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?w=1920&q=80') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

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

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--dma-white);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-section h1 .text-gold {
    color: var(--dma-gold);
}

.hero-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(192,0,0,0.2);
    border: 1px solid rgba(192,0,0,0.4);
    color: var(--dma-red-light);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dma-gold);
    margin-bottom: 0.2rem;
}

.hero-stat-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Category Cards ---------- */
.category-card {
    background: var(--dma-white);
    border: 1px solid var(--dma-border-gray);
    border-radius: var(--dma-radius-lg);
    padding: 40px 25px;
    text-align: center;
    transition: var(--dma-transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dma-red), var(--dma-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

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

.category-card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192,0,0,0.08), rgba(212,175,55,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--dma-transition);
}

.category-card:hover .icon-wrap {
    background: linear-gradient(135deg, var(--dma-red), var(--dma-gold));
}

.category-card .icon-wrap i {
    font-size: 2rem;
    color: var(--dma-red);
    transition: var(--dma-transition);
}

.category-card:hover .icon-wrap i {
    color: var(--dma-white);
}

.category-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Stat Counter ---------- */
.stat-counter {
    text-align: center;
    padding: 30px 15px;
}

.stat-counter .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dma-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-counter .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ---------- Product Cards ---------- */

/* Shimmer sweep keyframe */
@keyframes shimmer-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Glow pulse keyframe */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(192, 0, 0, 0.18), 0 2px 8px rgba(212, 175, 55, 0.10); }
    50% { box-shadow: 0 12px 48px rgba(192, 0, 0, 0.28), 0 4px 16px rgba(212, 175, 55, 0.18); }
}

.product-card {
    background: var(--dma-white);
    border: 2px solid #c00000;
    border-radius: var(--dma-radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.product-card:hover {
    background: var(--dma-white);
    border: 2px solid #8f0202;
    border-radius: var(--dma-radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Gradient border glow on hover (pseudo-element underneath) */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--dma-radius-lg) + 2px);
    background: linear-gradient(135deg, var(--dma-red), var(--dma-gold), var(--dma-red-light), var(--dma-gold-light));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.45s ease, background-position 0.8s ease;
}

.product-card:hover::before {
    opacity: 1;
    background-position: 100% 100%;
}

/* ---------- Product Image Wrap ---------- */
.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--dma-light-gray);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Golden shimmer sweep overlay */
.product-card .product-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.08) 25%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(212, 175, 55, 0.08) 75%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
    transform: skewX(-20deg);
}

.product-card:hover .product-img-wrap::after {
    animation: shimmer-sweep 0.8s ease-out forwards;
}

/* Warm overlay tint on hover */
.product-card .product-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(192, 0, 0, 0.06) 70%,
        rgba(192, 0, 0, 0.12) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.product-card:hover .product-img-wrap::before {
    opacity: 1;
}

/* ---------- Product Image ---------- */
.product-card .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.45s ease;
    filter: saturate(0.95);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
    filter: saturate(1.1) brightness(1.05);
}

/* ---------- Product Badge ---------- */
.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dma-red);
    color: var(--dma-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.25);
}

.product-card:hover .product-badge {
    background: linear-gradient(135deg, var(--dma-red), var(--dma-red-dark));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(192, 0, 0, 0.35);
}

/* ---------- Card Body ---------- */
.product-card .card-body {
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Gold accent line that slides in on hover */
.product-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--dma-red), var(--dma-gold), var(--dma-gold-light));
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .card-body::before {
    transform: translateX(0);
}

.product-card .card-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.35s ease, transform 0.35s ease;
}

.product-card:hover .card-body h5 {
    color: var(--dma-red);
    transform: translateX(4px);
}

.product-card .card-body p {
    font-size: 0.88rem;
    color: var(--dma-mid-gray);
    margin-bottom: 1rem;
    transition: color 0.35s ease;
}

.product-card:hover .card-body p {
    color: var(--dma-gray);
}

/* ---------- View Details Button ---------- */
.product-card .btn-view-details {
    background: transparent;
    color: var(--dma-red);
    border: 1.5px solid var(--dma-red);
    padding: 7px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Button fill sweep from left */
.product-card .btn-view-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dma-red), var(--dma-red-dark));
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card .btn-view-details:hover::before {
    left: 0;
}

.product-card .btn-view-details:hover {
    color: var(--dma-white);
    border-color: var(--dma-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 0, 0, 0.3);
}

/* ---------- Product Image Placeholder Icon (for cards without images) ---------- */
.product-card .product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card .product-img-placeholder i {
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img-placeholder i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--dma-red);
}

/* Product Filter Buttons */
.filter-btn-group .btn {
    background: var(--dma-white);
    color: var(--dma-gray);
    border: 1.5px solid var(--dma-border-gray);
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    margin: 4px;
    transition: var(--dma-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn-group .btn:hover,
.filter-btn-group .btn.active {
    background: var(--dma-red);
    color: var(--dma-white);
    border-color: var(--dma-red);
}

/* ---------- Service Cards ---------- */
.service-card {
    background: var(--dma-white);
    border: 1px solid var(--dma-border-gray);
    border-radius: var(--dma-radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--dma-transition);
    height: 100%;
}

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

.service-card .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192,0,0,0.1), rgba(192,0,0,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--dma-transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--dma-red), var(--dma-red-dark));
}

.service-card .service-icon i {
    font-size: 1.8rem;
    color: var(--dma-red);
    transition: var(--dma-transition);
}

.service-card:hover .service-icon i {
    color: var(--dma-white);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.service-card p {
    font-size: 0.9rem;
}

/* ---------- Quality Process ---------- */
.quality-step {
    position: relative;
    padding: 30px;
    text-align: center;
}

.quality-step .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dma-red), var(--dma-red-dark));
    color: var(--dma-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 15px rgba(192,0,0,0.3);
}

.quality-step .step-icon {
    font-size: 2.2rem;
    color: var(--dma-gold);
    margin-bottom: 12px;
}

.quality-step h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quality-step p {
    font-size: 0.88rem;
}

/* Certification Cards */
.cert-card {
    background: var(--dma-white);
    border: 2px solid var(--dma-border-gray);
    border-radius: var(--dma-radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--dma-transition);
}

.cert-card:hover {
    border-color: var(--dma-gold);
    box-shadow: var(--dma-shadow);
}

.cert-card .cert-icon {
    font-size: 2.5rem;
    color: var(--dma-gold);
    margin-bottom: 12px;
}

.cert-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cert-card p {
    font-size: 0.82rem;
    margin: 0;
}

/* ---------- About Page ---------- */
.value-card {
    background: var(--dma-white);
    border: 1px solid var(--dma-border-gray);
    border-radius: var(--dma-radius-lg);
    padding: 30px 25px;
    text-align: center;
    transition: var(--dma-transition);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dma-shadow-lg);
    border-color: transparent;
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.value-card .value-icon i {
    font-size: 1.6rem;
    color: var(--dma-gold);
}

.value-card h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.88rem;
    margin: 0;
}

.why-choose-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--dma-border-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-choose-list li:last-child {
    border-bottom: none;
}

.why-choose-list li i {
    color: var(--dma-red);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---------- Page Header / Breadcrumb Banner ---------- */
.page-header {
    background: linear-gradient(135deg, var(--dma-black) 0%, var(--dma-dark) 60%, rgba(192,0,0,0.3) 100%);
    padding: 80px 0 50px 0;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dma-red), var(--dma-gold), var(--dma-red));
}

.page-header h1 {
    color: var(--dma-white);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
}

.breadcrumb-dma {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-dma .breadcrumb-item a {
    color: var(--dma-gold);
    font-weight: 500;
    font-size: 0.9rem;
}

.breadcrumb-dma .breadcrumb-item a:hover {
    color: var(--dma-gold-light);
}

.breadcrumb-dma .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.breadcrumb-dma .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ---------- Contact Page ---------- */
.contact-info-card {
    background: var(--dma-white);
    border: 1px solid var(--dma-border-gray);
    border-radius: var(--dma-radius-lg);
    padding: 30px 25px;
    text-align: center;
    transition: var(--dma-transition);
    height: 100%;
}

.contact-info-card:hover {
    box-shadow: var(--dma-shadow);
    border-color: var(--dma-red);
}

.contact-info-card .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192,0,0,0.1), rgba(192,0,0,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.contact-info-card .contact-icon i {
    font-size: 1.4rem;
    color: var(--dma-red);
}

.contact-info-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-info-card p {
    font-size: 0.88rem;
    margin: 0;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1.5px solid var(--dma-border-gray);
    border-radius: var(--dma-radius);
    padding: 12px 16px;
    font-size: 0.92rem;
    font-family: var(--dma-font);
    transition: var(--dma-transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--dma-red);
    box-shadow: 0 0 0 3px rgba(192,0,0,0.1);
}

.contact-form label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dma-gray);
    margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.footer-dma {
    background-color: var(--dma-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}

.footer-dma h5 {
    color: var(--dma-white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-dma h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--dma-red);
    border-radius: 2px;
}

.footer-dma p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

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

.footer-dma .footer-links li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--dma-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-dma .footer-links li a i {
    font-size: 0.7rem;
    color: var(--dma-red);
}

.footer-dma .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-dma .footer-contact li i {
    color: var(--dma-red);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    font-size: 1rem;
    transition: var(--dma-transition);
}

.footer-social a:hover {
    background: var(--dma-red);
    color: var(--dma-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .text-gold {
    color: var(--dma-gold);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dma-red);
    color: var(--dma-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(192,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--dma-transition);
    z-index: 999;
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dma-red-dark);
    transform: translateY(-3px);
}

/* ---------- Utility classes ---------- */
.text-red { color: var(--dma-red) !important; }
.text-gold { color: var(--dma-gold) !important; }
.text-dark-custom { color: var(--dma-dark) !important; }
.bg-red { background-color: var(--dma-red) !important; }
.bg-gold { background-color: var(--dma-gold) !important; }

.gold-line {
    width: 50px;
    height: 3px;
    background: var(--dma-gold);
    border-radius: 2px;
}

/* ---------- Product Image Placeholder ---------- */
.product-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

/* ---------- Modal Styling ---------- */
.modal-dma .modal-header {
    background: var(--dma-dark);
    color: var(--dma-white);
    border-bottom: 3px solid var(--dma-red);
}

.modal-dma .modal-header .btn-close {
    filter: invert(1);
}

.modal-dma .modal-body {
    padding: 30px;
}

.modal-dma .spec-table th {
    background: var(--dma-light-gray);
    font-weight: 600;
    font-size: 0.9rem;
    width: 40%;
}

.modal-dma .spec-table td {
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .section-title,
    h2 {
        font-size: 1.8rem;
    }

    .navbar-dma .nav-link {
        padding: 12px 18px !important;
        border-bottom: 1px solid var(--dma-border-gray);
    }

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

    .navbar-dma .nav-link.active {
        background: rgba(192,0,0,0.05);
        border-left: 3px solid var(--dma-red);
    }

    .navbar-dma .btn-nav-cta {
        margin: 10px 0 5px 0;
        text-align: center;
        display: block;
        border-radius: 6px;
    }

    .stat-counter .stat-number {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

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

    .hero-stats {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .hero-stat-item h3 {
        font-size: 1.5rem;
    }

    .category-card {
        padding: 25px 15px;
    }

    .footer-dma {
        text-align: center;
    }

    .footer-dma h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-dma .footer-links li a {
        justify-content: center;
    }

    .footer-dma .footer-contact li {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .btn-dma-red,
    .btn-dma-outline,
    .btn-dma-gold,
    .btn-dma-dark {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .product-card .product-img-wrap {
        height: 180px;
    }

    .product-img-placeholder {
        height: 180px;
    }

    .navbar-dma .brand-name {
        font-size: 1rem;
    }

    .navbar-dma .brand-tagline {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .navbar-dma .brand-text {
        margin-left: 10px;
    }

    .navbar-dma .navbar-brand img {
        height: 55px;
    }
}
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
        padding-bottom: 25px;
    }
}

/* ---------- Category Filter Pills ---------- */
.category-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dma-gray);
    background: var(--dma-light-gray);
    border: 1px solid var(--dma-border-gray);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    color: var(--dma-red);
    border-color: var(--dma-red);
    background: var(--dma-white);
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.12);
    transform: translateY(-2px);
}

.category-filter-btn.active {
    color: var(--dma-white) !important;
    background: linear-gradient(135deg, var(--dma-red), var(--dma-red-dark));
    border-color: var(--dma-red);
    box-shadow: 0 4px 15px rgba(192, 0, 0, 0.25);
}

