/*
Theme Name: Rice Mill B2B Premium
Theme URI: https://yourcompany.com
Author: Your Company
Author URI: https://yourcompany.com
Description: Premium B2B theme for industrial processing companies
Version: 3.0
License: GPL v2 or later
Text Domain: rice-mill-b2b
*/

/* ========== CSS RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* ========== PREMIUM DESIGN SYSTEM ========== */
:root {
    --deep-green: #0A2E1F;
    --emerald: #0C4A32;
    --gold-accent: #C8963E;
    --gold-light: #D4AF37;
    --soft-white: #F9F9F6;
    --pure-white: #FFFFFF;
    --text-dark: #1E1E1E;
    --text-muted: #5A6D64;
    --border-light: #E5EBE8;
    --gradient-dark: linear-gradient(135deg, #0A2E1F 0%, #0C4A32 60%, #1A4A3A 100%);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 28px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--pure-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--deep-green);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== CONTAINER ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER - FIXED FULL WIDTH ========== */
header {
    background: #0b3d2e;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.logo:hover {
    color: var(--gold-light);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 0;
    transition: var(--transition);
    white-space: nowrap;
}

nav ul li a:hover {
    color: #c8a96a;
}

/* Mobile Menu Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-accent);
    color: #fff;
    border-color: var(--gold-accent);
    box-shadow: 0 8px 20px rgba(200, 150, 62, 0.25);
}

.btn-primary:hover {
    background: #B88632;
    border-color: #B88632;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(200, 150, 62, 0.35);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.8);
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
}

/* ========== HERO - FULL WIDTH FIX ========== */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('http://munirnsons.com/wp-content/uploads/2026/05/WhatsApp-Image-2026-05-03-at-21.29.51.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero-eyebrow {
    background: rgba(255,255,255,0.15);
    color: #E5D9B6;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.2;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 500;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PAGE HERO - FULL WIDTH FIX ========== */
.page-hero {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 20px;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.page-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}

.page-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* ========== SECTIONS ========== */
.section {
    padding: 60px 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-eyebrow {
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-accent);
    background: rgba(200, 150, 62, 0.08);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 650px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ========== GRID SYSTEMS ========== */
.grid {
    display: grid;
    gap: 25px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========== CARDS ========== */
.card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: var(--soft-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 56px;
    height: 56px;
    background: rgba(12, 74, 50, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--emerald);
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9rem;
}

.about-stat {
    display: inline-block;
    margin-top: 10px;
    background: rgba(200, 150, 62, 0.08);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep-green);
}

/* ========== DIVISIONS SECTION ========== */
.divisions-section {
    background: var(--pure-white);
}

.division-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.division-block.reverse .division-visual {
    order: -1;
}

.division-content {
    padding: 20px;
}

.division-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(200, 150, 62, 0.15);
    line-height: 1;
    margin-bottom: 10px;
}

.division-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.division-metrics {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
    background: var(--soft-white);
    padding: 15px;
    border-radius: var(--radius-sm);
    min-width: 100px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-green);
    line-height: 1.2;
}

.metric-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.division-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.division-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.division-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

.division-visual {
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.visual-content {
    text-align: center;
    color: white;
}

.visual-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
}

.visual-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.visual-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
}

/* ========== CAPABILITIES SECTION ========== */
.capabilities-section {
    background: var(--soft-white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.capability-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.capability-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(12, 74, 50, 0.15);
    margin-bottom: 10px;
}

.capability-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.capability-stat {
    display: inline-block;
    margin-top: 10px;
    background: rgba(200, 150, 62, 0.08);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep-green);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--deep-green);
    color: white;
    padding: 60px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-eyebrow {
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.cta-content h2 {
    color: white;
    text-align: left;
    margin: 10px 0 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.cta-features {
    display: flex;
    gap: 20px;
    margin: 20px 0 25px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-visual {
    flex: 0 0 300px;
}

.cta-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.15);
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #4ADE80;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.cta-card-header {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cta-metric {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.cta-card-footer {
    font-size: 0.85rem;
    color: var(--gold-light);
}

/* ========== STATS CONTAINER ========== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.stats-container .stat-item {
    text-align: center;
}

.stats-container .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.2;
}

.stats-container .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}

/* ========== TIMELINE ========== */
.timeline-list {
    max-width: 800px;
    margin: 0 auto;
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--soft-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: white;
}

/* ========== FOOTER ========== */
footer {
    background: #111;
    color: #aaa;
    padding: 40px 0 20px;
    width: 100%;
}

footer .container {
    padding: 0 20px;
}

footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

footer p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

footer a {
    color: #aaa;
    text-decoration: none;
}

footer a:hover {
    color: var(--gold-light);
}

footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* ========== WORDPRESS CORE STYLES ========== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.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; }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .division-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .division-block.reverse .division-visual {
        order: 0;
    }
    
    .division-visual {
        min-height: 250px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content h2 {
        text-align: center;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-visual {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .about-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .header-flex {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0b3d2e;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        gap: 15px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        min-height: 80vh;
        padding: 60px 20px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .division-metrics {
        justify-content: center;
    }
    
    .metric {
        min-width: 80px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-list > div {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .page-hero {
        min-height: 50vh;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .division-visual {
        min-height: 200px;
        padding: 20px;
    }
}