/*
Theme Name: Alalyaa Group
Theme URI: https://roidnet.com/
Author: RoidNet
Author URI: https://roidnet.com/
Description: Single-page vertical scroll landing page & custom product catalog theme for Alalyaa Group textile manufacturing.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alalyaa-group
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --color-black: #0D0D11;
    --color-dark-bg: #121217;
    --color-dark-card: #1A1A22;
    --color-white: #FFFFFF;
    --color-red: #D32F2F;
    --color-red-hover: #E53935;
    --color-gray-dark: #2A2A32;
    --color-gray-muted: #555566;
    --color-gray-light: #F8F9FA;
    --color-gray-border: #E2E8F0;
    
    --font-arabic: 'Almarai', 'Noto Sans Arabic', system-ui, sans-serif;
    --font-english: 'Inter', system-ui, sans-serif;
    
    --page-margin-x: 80px;
    --section-spacing-y: 80px;
    --theme-max-width: 1400px;
    --border-radius: 8px;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    direction: rtl;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
}

/* Screen Reader Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
    z-index: 99999;
}
.skip-link:focus {
    top: 10px;
}

/* Container Utility */
.container {
    max-width: var(--theme-max-width);
    margin: 0 auto;
    padding: 0 var(--page-margin-x);
    width: 100%;
}

/* Section Layouts */
.section {
    padding: var(--section-spacing-y) 0;
    position: relative;
}

.section-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.section-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Buttons */
.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.35);
    transition: all 0.3s ease;
}
.btn-red:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.45);
}

.ltr-text, [dir="ltr"] {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* 1. Global Navigation Bar (Top) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 85px;
    background-color: var(--color-black);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--page-margin-x);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 54px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    opacity: 0.95;
}

.nav-links a:hover,
.nav-links li.current-menu-item a {
    opacity: 1;
    color: #FFFFFF;
}

.nav-links li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background-color: var(--color-red);
    border-radius: 1px;
}

/* 2. Hero Section - Bright & Crisp Contrast */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #FFFFFF;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    animation: heroZoomEffect 12s infinite alternate ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

@keyframes heroZoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Removed dark stone texture overlay for ultra-clean white contrast */
.hero-stone-overlay {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 4;
    max-width: var(--theme-max-width);
}

.hero-content {
    max-width: 750px;
}

.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.headline-black {
    font-size: 3.4rem;
    font-weight: 800;
    color: #0D0D11;
    line-height: 1.25;
}

.text-red {
    color: var(--color-red);
}

.hero-subheadline {
    font-size: 1.35rem;
    color: #333344;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-section-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to left, var(--color-red) 0%, rgba(226, 232, 240, 0.6) 100%);
    z-index: 3;
}

/* 3. Brand Pillars Section */
.brand-pillars-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pillars-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

.pillars-slanted-card {
    position: relative;
    z-index: 2;
    width: 52%;
    min-height: 520px;
    background-color: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 55px 50px 55px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
}

.icon-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    width: 100%;
}

.icon-group-top {
    margin-bottom: 30px;
}

.icon-group-bottom {
    margin-top: 25px;
    justify-content: space-evenly;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-item-row {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.icon-badge {
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.95rem;
}

.icon-label {
    font-size: 0.9rem;
    color: #DDDDDD;
    font-weight: 600;
    line-height: 1.35;
}

.icon-divider {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    align-self: center;
}

.pillars-text-block {
    text-align: center;
    margin: 20px 0;
}

.pillars-headline {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.pillars-paragraph {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

.pillars-horizontal-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 15px 0;
}

/* 4. Manufacturing Process Section (Premium Redesign) */
.manufacturing-process-section {
    background-color: #F8F9FA;
    padding: var(--section-spacing-y) 0;
    position: relative;
}

.mfg-process-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.mfg-badge {
    display: inline-block;
    background-color: rgba(162, 0, 0, 0.08);
    color: var(--color-red);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 25px;
    margin-bottom: 16px;
    border: 1px solid rgba(162, 0, 0, 0.15);
}

.mfg-process-title {
    margin-bottom: 16px;
}

.mfg-process-title .ar-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.25;
}

.mfg-process-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray-muted);
    line-height: 1.8;
    font-weight: 500;
}

/* Cards Grid */
.mfg-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.mfg-card-item {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.mfg-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(162, 0, 0, 0.12);
    border-color: rgba(162, 0, 0, 0.3);
}

