/* ==========================================================================
   Royal Group of Bangladesh — Modern Design System (2026 UI/UX)
   Zero Data Alteration | Pure Visual & UX Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --rg-primary: #0b132b;
    --rg-primary-surface: #1c2541;
    --rg-accent: #2563eb;
    --rg-accent-hover: #1d4ed8;
    --rg-accent-glow: rgba(37, 99, 235, 0.15);
    --rg-accent-subtle: #eff6ff;
    --rg-emerald: #059669;
    --rg-emerald-subtle: #ecfdf5;

    --rg-bg: #f8fafc;
    --rg-surface: #ffffff;
    --rg-border: #e2e8f0;
    --rg-border-hover: #cbd5e1;

    --rg-text-dark: #0f172a;
    --rg-text-body: #334155;
    --rg-text-muted: #64748b;
    --rg-text-light: #94a3b8;

    --rg-radius-sm: 8px;
    --rg-radius: 12px;
    --rg-radius-lg: 20px;
    --rg-radius-xl: 28px;
    --rg-radius-full: 9999px;

    --rg-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
    --rg-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --rg-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --rg-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --rg-shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);

    --rg-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Overrides */
body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: var(--rg-bg);
    color: var(--rg-text-body);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    color: var(--rg-text-dark);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    color: var(--rg-accent);
    transition: var(--rg-transition);
    text-decoration: none !important;
}

a:hover {
    color: var(--rg-accent-hover);
}

/* ==========================================================================
   Modern Header Architecture
   ========================================================================== */

/* Modern Top Utility Bar */
.rg-topbar {
    background: #0b132b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    font-size: 13px;
    color: #94a3b8;
}

.rg-topbar a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.rg-topbar a:hover {
    color: #ffffff;
}

.rg-topbar .contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.rg-topbar .contact-chip i {
    color: var(--rg-accent);
    font-size: 12px;
}

.rg-topbar .slogan-tag {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 10px;
    border-radius: var(--rg-radius-full);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Modern Notice Headline Ticker */
.rg-topbar-notice {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rg-radius-full);
    padding: 2px 12px 2px 4px;
    height: 30px;
    overflow: hidden;
    flex-grow: 1;
    max-width: 540px;
    margin: 0 16px;
}

.rg-notice-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: var(--rg-radius-full);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 12px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.rg-notice-badge i {
    font-size: 10px;
    margin-right: 4px;
    animation: notice-bell 2s infinite ease;
}

@keyframes notice-bell {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(14deg); }
    30% { transform: rotate(-14deg); }
    45% { transform: rotate(8deg); }
    60% { transform: rotate(-8deg); }
    75% { transform: rotate(0deg); }
}

.rg-ticker-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.rg-ticker-marquee {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 12.5px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1;
    cursor: pointer;
}

.rg-ticker-marquee:hover {
    color: #38bdf8;
}

.rg-topbar .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rg-topbar .social-icons a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #94a3b8;
    transition: var(--rg-transition);
}

.rg-topbar .social-icons a:hover {
    background: var(--rg-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Main Navigation Bar (Sticky Glassmorphic) */
.rg-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rg-border);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--rg-transition);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.rg-header.scrolled {
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

.rg-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

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

.rg-logo img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
    transition: var(--rg-transition);
}

/* Nav Menu */
.rg-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rg-nav-item {
    position: relative;
}

.rg-nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--rg-text-dark);
    padding: 10px 16px;
    border-radius: var(--rg-radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--rg-transition);
}

.rg-nav-link i.arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.rg-nav-link:hover,
.rg-nav-item.active .rg-nav-link {
    color: var(--rg-accent);
    background: var(--rg-accent-subtle);
}

.rg-nav-item:hover .rg-nav-link i.arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.rg-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 10px;
    box-shadow: var(--rg-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    list-style: none;
}

.rg-nav-item:hover>.rg-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.rg-dropdown li {
    position: relative;
    list-style: none;
}

.rg-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--rg-text-body);
    border-radius: var(--rg-radius-sm);
    transition: var(--rg-transition);
}

.rg-dropdown-link:hover {
    color: var(--rg-accent);
    background: var(--rg-bg);
    transform: translateX(4px);
}

