/* ==========================================================================
   GVB COIRS - MASTER PREMIUM CORPORATE STYLESHEET
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #012B27;
    /* Premium deep green-teal */
    --color-primary-rgb: 1, 43, 39;
    --color-primary-dark: #00120F;
    /* Ultra deep dark green */
    --color-secondary: #2E7D32;
    /* Forest green */
    --color-secondary-rgb: 46, 125, 50;
    --color-accent: #C9A227;
    /* Gold / accents */
    --color-accent-rgb: 201, 162, 39;

    /* Premium Soil Brown Gradients */
    --color-brown-dark: #3E2723;
    --color-brown-light: #5D4037;
    --color-brown-gradient: linear-gradient(135deg, #012B27 0%, #1F110B 100%);

    --color-bg: #FAFBF7;
    /* Soft off-white */
    --color-white: #FFFFFF;
    --color-text-dark: #1E1E1E;
    /* Headings / primary text */
    --color-text-muted: #555555;
    /* Secondary text */
    --color-border: rgba(1, 43, 39, 0.12);
    --color-border-solid: #DFE2D9;
    --color-shadow: rgba(30, 30, 30, 0.04);
    --color-shadow-hover: rgba(1, 43, 39, 0.08);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radius - Organic Leaf Design */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 40px 10px 40px 10px;
    /* Custom leaf geometry */
    --radius-full: 9999px;

    /* Spacing system */
    --space-xs: 0.5rem;
    --space-sm: 1.25rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 9rem;

    /* Header height */
    --header-height: 130px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    top: 0 !important;
    /* Prevent Google Translate banner from shifting page */
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.01em;
}

p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

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

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

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Reusable Components & Layout
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Section Header */
.section-header {
    max-width: 750px;
    margin-bottom: var(--space-md);
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--color-accent);
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 5px 5px 20px;
    /* Reduced height, elegant padding */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    width: fit-content;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1c4e20 100%) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 15px rgba(1, 43, 39, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 43, 39, 0.25);
}

.btn-secondary {
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 1.5px solid var(--color-primary) !important;
    padding: 3.5px 5px 3.5px 18.5px;
    /* Adjusting for border width */
}

/* Custom class for download catalog buttons (circle on the left) to align them symmetrically */
.btn-download {
    padding-left: 5px !important;
    padding-right: 20px !important;
}

.btn-secondary.btn-download {
    padding-left: 4.5px !important;
    padding-right: 10.5px !important;
}

.btn-secondary:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(1, 43, 39, 0.15);
}

/* Elegant Button Icon Wrapper (separate circle & arrow) */
.btn .btn-arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.btn .btn-arrow-circle svg,
.btn .btn-arrow-circle i {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transition: var(--transition-smooth);
}