.mfg-card-media {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.mfg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mfg-card-item:hover .mfg-card-img {
    transform: scale(1.08);
}

.mfg-card-step-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background-color: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    font-family: var(--font-english);
    box-shadow: 0 4px 14px rgba(162, 0, 0, 0.4);
    z-index: 2;
}

.mfg-card-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mfg-brand-watermark {
    position: absolute;
    top: 15px;
    left: 15px;
    height: 28px;
    width: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.mfg-brand-watermark svg {
    height: 18px;
    width: auto;
    display: block;
}

.mfg-card-body {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    justify-content: flex-start;
}

.mfg-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-black);
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

.mfg-card-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.65;
    margin: 0;
}

/* Features Highlights Banner */
.mfg-features-banner {
    background: var(--color-black);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: var(--color-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.mfg-features-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-red);
}

.mfg-feature-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mfg-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.mfg-feature-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 4px;
}

.mfg-feature-info p {
    font-size: 0.9rem;
    color: #AAAAAA;
    margin: 0;
}

.mfg-feature-divider {
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
    .mfg-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mfg-features-banner {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
        padding: 30px;
    }
    .mfg-feature-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .mfg-cards-grid {
        grid-template-columns: 1fr;
    }
}



/* 5. Main Product Categories Section */
.main-product-carousel-section {
    background-color: var(--color-white);
    padding-top: var(--section-spacing-y);
}

.categories-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.categories-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 12px;
}

.categories-subtitle {
    font-size: 1.15rem;
    color: var(--color-gray-muted);
}

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    height: 440px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 35px 20px;
    text-align: center;
    transition: background 0.3s ease;
}

.product-card-title {
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.btn-card-red {
    background-color: var(--color-red);
    color: var(--color-white);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(162, 0, 0, 0.4);
}

.btn-card-red:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-categories-grid {
        grid-template-columns: 1fr;
    }
}


.carousel-next-btn {
    position: absolute;
    left: -25px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--color-red);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(162, 0, 0, 0.4);
    z-index: 10;
    transition: transform 0.2s ease;
}
.carousel-next-btn:hover {
    transform: scale(1.1);
}

/* 6. Testimonials and Manufacturing Section */
.testimonials-manufacturing-section {
    background-color: var(--color-white);
}

.tag-new-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.tag-new {
    background-color: rgba(162, 0, 0, 0.08);
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid rgba(162, 0, 0, 0.15);
}

.tm-headline {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 45px;
}

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

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid #E2E4E8;
    border-radius: 16px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
    border-color: rgba(162, 0, 0, 0.3);
}

.stars-row {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.75;
    flex-grow: 1;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid #F0F0F3;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red) 0%, #7A0000 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(162, 0, 0, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 800;
    color: var(--color-black);
    font-size: 1.05rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #888888;
    font-weight: 600;
}

/* 7. New Modern Premium Footer Design */
.site-main-footer {
    background-color: #0A0A0C;
    color: #FFFFFF;
    position: relative;
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-red) 50%, transparent 100%);
}

.modern-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr 1.4fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.location-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #CCCCCC;
    font-size: 0.92rem;
    line-height: 1.6;
}

.loc-item strong {
    color: var(--color-white);
}

.modern-footer-col {
    display: flex;
    flex-direction: column;
}

/* Col 1: Brand */
.modern-footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.brand-tagline {
    color: #AAAAAA;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
}

/* Col 2 & 3 Headings */
.footer-col-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
}

.footer-col-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-red);
    margin-top: 8px;
}

/* Col 2: Navigation Links */
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #CCCCCC;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--color-red);
    transform: translateX(-4px);
}

/* Col 3: Contact & Social */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #DDDDDD;
    font-size: 1rem;
}

.c-item svg {
    color: var(--color-red);
}

.social-links-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    font-size: 0.9rem;
    color: #888888;
}

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

.social-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-pill:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

/* Col 4: QR Card */
.qr-card {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.qr-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.qr-img-box {
    padding: 6px;
    background: #FFFFFF;
    border-radius: 6px;
    margin-bottom: 10px;
}

.qr-card-hint {
    font-size: 0.8rem;
    color: #888888;
}

/* Bottom Bar */
.modern-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .modern-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 576px) {
    .modern-footer-grid {
        grid-template-columns: 1fr;
    }
}


