:root {
    /* Color Palette */
    --color-bg: #ffffff;
    --color-text-primary: #0a192f;
    /* Dark Navy */
    --color-text-secondary: #64748b;
    /* Slate Gray */
    --color-accent: #475569;
    /* Muted Blue/Grey */
    --color-light-gray: #f8fafc;
    /* Very light gray for backgrounds */
    --color-border: #e2e8f0;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* Typography Utility Classes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-text-primary);
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn:hover {
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.btn-primary {
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-text-primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: padding var(--transition-speed);
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--color-text-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    /* Diamond shape */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Page Specific Styles */

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background: #0a192f;
    /* Fallback */
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 80px;
    /* Offset fixed header */
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    /* Overlay */
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    /* Content above slider */
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero .btn-primary {
    background-color: white;
    color: var(--color-text-primary);
    border-color: white;
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* Sections General */
section {
    padding: var(--spacing-xl) 0;
}

.section-intro {
    background-color: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Cards */
.card {
    background: var(--color-light-gray);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Section Types */
.section-features {
    background-color: var(--color-text-primary);
    color: white;
}

.section-features h2 {
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.section-features .feature-item p {
    color: rgba(255, 255, 255, 0.7);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-md);
}

.view-all {
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    border-bottom: 1px solid currentColor;
}

/* Utility for Responsive */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--color-light-gray);
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.footer-col .logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col li {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.copyright {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: transform var(--transition-speed);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
}

/* Subpage Headers */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('image/breadcrumb.webp');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--color-border);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

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

/* Values Section */
.value-card {
    text-align: center;
    border: none;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.value-card h4 {
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

/* Trading Categories Detailed */
/* Products / Trading Page */
.category-card {
    padding: 0;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
    margin-top: auto;
    border-bottom: 1px solid currentColor;
    width: fit-content;
}

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

/* Product Detail Grid */
/* Product Detail Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.product-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-img {
    height: 300px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.contact-form {
    background: var(--color-light-gray);
    padding: var(--spacing-md);
    border-radius: 4px;
    /* Minimal radius */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 0;
    /* Corporate boxy feel */
    font-family: var(--font-family);
    font-size: 1rem;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text-primary);
}

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

/* --- Homepage Redesign Styles --- */

/* Titles & Typography */
h2.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* 1. Business Solutions & Supplies (4-Column) */
.section-supplies {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
}

.supplies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.supply-item {
    padding: 2rem;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.supply-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.supply-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.supply-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.supply-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.link-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.link-btn:hover {
    border-color: var(--accent-color);
}

/* 2. Business Experts (Split Layout) */
.section-experts {
    background: #f8f9fa;
    padding: 0;
    /* Full width split */
    display: flex;
    flex-wrap: wrap;
}

.experts-content,
.experts-image {
    flex: 1 1 500px;
}

.experts-content {
    padding: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.experts-image {
    background-image: url('image/home-about.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.experts-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.experts-content p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

/* 3. Stats & Wholesale (Split) */
/* 3. Stats & Wholesale (Split) */
.section-stats {
    padding: 10rem 0;
    /* Extra padding */
    background-color: var(--color-text-primary);
    color: white;
}

.stats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.stats-col,
.info-col {
    flex: 1 1 400px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: right;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    padding-right: 3rem;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-col h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.checklist {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-bg);
    /* White check for dark bg */
    font-weight: bold;
}

/* 4. CTA Strip */
.section-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('image/home-contact-section.jpg');
    /* Reusing existing asset */
    background-size: cover;
    background-position: center;
    padding: 20rem 2rem;
    text-align: center;
    color: white;
}

.section-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* Responsive Tweaks */

/* Responsive Tweaks */
@media (max-width: 768px) {

    .section-supplies,
    .section-stats,
    .section-cta {
        padding: 3rem 1.5rem;
    }

    .experts-content {
        padding: 3rem 1.5rem;
        flex: 1 1 100%;
        /* Full width on mobile */
    }

    .experts-image {
        min-height: 300px;
        flex: 1 1 100%;
        /* Full width on mobile */
        order: -1;
        /* Image first? Or keep content first. Let's keep content first or as is. */
    }

    .stats-grid {
        text-align: left;
        border-right: none;
        padding-right: 0;
        grid-template-columns: repeat(3, 1fr);
        /* Horizontal on mobile */
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stats-col,
    .info-col {
        flex: auto;
        width: 100%;
    }

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

    .stats-inner {
        flex-direction: column-reverse;
        /* Info first then stats on mobile */
        gap: 2rem;
        align-items: flex-start;
    }

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

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

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