/* Specific styling for secondary button circle */
.btn-secondary .btn-arrow-circle {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Hover rotations and swaps */
.btn:hover .btn-arrow-circle {
    transform: rotate(360deg);
}

.btn-primary:hover .btn-arrow-circle {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-secondary:hover .btn-arrow-circle {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-text {
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-text:hover {
    color: var(--color-secondary);
}

.btn-text svg {
    transition: transform var(--transition-fast);
}

.btn-text:hover svg {
    transform: translateX(6px);
}

/* Capsule Pill Arrow Button (Treasora/Img 5 Style) */
.btn-pill-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 10px 10px 24px;
    background: #012B27 !important;
    color: var(--color-white) !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(1, 43, 39, 0.15);
    border: none;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
}

.btn-pill-arrow:hover {
    background: var(--color-primary) !important;
    box-shadow: 0 10px 25px rgba(1, 43, 39, 0.25);
    transform: translateY(-2px);
}

.btn-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-pill-arrow:hover .btn-arrow-circle {
    transform: rotate(360deg);
    background: var(--color-white);
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Luxury Glassmorphism)
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border-solid);
}

/* Top bar with Translate options */
.top-bar {
    background-color: #F4F6F0;
    border-bottom: 1px solid var(--color-border-solid);
    padding: 10px 0;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

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

.top-bar-contact {
    display: flex;
    gap: 24px;
    font-weight: 700;
    color: var(--color-text-dark);
    /* High contrast dark color */
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact svg {
    color: var(--color-primary);
    /* Brand colored icons */
}

.top-bar-translate {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dark);
}

.header-main-nav {
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.is-sticky {
    background-color: rgba(250, 251, 247, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-solid);
    box-shadow: 0 10px 40px rgba(1, 43, 39, 0.03);
}

.header.is-sticky .top-bar {
    margin-top: -62px;
    /* Animate close top-bar */
    opacity: 0;
    visibility: hidden;
}

.header.is-sticky .header-main-nav {
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-fast);
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 280px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-solid);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-dropdown-link:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
    padding-left: 20px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-dark);
    border-radius: 2px;
    position: absolute;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle span:nth-child(1) {
    top: 0;
}

.mobile-nav-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-nav-toggle span:nth-child(3) {
    top: 20px;
}

/* --------------------------------------------------------------------------
   5. Mobile Menu Drawer (Redesigned & Elegant)
   -------------------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 36, 21, 0.4);
    backdrop-filter: blur(12px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 1050;
    padding: 40px 30px 48px;
    box-shadow: -15px 0 45px rgba(18, 36, 21, 0.12);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-solid);
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.mobile-menu-header img {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.mobile-menu-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.mobile-nav-link {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    color: var(--color-text-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(1, 43, 39, 0.05);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.mobile-nav-sub {
    padding-left: 20px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-sub-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 6px 0;
}

.mobile-nav-sub-link:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

/* --------------------------------------------------------------------------
   6. Custom Layout Grids & Spacing
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-lg) 0;
}

.section-dark {
    background-color: #122415;
    color: var(--color-white);
}

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

.section-dark p {
    opacity: 0.85;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --------------------------------------------------------------------------
   7. Page Specific Components
   -------------------------------------------------------------------------- */

.hero-index {
    position: relative;
    padding: calc(var(--header-height) + 110px) 0 var(--space-xl);
    background: radial-gradient(circle at 80% 20%, rgba(1, 43, 39, 0.09) 0%, transparent 60%),
        radial-gradient(circle at 15% 85%, rgba(201, 162, 39, 0.05) 0%, transparent 50%),
        var(--color-bg);
    overflow: hidden;
}

.hero-index::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(1, 43, 39, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-index::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content .section-tag {
    background: rgba(1, 43, 39, 0.07);
    border: 1px solid rgba(1, 43, 39, 0.16);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(1, 43, 39, 0.03);
}

.hero-content .section-tag::before {
    display: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: var(--space-md);
}

.hero-badge {
    background-color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-solid);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.hero-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--color-white);
    box-shadow: 0 30px 65px rgba(18, 36, 21, 0.09);
    z-index: 2;
}

.hero-img-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-img-container:hover img {
    transform: scale(1.04);
}

/* Redesigned Premium Cards (Organic Leaf Geometry & Subtle Shadows) */
.product-card,
.why-card,
.process-step,
.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 10px 30px var(--color-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.why-card:hover,
.process-step:hover,
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px var(--color-shadow-hover);
    border-color: rgba(1, 43, 39, 0.2);
}

.product-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* Micro-interaction Hover line (Custom Designed Feel) */
.product-card::after,
.why-card::after,
.process-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.product-card:hover::after,
.why-card:hover::after,
.process-step:hover::after {
    transform: scaleX(1);
}

.product-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-title {
    margin-bottom: 12px;
}

.product-card-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Process Step numbers */
.process-step-num {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(1, 43, 39, 0.1);
    line-height: 1;
}

/* --------------------------------------------------------------------------
   7A. Custom Tabs System
   -------------------------------------------------------------------------- */
.tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border-solid);
    padding-bottom: 10px;
}

.tab-btn {
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-primary);
    background-color: rgba(1, 43, 39, 0.05);
}