.site-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: #888888;
}

.site-credits p {
    margin: 0;
}

.site-credits .credits-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-credits a {
    color: #A0AEC0;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.site-credits a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
    .hero-container,
    .brand-pillars-container {
        grid-template-columns: 1fr;
    }
    
    .footer-info-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .headline-dark, .headline-red {
        font-size: 2rem;
    }
    .science-imagery-row,
    .product-carousel-track,
    .testimonial-cards-grid,
    .manufacturing-images-grid,
    .footer-info-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scroll Reveal Entrance Animations
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-on-scroll.reveal-slide-left {
    transform: translateX(-45px);
}

.reveal-on-scroll.reveal-slide-right {
    transform: translateX(45px);
}

.reveal-on-scroll.reveal-zoom-in {
    transform: scale(0.92);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Animation Delays for Staggered Elements */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Cotton Background Decor Motif
   ========================================================================== */
.section {
    position: relative;
    z-index: 1;
}

.container,
.hero-container,
.product-carousel-container,
.manufacturing-process-container,
.tm-container {
    position: relative;
    z-index: 2;
}

.product-card,
.mfg-card-item,
.testimonial-card,
.pillars-slanted-card {
    position: relative;
    z-index: 2;
}

.bg-cotton-watermark {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
    color: var(--color-red);
    background-image: url('assets/images/brand/cotton-motif.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 0.4s ease;
}

.bg-cotton-watermark-dark {
    opacity: 0.18;
    filter: brightness(0) invert(1);
}

.bg-cotton-top-right {
    top: 3%;
    right: 2%;
    width: 280px;
    height: 280px;
}

.bg-cotton-bottom-left {
    bottom: 3%;
    left: 2%;
    width: 320px;
    height: 320px;
    transform: rotate(-12deg);
}

.bg-cotton-center-right {
    top: 25%;
    right: -20px;
    width: 340px;
    height: 340px;
    opacity: 0.14;
    transform: rotate(15deg);
}

/* ==========================================================================
   About Us Page Custom Styles
   ========================================================================== */
.about-page-main {
    padding-top: 85px; /* Offset fixed header */
    background-color: var(--color-dark-bg);
}

/* About Hero Section - Bright & Full Image Clarity */
.about-hero-section.section-bright-hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #FAFAFC;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.about-hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    filter: none;
    z-index: 0;
}

.about-hero-container {
    max-width: 800px;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 2;
}

.about-hero-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-right: 6px solid var(--color-red);
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.25);
    color: var(--color-red);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-red);
    display: inline-block;
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.6);
}

.about-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.25;
    margin-bottom: 18px;
}

.about-hero-subtitle {
    font-size: 1.15rem;
    color: #444455;
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-hero-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(13, 13, 17, 0.05);
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--color-gray-muted);
}

.about-hero-breadcrumbs a {
    color: var(--color-black);
    font-weight: 600;
}

.about-hero-breadcrumbs a:hover {
    color: var(--color-red);
}

.about-hero-breadcrumbs .current {
    color: var(--color-red);
    font-weight: 700;
}

/* About Stats Section */
.about-stats-section {
    padding: 50px 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-border);
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box-item {
    padding: 20px 15px;
    position: relative;
}

.stat-box-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    height: 60%;
    width: 1px;
    background-color: var(--color-gray-border);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-black);
    line-height: 1;
    margin-bottom: 10px;
}

.num-highlight {
    color: var(--color-red);
}

.stat-lbl {
    font-size: 1rem;
    color: var(--color-gray-muted);
    font-weight: 600;
}