/* Sub-dropdown */
.rg-sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 10px;
    box-shadow: var(--rg-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.2s ease;
    z-style: none;
}

.rg-dropdown li:hover>.rg-sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Header Action CTA Button */
.rg-nav-btn {
    background: var(--rg-accent);
    color: #ffffff !important;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--rg-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: var(--rg-transition);
}

.rg-nav-btn:hover {
    background: var(--rg-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: #ffffff !important;
}

/* Mobile Toggle */
.rg-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius-sm);
    padding: 8px 12px;
    font-size: 18px;
    color: var(--rg-text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Modern Hero Slider
   ========================================================================== */
.rg-hero-section {
    position: relative;
    background: #0b132b;
    overflow: hidden;
}

.rg-hero-slider {
    position: relative;
    width: 100%;
    min-height: 560px;
}

.rg-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out, transform 8s ease-out;
    transform: scale(1.04);
    display: flex;
    align-items: center;
}

.rg-hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.rg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.92) 0%, rgba(11, 19, 43, 0.75) 50%, rgba(11, 19, 43, 0.4) 100%);
}

.rg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 60px 0;
    color: #ffffff;
}

.rg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.4);
    backdrop-filter: blur(8px);
    color: #7dd3fc;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--rg-radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rg-hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.rg-hero-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 30px;
    font-weight: 400;
}

.rg-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rg-accent);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: var(--rg-radius-full);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: var(--rg-transition);
}

.rg-hero-btn:hover {
    background: var(--rg-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5);
}

/* Modern Slider Arrows */
.rg-slider-controls {
    position: absolute;
    bottom: 36px;
    right: 48px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.rg-slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--rg-transition);
}

.rg-slider-arrow:hover {
    background: var(--rg-accent);
    border-color: var(--rg-accent);
    transform: scale(1.08);
}

/* ==========================================================================
   Trust & Key KPI Stats Strip
   ========================================================================== */
.rg-kpi-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--rg-border);
    padding: 24px 0;
    position: relative;
    z-index: 5;
    box-shadow: var(--rg-shadow-sm);
}

.rg-kpi-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.rg-kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rg-radius);
    background: var(--rg-accent-subtle);
    color: var(--rg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.rg-kpi-icon.green {
    background: var(--rg-emerald-subtle);
    color: var(--rg-emerald);
}

.rg-kpi-text h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: var(--rg-text-dark);
}

.rg-kpi-text p {
    font-size: 13px;
    color: var(--rg-text-muted);
    margin: 0;
}

/* ==========================================================================
   Section Headers & Titles
   ========================================================================== */
.rg-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.rg-section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--rg-accent-subtle);
    color: var(--rg-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--rg-radius-full);
    margin-bottom: 12px;
}

.rg-section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--rg-text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.rg-section-desc {
    font-size: 16px;
    color: var(--rg-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Modern Welcome / About Us Section
   ========================================================================== */
.rg-about-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius-lg);
    padding: 40px;
    box-shadow: var(--rg-shadow);
}

.rg-about-img-box {
    position: relative;
    border-radius: var(--rg-radius);
    overflow: hidden;
    box-shadow: var(--rg-shadow-md);
}

.rg-about-img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rg-about-img-box:hover img {
    transform: scale(1.03);
}

.rg-about-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--rg-text-body);
}

.rg-about-content p {
    margin-bottom: 16px;
}

/* ==========================================================================
   Modern Product Categories Section
   ========================================================================== */
.rg-category-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--rg-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--rg-shadow-sm);
}

.rg-category-card:hover {
    border-color: var(--rg-accent);
    transform: translateY(-6px);
    box-shadow: var(--rg-shadow-md);
}

.rg-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--rg-transition);
}

.rg-category-card:hover .rg-category-icon {
    background: #e0e7ff;
    border-color: #bfdbfe;
    transform: scale(1.08);
}

.rg-category-svg {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rg-category-card:hover .rg-category-svg {
    transform: scale(1.12);
}

.rg-category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rg-text-dark);
    margin: 0;
    transition: var(--rg-transition);
}

.rg-category-card:hover .rg-category-title {
    color: var(--rg-accent);
}

/* ==========================================================================
   Modern Clients / Partners Section
   ========================================================================== */