.tab-btn.is-active {
    color: var(--color-white);
    background-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(1, 43, 39, 0.15);
}

.tab-content-panel {
    display: none;
}

.tab-content-panel.is-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --------------------------------------------------------------------------
   7B. Testimonial Slider System
   -------------------------------------------------------------------------- */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border-solid);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

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

/* --------------------------------------------------------------------------
   8. Global Footer (High Contrast text and beautiful icons)
   -------------------------------------------------------------------------- */
.footer {
    background: linear-gradient(180deg, #012B27 0%, #00120F 100%);
    color: #EAECE6;
    /* Light contrast body color instead of dull grey */
    padding: var(--space-lg) 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-top {
    margin-bottom: var(--space-md);
}

.footer p {
    color: #EAECE6;
    /* High contrast body description */
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

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

.footer-logo img {
    height: 44px;
    width: auto;
}

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

.footer-links a {
    color: #DFE2D9;
}

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

.footer-tagline {
    text-align: center;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-accent);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.8;
    color: #EAECE6;
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

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

.back-to-top:hover {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4);
}

.back-to-top i {
    font-size: 20px;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   9. Custom Specs Tables (Highly Premium UI)
   -------------------------------------------------------------------------- */
.specs-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-solid);
    margin: 24px 0;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: var(--color-white);
}

.specs-table th {
    background-color: #F4F6F0;
    color: var(--color-primary);
    padding: 16px 20px;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--color-border-solid);
}

.specs-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-solid);
    color: var(--color-text-dark);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background-color: rgba(1, 43, 39, 0.01);
}

/* --------------------------------------------------------------------------
   10. Form Control styles
   -------------------------------------------------------------------------- */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border-solid);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--color-bg);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 43, 39, 0.08);
    background-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   11. Google Translate Widget Custom Styles (Premium Wrapper)
   -------------------------------------------------------------------------- */
.custom-translate-select {
    padding: 6px 32px 6px 12px !important;
    border: 1px solid var(--color-border-solid) !important;
    border-radius: var(--radius-sm) !important;
    background-color: var(--color-white) !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012B27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
    color: var(--color-text-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: var(--transition-fast) !important;
    min-width: 140px;
    height: 34px;
    box-sizing: border-box;
}

.custom-translate-select:hover {
    border-color: var(--color-primary) !important;
    box-shadow: 0 4px 12px rgba(1, 43, 39, 0.05) !important;
}

.custom-translate-select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(1, 43, 39, 0.1) !important;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame {
    display: none !important;
}

/* --------------------------------------------------------------------------
   12. Media Queries (Advanced Breakpoints)
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    :root {
        --space-lg: 4.5rem;
        --space-xl: 7rem;
        --header-height: 130px;
    }

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

@media (max-width: 1024px) {
    :root {
        --space-lg: 4rem;
        --space-xl: 6rem;
    }

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

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-img-container img {
        height: 380px;
    }
}

@media (max-width: 991px) {
    .nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1100;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3.5rem;
        --space-xl: 5rem;
        --header-height: 80px;
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile completely */
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        padding: 40px 24px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .product-card,
    .why-card,
    .process-step,
    .testimonial-card {
        padding: 24px;
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   13. Premium UI & Layout Additions
   ========================================================================== */

/* Page Indication / Header Banner (Brown Gradient) */
.page-header-banner {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: var(--space-md);
    background: var(--color-brown-gradient) !important;
    position: relative;
    border-bottom: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(31, 17, 11, 0.15);
}

.page-header-banner h1 {
    color: var(--color-white) !important;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem) !important;
    margin-bottom: 8px;
}

.page-header-banner .section-tag {
    color: var(--color-accent) !important;
}

.page-header-banner .section-tag::before {
    background-color: var(--color-accent) !important;
}

.page-header-banner p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.15rem;
}

/* Product Hero Sections (Improvised Grid & Title) */
.product-hero {
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: var(--space-lg);
    background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.03) 0%, transparent 100%);
    border-bottom: 1px solid var(--color-border);
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.product-hero h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
    /* Optimized slightly smaller title */
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 20px;
}