/* About Story Section */
.about-story-section {
    padding: 90px 0;
    background-color: var(--color-white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-story-heading {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-black);
}

.about-story-text {
    font-size: 1.1rem;
    color: #444455;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-story-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.story-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #F8F9FB;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    border-right: 4px solid var(--color-red);
}

.story-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.story-feature-item p {
    font-size: 0.95rem;
    color: var(--color-gray-muted);
    margin: 0;
}

.about-story-media {
    position: relative;
}

.story-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-badge-floating {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 20px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-right: 5px solid var(--color-red);
}

.badge-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Vision, Mission & Values Section */
.about-vm-section {
    padding: 90px 0;
    background-color: var(--color-dark-bg);
}

.section-header-centered {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-tag-red {
    display: inline-block;
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.section-title-light {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
}

.section-desc-light {
    font-size: 1.1rem;
    color: #A0A0B0;
    line-height: 1.7;
}

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

.vm-card {
    background-color: var(--color-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vm-card:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), transparent);
}

.vm-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: rgba(211, 47, 47, 0.12);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vm-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.vm-card-text {
    font-size: 1.02rem;
    color: #BBBBCC;
    line-height: 1.75;
}

/* Factories & Branches Section */
.about-factories-section {
    padding: 90px 0;
    background-color: var(--color-gray-light);
}

.section-title-dark {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 16px;
}

.section-desc-dark {
    font-size: 1.1rem;
    color: var(--color-gray-muted);
    line-height: 1.7;
}

.factories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.factory-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-gray-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.factory-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(211, 47, 47, 0.3);
}

.factory-header-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.factory-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.factory-titles h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.factory-loc {
    font-size: 0.9rem;
    color: var(--color-red);
    font-weight: 600;
}

.factory-body p {
    font-size: 1rem;
    color: #555566;
    line-height: 1.7;
    margin-bottom: 24px;
}

.factory-contact-link {
    padding-top: 16px;
    border-top: 1px dashed var(--color-gray-border);
    font-weight: 700;
    color: var(--color-black);
    font-size: 1.05rem;
}

.factory-contact-link a:hover {
    color: var(--color-red);
}

/* About CTA Banner */
.about-cta-banner {
    background: linear-gradient(135deg, var(--color-black) 0%, #1E1E28 100%);
    border-radius: 16px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--color-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-cta-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--color-red);
}

.cta-text-side h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-text-side p {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin: 0;
    max-width: 600px;
}

.cta-action-side {
    flex-shrink: 0;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--color-red, #D32F2F);
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.cta-banner-btn:hover {
    background-color: #B71C1C;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(211, 47, 47, 0.6);
}

/* About Us Responsive Styles */
@media (max-width: 992px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-box-item:nth-child(2)::after {
        display: none;
    }

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

    .about-vm-grid,
    .factories-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .about-cta-banner::before {
        width: 100%;
        height: 6px;
        top: 0;
        right: 0;
        left: 0;
        bottom: auto;
    }

    .about-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .stats-counter-grid {
        grid-template-columns: 1fr;
    }

    .stat-box-item::after {
        display: none !important;
    }

    .about-hero-title {
        font-size: 1.8rem;
    }

    .about-hero-subtitle {
        font-size: 1.05rem;
    }
}

/* Factory Card Media Enhancements */
.factory-card {
    padding: 0;
    overflow: hidden;
}

.factory-media-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.factory-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.factory-card:hover .factory-img {
    transform: scale(1.08);
}

.factory-badge-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13, 13, 17, 0.85);
    backdrop-filter: blur(4px);
    color: var(--color-white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-right: 3px solid var(--color-red);
}

.factory-content-box {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Exclusive Photo Gallery Component */
.about-gallery-section {
    padding: 90px 0;
    background-color: var(--color-black);
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item.item-large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 13, 17, 0.9) 0%, rgba(13, 13, 17, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption span {
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
    border-right: 3px solid var(--color-red);
    padding-right: 10px;
}

@media (max-width: 992px) {
    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    
    .gallery-item.item-large {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
}

/* ==========================================================================
   New Minimal 2-Section Contact Page Styles
   ========================================================================== */
.minimal-contact-hero {
    position: relative;
    padding: 100px 0 70px;
    color: #fff;
    overflow: hidden;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-gradient-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.75) 0%, rgba(11, 12, 16, 0.94) 100%);
}

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

.hero-text-block {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.hero-mini-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(197, 160, 89, 0.2);
    color: #e2c08d;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.minimal-direct-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.direct-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.direct-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.5);
}

.direct-card.primary-gold {
    background: rgba(197, 160, 89, 0.14);
    border-color: rgba(197, 160, 89, 0.4);
}

.card-top {
    margin-bottom: 20px;
}

.badge-role {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-weight: 700;
}

.phone-link {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.phone-link:hover {
    color: #e2c08d;
}

.card-btn-row {
    display: flex;
    gap: 10px;
}

.btn-action {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-call {
    background-color: var(--color-red, #a20000);
    color: #fff;
}

.btn-call:hover {
    background-color: #c40000;
}

.btn-wa {
    background-color: #25d366;
    color: #fff;
}

.btn-wa:hover {
    background-color: #1eb857;
}

/* Split Section Styles */
.contact-body-split {
    padding: 80px 0;
    background-color: #f8f9fc;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.support-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 280px;
    margin-bottom: 30px;
}

.support-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.branches-simple-list {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.b-row {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.b-row:last-child {
    border-bottom: none;
}

.b-row strong {
    color: var(--color-red, #a20000);
    font-size: 0.95rem;
}

.b-row span {
    color: #444;
    font-size: 0.95rem;
}

.clean-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.f-field {
    margin-bottom: 20px;
}

.f-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.f-field input,
.f-field select,
.f-field textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #dcdfe6;
    background-color: #fcfdfe;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s ease;
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
    outline: none;
    border-color: var(--color-red, #a20000);
    background-color: #fff;
}

.btn-clean-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--color-red, #a20000);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.btn-clean-submit:hover {
    background-color: #c40000;
}

.btn-clean-submit.btn-wa-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-clean-submit.btn-wa-submit:hover {
    background-color: #1fbd59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Products Page Template (Portrait Cards Catalog) */
.portrait-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12) !important;
    border-color: var(--color-red, #D32F2F) !important;
}

.portrait-cat-card:hover .portrait-cat-img {
    transform: scale(1.08);
}

.portrait-cat-card:hover .btn-portrait-cat {
    background-color: var(--color-red-hover, #E53935) !important;
}

@media (max-width: 1200px) {
    .products-portrait-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 600px) {
    .products-portrait-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .portrait-cat-media {
        aspect-ratio: 4 / 5 !important;
    }
}

/* Blog & Archive Styling */
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1) !important;
    border-color: var(--color-red, #D32F2F) !important;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}

.blog-card:hover .blog-card-title a {
    color: var(--color-red, #D32F2F) !important;
}

.custom-search-form .search-submit:hover {
    background-color: var(--color-red-hover, #E53935) !important;
}

/* Pagination Styles */
.blog-pagination-wrapper .page-numbers,
.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.blog-pagination-wrapper .page-numbers a,
.blog-pagination-wrapper .page-numbers span,
.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    display: inline-block;
    padding: 10px 18px;
    background: #FFFFFF;
    color: var(--color-black, #0D0D11);
    border: 1px solid var(--color-gray-border, #E2E8F0);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-pagination-wrapper .page-numbers span.current,
.pagination-wrapper .page-numbers span.current,
.blog-pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers a:hover {
    background: var(--color-red, #D32F2F);
    color: #FFFFFF;
    border-color: var(--color-red, #D32F2F);
}

/* Single Article Formatting */
.article-formatted-content p {
    margin-bottom: 1.8rem;
}

.article-formatted-content h2,
.article-formatted-content h3,
.article-formatted-content h4 {
    color: var(--color-black, #0D0D11);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-formatted-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.article-formatted-content blockquote {
    border-right: 4px solid var(--color-red, #D32F2F);
    padding: 15px 25px;
    margin: 2rem 0;
    background: var(--color-gray-light, #F8F9FA);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.1rem !important;
    }
    .blog-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .single-post-title {
        font-size: 2rem !important;
    }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Master Overrides (RTL Focused)
   ========================================================================== */

/* Mobile Hamburger Toggle */
.mobile-menu-toggle-wrapper {
    display: none;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    z-index: 1005;
    outline: none;
}

.hamburger-bar {
    width: 26px;
    height: 2.5px;
    background-color: var(--color-white, #FFFFFF);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-red, #D32F2F);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-red, #D32F2F);
}

/* Screen Breakpoint: Tablets and Laptops (max-width: 992px) */
@media (max-width: 992px) {
    :root {
        --page-margin-x: 24px;
        --section-spacing-y: 50px;
    }

    .site-header {
        height: 70px;
        padding: 0 20px;
    }

    .site-logo-img {
        height: 38px;
    }

    .mobile-menu-toggle-wrapper {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #0D0D11;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        padding: 100px 30px 40px 30px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .main-navigation.mobile-menu-open {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.15rem;
        font-weight: 700;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .pillars-slanted-card {
        width: 100% !important;
        clip-path: none !important;
        padding: 35px 24px !important;
        min-height: auto !important;
    }
}

/* Screen Breakpoint: Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero-section {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .hero-container {
        text-align: right !important;
    }

    .hero-content {
        align-items: flex-start !important;
        text-align: right !important;
    }

    .headline-black {
        font-size: 2.1rem;
        line-height: 1.3;
        text-align: right !important;
    }

    .hero-subheadline {
        font-size: 1.05rem;
        margin-bottom: 25px;
        text-align: right !important;
    }

    .btn-red {
        padding: 12px 30px;
        font-size: 1rem;
        width: auto;
        display: inline-flex;
        box-sizing: border-box;
    }

    /* Brand Pillars */
    .brand-pillars-section {
        min-height: auto !important;
        padding: 0 !important;
        background-color: #121217 !important;
    }

    .pillars-bg-image {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0.65 !important;
        background-position: center center !important;
    }

    .pillars-slanted-card {
        width: 100% !important;
        clip-path: none !important;
        padding: 40px 20px !important;
        min-height: auto !important;
        background: linear-gradient(180deg, rgba(13, 13, 17, 0.75) 0%, rgba(18, 18, 24, 0.88) 100%) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }

    .icon-group {
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .icon-item {
        flex: 1;
        min-width: 0;
    }

    .icon-box {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 6px !important;
    }

    .icon-box svg {
        width: 18px !important;
        height: 18px !important;
    }

    .icon-label {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }

    .icon-badge {
        font-size: 0.85rem !important;
    }

    .icon-divider {
        display: none;
    }

    .pillars-headline {
        font-size: 1.8rem;
    }

    .pillars-paragraph {
        font-size: 0.95rem;
    }

    /* Product Science & Tech */
    .mfg-process-title .ar-title,
    .categories-title,
    .science-headline {
        font-size: 1.75rem !important;
    }

    .science-imagery-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Product Single Page Mobile Fixes */
    .product-single-page {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }

    .product-single-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .product-single-grid {
        gap: 24px !important;
    }

    .product-main-image-container {
        height: 300px !important;
    }

    .product-title {
        font-size: 1.4rem !important;
    }

    .product-excerpt {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    .btn-product-wa {
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Category Cards & Grid */
    .cat-cards-grid,
    .products-portrait-grid,
    .mfg-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Contact Page & Forms Responsive Overrides */
    .minimal-contact-hero {
        padding: 90px 0 40px !important;
    }

    .hero-text-block {
        text-align: right !important;
        margin-bottom: 30px !important;
    }

    .hero-main-title {
        font-size: 1.9rem !important;
        margin-bottom: 10px !important;
    }

    .hero-subtext {
        font-size: 0.95rem !important;
    }

    .minimal-direct-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .direct-card {
        padding: 18px 16px !important;
    }

    .phone-link {
        font-size: 1.15rem !important;
    }

    .contact-body-split {
        padding: 40px 0 !important;
    }

    .split-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .support-image-card {
        height: 200px !important;
        margin-bottom: 20px !important;
    }

    .branches-simple-list,
    .clean-form-card {
        padding: 24px 18px !important;
        border-radius: 14px !important;
    }

    .split-heading {
        font-size: 1.25rem !important;
        margin-bottom: 16px !important;
    }

    /* Footer Responsive */
    .modern-footer {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }

    .modern-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .headline-black {
        font-size: 1.8rem;
    }

    .product-main-image-container {
        height: 260px !important;
    }

    .thumb-btn {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Mobile Admin Bar Offset */
@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Product Gallery & Carousel Enhancements */
.product-thumbs-strip::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.gallery-nav-btn:hover {
    background: #D32F2F !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3) !important;
}

.gallery-nav-btn:hover svg {
    stroke: #ffffff !important;
}

.btn-product-wa:hover {
    background-color: #20bd5a !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35) !important;
}

/* Media Gallery & Lightbox Styles */
.media-item:hover .media-img {
    transform: scale(1.1);
}
.media-item:hover .play-icon-overlay {
    background: var(--color-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.filter-btn:hover {
    border-color: var(--color-red) !important;
}
.filter-btn.active {
    background-color: var(--color-red) !important;
    border-color: var(--color-red) !important;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}
.gallery-lightbox.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}
.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.2rem;
    animation: zoomIn 0.3s ease;
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-red);
    text-decoration: none;
    cursor: pointer;
}
@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0} 
    to {transform:scale(1); opacity:1}
}