.rg-client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.rg-client-box {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: var(--rg-transition);
}

.rg-client-box:hover {
    border-color: var(--rg-accent);
    transform: translateY(-4px);
    box-shadow: var(--rg-shadow);
}

.rg-client-box img {
    max-height: 55px;
    max-width: 80%;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.85);
    transition: var(--rg-transition);
}

.rg-client-box:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ==========================================================================
   Modern Footer Architecture
   ========================================================================== */
.rg-footer {
    background: linear-gradient(180deg, #0b132b 0%, #030712 100%);
    color: #94a3b8;
    padding-top: 70px;
    font-size: 14.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rg-footer h4 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

.rg-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--rg-accent);
    border-radius: var(--rg-radius-full);
}

.rg-footer-bio p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.rg-footer-links li {
    margin-bottom: 12px;
}

.rg-footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--rg-transition);
}

.rg-footer-links a i {
    font-size: 11px;
    color: var(--rg-accent);
}

.rg-footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.rg-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.rg-footer-contact-item i {
    color: var(--rg-accent);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.rg-footer-map {
    border-radius: var(--rg-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--rg-shadow);
}

.rg-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 13.5px;
    color: #64748b;
}

.rg-footer-bottom a {
    color: #94a3b8;
}

.rg-footer-bottom a:hover {
    color: #ffffff;
}

/* Back to top modern floating button */
.rg-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rg-accent);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--rg-transition);
}

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

.rg-back-to-top:hover {
    background: var(--rg-accent-hover);
    transform: translateY(-4px);
}

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

    .rg-nav-menu,
    .rg-nav-btn {
        display: none !important;
    }

    .rg-mobile-toggle {
        display: block !important;
    }

    .rg-hero-title {
        font-size: 32px;
    }

    .rg-hero-slider {
        min-height: 480px;
    }

    .rg-slider-controls {
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Modern Product Card & Category Page Enhancements
   ========================================================================== */
#product-categories-alvi .card {
    border: 1px solid var(--rg-border) !important;
    border-radius: var(--rg-radius) !important;
    background: #ffffff !important;
    overflow: hidden;
    transition: var(--rg-transition) !important;
    box-shadow: var(--rg-shadow-sm) !important;
}

#product-categories-alvi .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rg-shadow-md) !important;
    border-color: var(--rg-accent) !important;
}

#product-categories-alvi .card-img {
    height: 240px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#product-categories-alvi .card-img img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#product-categories-alvi .card:hover .card-img img {
    transform: scale(1.06);
}

#product-categories-alvi .card-title p {
    font-size: 15px;
    font-weight: 700;
    color: var(--rg-text-dark) !important;
    margin: 14px 10px 10px 10px !important;
}

#product-categories-alvi .view-items {
    padding: 0 16px 16px 16px;
}

#product-categories-alvi .view-items a.btn {
    background: var(--rg-accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: var(--rg-radius-full) !important;
    padding: 8px 16px;
    transition: var(--rg-transition);
    border: none !important;
}

#product-categories-alvi .view-items a.btn:hover {
    background: var(--rg-accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Category Logo Header */
#category-logo {
    background: #ffffff;
    border-bottom: 1px solid var(--rg-border);
}

#category-logo .logo {
    display: flex;
    align-items: center;
}

#category-logo .logo p {
    font-size: 24px;
    font-weight: 800;
    color: var(--rg-text-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Modern Contact Us Office Cards
   ========================================================================== */
.contact_footer_description.address {
    background: #ffffff !important;
    border: 1px solid var(--rg-border) !important;
    border-radius: var(--rg-radius-lg) !important;
    box-shadow: var(--rg-shadow) !important;
    height: 100%;
    transition: var(--rg-transition);
}

.contact_footer_description.address:hover {
    border-color: var(--rg-accent) !important;
    transform: translateY(-4px);
    box-shadow: var(--rg-shadow-md) !important;
}

.contact_footer_description.address h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--rg-text-dark);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.contact_footer_description.address h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--rg-accent);
    border-radius: var(--rg-radius-full);
}