.product-hero-img-container {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(18, 36, 21, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 380px;
    /* Larger image visual */
}

.product-hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-hero-img-container:hover img {
    transform: scale(1.03);
}

/* Premium CTA Strip - Redesigned Grid Style (APSI Reference) */
.cta-strip {
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 12px), linear-gradient(135deg, var(--color-primary-dark) 0%, #082d11 100%);
    color: var(--color-white) !important;
    padding: 120px 60px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 45px rgba(1, 43, 39, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-md);
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-accent);
    width: fit-content;
    margin-bottom: 18px;
    letter-spacing: 0.08em;
}

.cta-strip h2 {
    color: var(--color-white) !important;
    font-size: 2.2rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0 25px 0 !important;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 100%;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Custom styled buttons specifically for the CTA block to match contrast of reference img [1] */
.cta-strip .btn-primary {
    background: var(--color-white) !important;
    color: #012B27 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-strip .btn-primary:hover {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.cta-strip .btn-primary .btn-arrow-circle {
    background: #012B27;
    color: var(--color-white);
}

.cta-strip .btn-primary:hover .btn-arrow-circle {
    background: var(--color-white);
    color: #012B27;
}

.cta-strip .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: var(--color-white) !important;
}

.cta-strip .btn-secondary:hover {
    background-color: var(--color-white) !important;
    color: #012B27 !important;
    border-color: var(--color-white) !important;
}

