/* --- VARIABLES & RESET --- */
:root {
    --bg-light: #F5F7FA; /* Soft off-white */
    --bg-card: #FFFFFF; /* Pure white for cards */
    --accent-gold: #B8A17F; /* Your logo's gold/khaki color */
    --accent-blue: #4D5BFF; /* A vibrant blue for secondary accents/highlights */
    --text-dark: #333333; /* Dark gray for primary text */
    --text-muted: #6C757D; /* Lighter gray for secondary text */
    --border-light: #E0E0E0; /* Light border for elements */
    --shadow-light: rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    color: var(--text-dark); /* Ensure headings are dark */
    line-height: 1.2;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

a { text-decoration: none; color: var(--accent-gold); transition: 0.3s ease; }
a:hover { color: var(--accent-blue); }

/* --- UTILITIES --- */
.container { width: 90%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-muted { color: var(--text-muted); }
.flex-center { display: flex; justify-content: center; align-items: center; }
.text-center { text-align: center; }
.section-heading { margin-bottom: 60px; font-size: 2.8rem; text-align: center; }

/* --- BUTTONS --- */
.btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
    box-shadow: 0 8px 20px rgba(184, 161, 127, 0.3);
}

.btn-primary:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(77, 91, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.btn-secondary:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
}


/* --- CARD STYLES (Light & Modern) --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(var(--accent-gold), 0.15); /* Subtle gold tint on hover */
}


/* --- HEADER --- */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9); /* Lighter header with blur */
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 50px; } /* Adjust as needed for your logo */
.nav-links a { margin-left: 35px; font-weight: 500; color: var(--text-dark); opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: var(--accent-gold); }
.nav-links .btn { margin-left: 25px; } /* Spacing for button */


/* --- HERO SECTION --- */
.hero {
    height: 90vh; /* Slightly shorter hero */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* For particles */
    background: linear-gradient(135deg, var(--bg-light) 0%, #E6E9F0 100%); /* Subtle gradient */
    padding-top: 80px; /* Account for fixed header */
}

#particles-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; /* Keep content above */
}

.hero-content { 
    position: relative;
    z-index: 2; /* Ensure content is above particles */
    max-width: 900px;
}
.hero-content h1 { font-size: 4.5rem; margin-bottom: 25px; line-height: 1.1; color: var(--text-dark); }
.hero-content h2 { font-size: 2.2rem; margin-bottom: 50px; color: var(--text-muted); font-weight: 400; }
.hero-buttons .btn { margin: 0 10px; }

/* --- GENERAL SECTIONS --- */
section { padding: 100px 0; }
section:nth-child(even) { background-color: #FDFDFD; } /* Subtle alternating background */

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.icon-box {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
}
.icon-box img { max-width: 80px; margin-bottom: 20px; } /* Placeholder for Lottie/SVG icon */
.icon-box h3 { margin-bottom: 10px; font-size: 1.6rem; }
.icon-box p { color: var(--text-muted); }

/* --- KAIAZEN PROCESS --- */
.kaizen-process {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}
.process-step {
    flex: 1 1 280px;
    text-align: center;
    position: relative;
    padding: 25px;
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--border-light);
}
.process-step::after { /* Connecting line */
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Half of gap */
    width: 40px;
    height: 2px;
    background: var(--border-light);
    z-index: -1;
    transform: translateY(-50%);
}
.process-step:last-child::after { display: none; } /* No line after last step */

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(184, 161, 127, 0.3);
}
.process-step h4 { margin-bottom: 10px; color: var(--accent-blue); }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-card p { font-style: italic; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 20px; }
.testimonial-author { font-weight: 600; color: var(--accent-gold); }
.testimonial-title { font-size: 0.9rem; color: var(--text-muted); }

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.portfolio-item {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(var(--accent-blue), 0.15);
}
.portfolio-item img {
    width: 100%;
    height: 220px; /* Fixed height for consistent grid */
    object-fit: cover;
    display: block;
}
.portfolio-content {
    padding: 25px;
}
.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.portfolio-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.portfolio-content .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* --- CONTACT --- */
.contact-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #E6E9F0 100%);
}
.contact-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin: 0 auto;
}
.contact-card h2 { margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #F8F8F8;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(184, 161, 127, 0.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}
.contact-info p { margin-bottom: 10px; }
.contact-info a { color: var(--accent-blue); font-weight: 500; }

/* --- ANIMATIONS (Similar to before but adjusted for light theme) --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- FOOTER --- */
footer {
    background: #F0F2F5; /* Lighter footer background */
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}
footer h3 { color: var(--text-dark); margin-bottom: 10px; }
.footer-links a { margin: 0 10px; font-size: 0.9rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-gold); }