.contact_footer_description.address p {
    font-size: 14.5px;
    color: var(--rg-text-body);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact_footer_description.address p i {
    color: var(--rg-accent);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ==========================================================================
   Page Header & Breadcrumbs
   ========================================================================== */
#page-section {
    background: #ffffff;
    border-radius: var(--rg-radius-lg);
    border: 1px solid var(--rg-border);
    padding: 30px;
    box-shadow: var(--rg-shadow-sm);
}

/* ==========================================================================
   Modern Product Details & Category Showcase (2026 UI/UX)
   ========================================================================== */
.rg-product-breadcrumb {
    padding: 16px 0;
    font-size: 13.5px;
    color: var(--rg-text-muted);
}

.rg-product-breadcrumb a {
    color: var(--rg-text-muted);
    font-weight: 500;
}

.rg-product-breadcrumb a:hover {
    color: var(--rg-accent);
}

.rg-product-breadcrumb span.current {
    color: var(--rg-text-dark);
    font-weight: 600;
}

.rg-product-gallery-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius-lg);
    padding: 28px;
    box-shadow: var(--rg-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
}

.rg-product-gallery-card img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.rg-product-gallery-card:hover img {
    transform: scale(1.05);
}

.rg-product-info-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--rg-shadow-sm);
    height: 100%;
}

.rg-product-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rg-accent-subtle);
    color: var(--rg-accent);
    padding: 5px 14px;
    border-radius: var(--rg-radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.rg-product-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--rg-text-dark);
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.rg-spec-box {
    background: #f8fafc;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 22px;
    margin-bottom: 26px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--rg-text-body);
}

.rg-spec-box h5 {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rg-text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rg-spec-box p {
    margin-bottom: 8px;
}

.rg-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.rg-btn-inquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rg-accent);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 28px;
    border-radius: var(--rg-radius-full);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: var(--rg-transition);
    text-decoration: none !important;
}

.rg-btn-inquire:hover {
    background: var(--rg-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: #ffffff !important;
}

.rg-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: var(--rg-radius-full);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: var(--rg-transition);
    text-decoration: none !important;
}

.rg-btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

.rg-trust-badges-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid var(--rg-border);
    padding-top: 20px;
    margin-top: 10px;
}

.rg-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rg-text-dark);
}

.rg-trust-badge-item i {
    color: var(--rg-emerald);
    font-size: 15px;
    flex-shrink: 0;
}

/* Category Page Header Banner */
.rg-category-header-banner {
    background: #ffffff;
    border-bottom: 1px solid var(--rg-border);
    padding: 32px 0;
    margin-bottom: 40px;
}

.rg-category-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.rg-category-header-title-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rg-category-header-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--rg-radius);
    background: #f8fafc;
    border: 1px solid var(--rg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.rg-category-header-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rg-category-header-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--rg-text-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.rg-count-chip {
    background: var(--rg-accent-subtle);
    color: var(--rg-accent);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--rg-radius-full);
}

/* Modern Related Product Card */
.rg-product-grid-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--rg-transition);
    box-shadow: var(--rg-shadow-sm);
    text-decoration: none !important;
}

.rg-product-grid-card:hover {
    border-color: var(--rg-accent);
    transform: translateY(-6px);
    box-shadow: var(--rg-shadow-md);
}

.rg-product-grid-img {
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
    border-bottom: 1px solid var(--rg-border);
}

.rg-product-grid-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.rg-product-grid-card:hover .rg-product-grid-img img {
    transform: scale(1.06);
}

.rg-product-grid-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.rg-product-grid-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--rg-text-dark);
    margin: 0 0 14px 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.rg-product-grid-card:hover .rg-product-grid-title {
    color: var(--rg-accent);
}

.rg-product-grid-btn {
    width: 100%;
    background: #f1f5f9;
    color: var(--rg-text-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--rg-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--rg-transition);
    border: none;
}

.rg-product-grid-card:hover .rg-product-grid-btn {
    background: var(--rg-accent);
    color: #ffffff;
}

@media (max-width: 767px) {
    .rg-trust-badges-list {
        grid-template-columns: 1fr;
    }

    .rg-product-title {
        font-size: 22px;
    }

    .rg-category-header-title {
        font-size: 20px;
    }
}


/* ==========================================================================
   Floating Right-Side Social Bar
   ========================================================================== */