.cta-strip .btn-secondary .btn-arrow-circle {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.cta-strip .btn-secondary:hover .btn-arrow-circle {
    background: #012B27;
    color: var(--color-white);
}

.cta-image {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

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

.cta-image:hover img {
    transform: scale(1.04);
}

/* Responsiveness for CTA */
@media (max-width: 991px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-strip {
        padding: 40px 30px;
    }

    .cta-image {
        height: 240px;
    }
}

/* Responsive Additions */
@media (max-width: 1024px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-hero-img-container {
        height: 300px;
    }
}

/* Product Photo Slider */
.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.product-slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: var(--color-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    z-index: 5;
}

.product-slider-arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-slider-arrow.prev {
    left: 15px;
}

.product-slider-arrow.next {
    right: 15px;
}

.product-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.product-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Testimonial slider navigation arrow styling */
.slider-container {
    position: relative;
    padding: 0 50px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: 1px solid var(--color-border-solid);
    color: var(--color-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--color-shadow);
    transition: var(--transition-fast);
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(1, 43, 39, 0.2);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

@media (max-width: 768px) {
    .slider-container {
        padding: 0 10px;
    }

    .slider-arrow {
        display: none;
    }
}

/* Why Choose Us Section */
.why-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(1, 43, 39, 0.05) 0%, transparent 55%),
        var(--color-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-item-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.why-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(1, 43, 39, 0.08);
    border-color: rgba(1, 43, 39, 0.15);
}

.why-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(1, 43, 39, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.why-item-card:hover .why-icon-box {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Blog Layout Styles */
.blog-layout-container {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .blog-layout-container {
        grid-template-columns: 1fr;
    }
}

.blog-post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px var(--color-shadow);
    transition: var(--transition-smooth);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.blog-card-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.blog-card-body {
    padding: 35px;
}

.blog-meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.blog-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta-info i {
    color: var(--color-accent);
}

.blog-title-link {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-top: 15px;
    margin-bottom: 25px;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.widget-title-bar {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.widget-title-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
}

.widget-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-category-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.widget-category-list li:last-child {
    border-bottom: none;
}

.widget-category-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.widget-category-list a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* Single Post Content Styling */
.single-post-hero {
    background: var(--color-brown-gradient);
    color: var(--color-white);
    padding: calc(var(--header-height) + 80px) 0 var(--space-xl);
    text-align: center;
    position: relative;
}

.single-post-title {
    color: var(--color-white) !important;
    font-size: 2.8rem;
    line-height: 1.2;
    max-width: 900px;
    margin: 20px auto 0;
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 2rem;
    }
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
}

.single-post-meta i {
    color: var(--color-accent);
}

.single-post-img-container {
    max-width: 1000px;
    margin: -60px auto 40px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--color-white);
}

.post-rich-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.post-rich-text p {
    margin-bottom: 25px;
}

.post-rich-text h2,
.post-rich-text h3 {
    color: var(--color-text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-rich-text blockquote {
    background: rgba(1, 43, 39, 0.05);
    border-left: 4px solid var(--color-primary);
    padding: 25px 30px;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin: 35px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-author-box {
    display: flex;
    gap: 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: center;
}

.post-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* Who We Are & Green Shipping Premium Styles */
.who-we-are-section {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.who-gradient-box {
    background: linear-gradient(-45deg, #FAFBF7, #E6ECE0, #F5EFEB, #D7E1D5, #FAFBF7);
    background-size: 400% 400%;
    animation: moving-glow 12s ease infinite;
    border: 1px solid rgba(1, 43, 39, 0.12);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(1, 43, 39, 0.04);
}

.who-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 992px) {
    .who-grid-layout {
        grid-template-columns: 1fr;
    }
}

.green-shipping-section {
    background: linear-gradient(135deg, #012B27 0%, #00120F 100%) !important;
    color: var(--color-white) !important;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

.shipping-stats-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--color-accent) !important;
    /* Golden border lines */
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.shipping-stats-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.25);
}

/* Modern Portfolio Section */
.modern-portfolio-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    position: relative;
}

.modern-portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 43, 39, 0.1);
    border-color: rgba(1, 43, 39, 0.15);
}

.modern-portfolio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: var(--transition-smooth);
}

.modern-portfolio-card:hover::after {
    width: 100%;
}

.modern-portfolio-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.modern-portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-portfolio-card:hover .modern-portfolio-img-wrap img {
    transform: scale(1.08);
}

.modern-portfolio-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.modern-portfolio-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-portfolio-body h3 {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.modern-portfolio-body p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.modern-portfolio-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    width: fit-content;
}

.modern-portfolio-link:hover {
    color: var(--color-accent);
}

.modern-portfolio-link i {
    transition: transform var(--transition-fast);
}

.modern-portfolio-link:hover i {
    transform: translateX(4px);
}

/* 3D Floating Badges Keyframe Animations */
@keyframes float-badge-1 {
    0% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-12px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

@keyframes float-badge-2 {
    0% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(14px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(-2deg);
    }
}

/* Faint Grid Lines Background Pattern */
.bg-grid-lines {
    background-image: linear-gradient(rgba(1, 43, 39, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 43, 39, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

/* ==========================================================================
   Hero 3D Aspect Layout Styles (Treasora & APSI reference)
   ========================================================================== */
.hero-3d-layout {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 520px;
    margin: 0 auto;
    transform: perspective(1200px) rotateY(-10deg) rotateX(6deg);
    transform-style: preserve-3d;
    z-index: 5;
}

.hero-3d-card {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border: 4px solid var(--color-white);
}

.hero-3d-card:hover {
    transform: translateY(-8px) scale(1.03) translateZ(15px);
    box-shadow: 0 25px 55px rgba(1, 43, 39, 0.16);
    z-index: 10;
}

.hero-3d-card-stat {
    left: 0;
    top: 0;
    width: 48%;
    height: 240px;
    background: #012B27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transform: translateZ(25px);
}

.hero-3d-card-stat h3 {
    font-size: 2.75rem;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 5px;
    font-weight: 800;
}

.hero-3d-card-stat p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.45;
    margin: 0;
}

.hero-3d-stat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    color: var(--color-accent);
}

.hero-3d-card-top-img {
    right: 0;
    top: 0;
    width: 48%;
    height: 240px;
    transform: translateZ(40px);
}

.hero-3d-card-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-3d-card-bottom-img {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 250px;
    transform: translateZ(15px);
}

.hero-3d-card-bottom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlapping Rotating Circle Badge */
.rotating-badge-wrap {
    position: absolute;
    z-index: 15;
    left: 48%;
    top: 48%;
    transform: translate(-50%, -50%) translateZ(60px);
    width: 110px;
    height: 110px;
    background: #012B27;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rotating-badge-wrap:hover {
    transform: translate(-50%, -55%) scale(1.08) translateZ(75px);
    box-shadow: 0 15px 35px rgba(201, 162, 39, 0.35);
}

.rotating-badge-wrap svg {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: rotate-badge 25s linear infinite;
}

.rotating-badge-wrap .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@keyframes rotate-badge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Ambient glow in 3D perspective */
.hero-glow-3d {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.18) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    top: 50px;
    left: 50px;
    pointer-events: none;
    transform: translateZ(0px);
}

/* ==========================================================================
   Hero Organic Visual Layout Styles (EcoSynthesis & APSI reference)
   ========================================================================== */
.hero-organic-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-organic-image-wrap {
    position: relative;
    width: 90%;
    height: 90%;
    border-radius: 120px 30px 120px 30px;
    /* Luxury organic shape */
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(1, 43, 39, 0.2);
    border: 5px solid var(--color-white);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.hero-organic-image-wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 70px rgba(1, 43, 39, 0.3);
}

.hero-organic-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-organic-stats {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(1, 43, 39, 0.8);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-overlay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat-overlay-item .stat-number {
    font-size: 1.65rem;
    font-weight: 850;
    color: var(--color-accent);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.hero-stat-overlay-item .stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* Rotating Badge Overlay - Organic */
.rotating-badge-organic {
    position: absolute;
    z-index: 10;
    top: 5%;
    right: -2%;
    width: 108px;
    height: 108px;
    background: #012B27;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rotating-badge-organic:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 15px 35px rgba(201, 162, 39, 0.35);
}

.rotating-badge-organic svg {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: rotate-badge 25s linear infinite;
}

.rotating-badge-organic .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-organic-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(1, 43, 39, 0.12) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

/* Animated glowing gradient background for who-we-are-section */
@keyframes moving-glow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.who-we-are-section {
    position: relative;
}

/* Premium Image Showcase with floating glassmorphic badges */
.premium-image-showcase {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(1, 43, 39, 0.15);
    border: 5px solid var(--color-white);
    background-color: var(--color-white);
}

.premium-image-showcase .showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-image-showcase:hover .showcase-img {
    transform: scale(1.03);
}

.showcase-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(1, 43, 39, 0.75) 100%);
    pointer-events: none;
}

.showcase-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 12px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: var(--transition-smooth);
}

.showcase-badge:hover {
    transform: translateY(-3px) scale(1.03);
    background: var(--color-white);
}

.showcase-badge-top-left {
    top: 30px;
    left: 30px;
}

.showcase-badge-bottom-right {
    bottom: 30px;
    right: 30px;
}

.showcase-badge .badge-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(1, 43, 39, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.showcase-badge-bottom-right .badge-icon-wrap {
    background: rgba(201, 162, 39, 0.1);
    color: var(--color-accent);
}

.showcase-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.showcase-badge .badge-text strong {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
}

.showcase-badge .badge-text span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.showcase-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    max-width: 500px;
    color: var(--color-white);
    z-index: 4;
    text-align: left;
}

.showcase-caption h3 {
    color: var(--color-white) !important;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.showcase-caption p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.92rem;
    line-height: 1.4;
}

/* Process Flow Grid (Stage A & B modernisation) */
.process-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step-badge {
    background: rgba(1, 43, 39, 0.06);
    border: 1px solid rgba(1, 43, 39, 0.12);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .process-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .process-flow-grid {
        grid-template-columns: 1fr;
    }
}

/* Upgraded Hero Layered Grid Layout */
.hero-layered-grid {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 500px;
    margin: 0 auto;
}

.hero-visual-card-dark {
    position: absolute;
    left: 0;
    top: 8%;
    width: 250px;
    background: #012B27;
    border-radius: 24px;
    padding: 24px;
    color: var(--color-white);
    box-shadow: 0 15px 40px rgba(1, 43, 39, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
    transition: var(--transition-smooth);
    text-align: left;
}

.hero-visual-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(1, 43, 39, 0.35);
}

.hero-visual-card-dark .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 20px;
    margin-bottom: 15px;
}

.hero-visual-card-dark h4 {
    color: var(--color-white) !important;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.hero-visual-card-dark p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    line-height: 1.4;
}

.hero-visual-card-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 380px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(1, 43, 39, 0.15);
    border: 4px solid var(--color-white);
    background-color: var(--color-white);
    z-index: 1;
    transition: var(--transition-smooth);
}

.hero-visual-card-img:hover {
    transform: scale(1.02);
}

.hero-visual-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-card-glass {
    position: absolute;
    left: 40px;
    bottom: 25px;
    width: 380px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 4;
    transition: var(--transition-smooth);
}

.hero-visual-card-glass:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.hero-visual-card-glass .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 48%;
}

.hero-visual-card-glass .stat-item:first-child {
    border-right: 1px solid rgba(1, 43, 39, 0.1);
}

.hero-visual-card-glass .stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.hero-visual-card-glass .stat-lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

.hero-layered-badge {
    position: absolute;
    right: -10px;
    top: 50px;
    z-index: 5;
}

@media (max-width: 575px) {
    .hero-layered-grid {
        height: 460px;
        display: flex;
        flex-direction: column;
    }

    .hero-visual-card-dark {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-visual-card-img {
        position: relative;
        right: 0;
        top: 0;
        width: 100%;
        height: 280px;
    }

    .hero-visual-card-glass {
        position: relative;
        left: 0;
        bottom: 40px;
        width: 100%;
    }

    .hero-layered-badge {
        top: 100px;
        right: 10px;
    }
}

/* --------------------------------------------------------------------------
   13. Pure CSS Hero Page-Load Animations (LCP/FCP Performance Optimization)
   -------------------------------------------------------------------------- */
@keyframes cssHeroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cssHeroFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cssHeroScaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cssHeroImgReveal {
    from {
        opacity: 0;
        transform: scale(1.04);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply CSS animations with stagger delays to prevent GSAP delays above the fold */
.hero-content .section-tag {
    animation: cssHeroFadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.05s;
    opacity: 0;
}

.hero-content h1 {
    animation: cssHeroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.hero-content p {
    animation: cssHeroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.25s;
    opacity: 0;
}

.hero-content .cta-actions {
    animation: cssHeroScaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
    opacity: 0;
}

.hero-content .hero-badge {
    animation: cssHeroFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
/* Stagger the badges */
.hero-content .hero-badge:nth-child(1) { animation-delay: 0.4s; }
.hero-content .hero-badge:nth-child(2) { animation-delay: 0.48s; }
.hero-content .hero-badge:nth-child(3) { animation-delay: 0.56s; }
.hero-content .hero-badge:nth-child(4) { animation-delay: 0.64s; }

/* Optimize homepage layered grid above-the-fold entrance */
.hero-layered-grid {
    animation: cssHeroImgReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* Optimize inner page hero container image reveals */
.hero-img-container img,
.product-hero-slider {
    animation: cssHeroImgReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.25s;
    opacity: 0;
}

/* --------------------------------------------------------------------------
   14. SEO Breadcrumb Navigation Bar (Premium Styling)
   -------------------------------------------------------------------------- */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-accent) !important;
}

.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.breadcrumbs .current {
    color: var(--color-accent) !important;
    font-weight: 600;
}

/* Breadcrumbs on light background (e.g. inside product page hero sections) */
.product-hero .breadcrumbs,
.product-hero-section .breadcrumbs {
    color: var(--color-text-muted) !important;
    margin-bottom: 20px;
}

.product-hero .breadcrumbs a,
.product-hero-section .breadcrumbs a {
    color: var(--color-text-dark) !important;
}

.product-hero .breadcrumbs a:hover,
.product-hero-section .breadcrumbs a:hover {
    color: var(--color-primary) !important;
}

.product-hero .breadcrumbs .separator,
.product-hero-section .breadcrumbs .separator {
    color: var(--color-border) !important;
}

.product-hero .breadcrumbs .current,
.product-hero-section .breadcrumbs .current {
    color: var(--color-primary) !important;
}

/* ==========================================================================
   WordPress Core & Sidebar Widget Custom Styles (Premium Refinement)
   ========================================================================== */

/* Screen reader text - hide it offscreen standard */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Custom Search form inside widgets & Gutenberg block search */
.blog-sidebar-widget .search-form,
.blog-sidebar-widget .wp-block-search {
    width: 100% !important;
}

.blog-sidebar-widget .search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.blog-sidebar-widget .search-form label {
    flex-grow: 1;
    margin-bottom: 0;
    display: block;
}

.blog-sidebar-widget .wp-block-search__inside-wrapper {
    display: flex !important;
    gap: 8px !important;
    margin-top: 15px !important;
    width: 100% !important;
    flex-flow: row nowrap !important;
}

.blog-sidebar-widget .search-field,
.blog-sidebar-widget .wp-block-search__input {
    flex-grow: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 16px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.9rem !important;
    outline: none !important;
    background-color: var(--color-bg) !important;
    color: var(--color-text-dark) !important;
    transition: var(--transition-fast) !important;
    box-sizing: border-box !important;
}

.blog-sidebar-widget .search-field:focus,
.blog-sidebar-widget .wp-block-search__input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(18, 36, 21, 0.08) !important;
}

.blog-sidebar-widget .search-submit,
.blog-sidebar-widget .wp-block-search__button {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 11px 22px !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.blog-sidebar-widget .search-submit:hover,
.blog-sidebar-widget .wp-block-search__button:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-text-dark) !important;
}

/* Hide duplicate Gutenberg search block label */
.blog-sidebar-widget .wp-block-search__label,
.wp-block-search__label {
    display: none !important;
}

/* Styling for default lists inside widgets (Recent Posts, Categories, Pages, etc.) */
.blog-sidebar-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-sidebar-widget ul li,
.blog-sidebar-widget .wp-block-latest-posts li {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(18, 36, 21, 0.06);
    font-size: 0.95rem;
    line-height: 1.45;
}

.blog-sidebar-widget ul li:last-child,
.blog-sidebar-widget .wp-block-latest-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-sidebar-widget ul li a,
.blog-sidebar-widget .wp-block-latest-posts li a {
    color: var(--color-text-dark) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    display: inline-block;
}

.blog-sidebar-widget ul li a:hover,
.blog-sidebar-widget .wp-block-latest-posts li a:hover {
    color: var(--color-primary) !important;
    padding-left: 4px;
}

/* Post dates under Recent/Latest Posts */
.blog-sidebar-widget ul li .post-date,
.blog-sidebar-widget .wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Ensure no bullet marks are rendered for widget blocks */
.blog-sidebar-widget .wp-block-latest-posts,
.blog-sidebar-widget .widget_recent_entries {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    margin: 0;
}

/* Hide comments section programmatically across the interface */
.comment-respond,
.comments-area,
.widget_recent_comments,
.wp-block-latest-comments,
#comments,
.blog-sidebar-widget:has(.wp-block-latest-comments),
.blog-sidebar-widget:has(.wp-block-latest-comments__list),
.blog-sidebar-widget:has(#recentcomments),
.blog-sidebar-widget:has(.widget_recent_comments) {
    display: none !important;
}

/* Premium Contact Cards Hover Micro-Animations */
.contact-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary) !important;
    box-shadow: 0 15px 30px rgba(18, 36, 21, 0.08) !important;
}

.contact-card:hover div {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    transition: all 0.3s ease;
}