.rg-floating-social {
    position: fixed;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rg-floating-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 24px 0 0 24px;
    box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.18);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 20px;
    position: relative;
    overflow: visible;
}

.rg-floating-btn:hover {
    transform: translateX(-8px);
    box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.28);
    color: #ffffff !important;
}

.rg-floating-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.rg-floating-phone {
    background: linear-gradient(135deg, #ff5722, #e64a19);
}

.rg-floating-facebook {
    background: linear-gradient(135deg, #1877F2, #0d5cb6);
}

.rg-floating-email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

/* Tooltip on hover */
.rg-floating-label {
    position: absolute;
    right: 56px;
    background: #0f2b48;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rg-floating-label::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f2b48;
}

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

@media (max-width: 576px) {
    .rg-floating-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 21px 0 0 21px;
    }
    .rg-floating-label {
        display: none;
    }
}


/* ==========================================================================
   Welcome Section: Scrollable Text (Left) + Strict Sticky Picture (Right)
   ========================================================================== */
.rg-about-scroll-wrapper {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 24px;
}

.rg-about-scroll-body {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 14px;
    -webkit-overflow-scrolling: touch;
    line-height: 1.8;
    color: var(--rg-text);
}

.rg-about-scroll-body p {
    margin-bottom: 16px;
}

.rg-about-scroll-body b, 
.rg-about-scroll-body strong {
    color: var(--rg-text-dark);
}

/* Custom sleek scrollbar */
.rg-about-scroll-body::-webkit-scrollbar {
    width: 6px;
}

.rg-about-scroll-body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.rg-about-scroll-body::-webkit-scrollbar-thumb {
    background: var(--rg-accent);
    border-radius: 4px;
}

.rg-about-scroll-body::-webkit-scrollbar-thumb:hover {
    background: var(--rg-primary);
}

.rg-about-scroll-body {
    scrollbar-width: thin;
    scrollbar-color: var(--rg-accent) #e2e8f0;
}

.rg-about-strict-img-box {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius);
    padding: 12px;
    box-shadow: var(--rg-shadow-md);
    text-align: center;
}

.rg-about-img-frame {
    border-radius: calc(var(--rg-radius) - 4px);
    overflow: hidden;
    background: #f1f5f9;
}

.rg-about-img-frame img {
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

.rg-about-img-badge {
    padding: 12px 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rg-about-img-badge .name {
    font-size: 15px;
    font-weight: 800;
    color: var(--rg-text-dark);
}

.rg-about-img-badge .role {
    font-size: 12px;
    font-weight: 600;
    color: var(--rg-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}


/* ==========================================================================
   Modern Page Details UI (Mission & Vision, About, etc.)
   ========================================================================== */
.rg-page-card {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: var(--rg-radius-lg);
    padding: 40px;
    box-shadow: var(--rg-shadow-sm);
}

.rg-page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rg-border);
}

.rg-page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--rg-text-dark);
    margin: 8px 0 0 0;
    letter-spacing: -0.02em;
}

.rg-page-img-box {
    border-radius: var(--rg-radius);
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid var(--rg-border);
    box-shadow: var(--rg-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rg-page-img-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rg-page-img-box:hover img {
    transform: scale(1.03);
}

.rg-page-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--rg-text);
}

.rg-page-body p, 
.rg-page-body div {
    margin-bottom: 14px;
}

/* Neutralize raw yellow highlighter and replace with elegant accent heading */
.rg-page-body font[style*="background-color"],
.rg-page-body [style*="background-color: rgb(255, 255, 0)"],
.rg-page-body [style*="background-color: yellow"],
.rg-page-body [style*="background-color:#ffff00"] {
    background-color: transparent !important;
    color: var(--rg-accent) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    display: inline-block;
    padding: 0 !important;
    border-left: 3px solid var(--rg-accent);
    padding-left: 10px !important;
    margin-top: 14px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.rg-page-body b, 
.rg-page-body strong {
    color: var(--rg-text-dark);
}

/* Hide scrollbar completely while maintaining scrolling capability */
.rg-about-scroll-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.rg-about-scroll-body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

@media (max-width: 768px) {
    .rg-page-card {
        padding: 24px 16px;
    }
    .rg-page-title {
        font-size: 22px;
    }
}
