/* GLOBAL STYLES & RESET */
:root {
    /* Define a professional color palette */
    --primary-color: #f2a56e; /* Dark Corporate Blue */
    --accent-color: #3B82F6;  /* Bright Blue Accent */
    --text-color: #333333;
    --light-bg: #F3F4F6; /* Light Gray Background */
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

/* BUTTON STYLES */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-nav {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    margin-left: 15px;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* HEADER & NAVIGATION STYLES */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* LOGO IMAGE STYLES */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}
/* END LOGO STYLES */

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* HERO SECTION STYLES (UPDATED for Background Image) */
.hero {
    /* *** CRITICAL LINE: CHECK THE PATH AND FILE NAME HERE *** */
    /* Assumes your image is named 'hero-bg.jpg' and is in the 'images' folder. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.png'); 
    
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Increased padding for a larger hero area */
    padding: 150px 0; 
    text-align: center;
    color: var(--white); /* Ensures text is white */
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--white); /* Text color changed to white */
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #ccc; /* Lighter white for paragraph text */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* END HERO STYLES */


/* FEATURES GRID STYLES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}

/* STATS SECTION STYLES */
.stats-section {
    background-color: var(--primary-color);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SERVICES SECTION STYLES */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}


/* FOOTER STYLES */
.footer {
    background-color: #9d6835;
    color: #ccc;
    padding-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-content h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-form-placeholder {
    width: 45%;
}

.contact-form-placeholder input[type="text"],
.contact-form-placeholder input[type="email"],
.contact-form-placeholder textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444;
    background-color: #220f021c;
    color: var(--white);
    border-radius: 5px;
}

.contact-form-placeholder textarea {
    height: 100px;
    resize: vertical;
}

.contact-form-placeholder .btn-primary {
    width: 100%;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    background-color: #d99f76;
}

/* RESPONSIVENESS (MEDIA QUERIES) */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-info, .contact-form-placeholder {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ABOUT PAGE SPECIFIC STYLES --- */

/* Page Header (replaces Hero section look on inner pages) */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Specific styling for the section titles on the left */
.section-title-left {
    text-align: left;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Mission, Vision, Values Card Grid */
.bg-light-blue {
    background-color: var(--light-bg);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-card h3 .icon-circle {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--accent-color);
}

.info-card ul {
    list-style-type: none;
    padding-left: 0;
}

.info-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

/* Navigation Active State for About Page */
.nav-links .active-nav {
    color: var(--accent-color) !important;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .section-title-left {
        text-align: center;
    }
}
/* --- LEADERSHIP PROFILE STYLES (Based on Bhagwati layout) --- */
.bg-dark-blue {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    place-items: center;
}

.leader-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1000px; 
    /* Set left and right margins to auto to center the block element */
    margin-left: auto;
    margin-right: auto;
    /* --- END NEW CODE --- */
}

.profile-card {
    background: #25449e; /* Slightly lighter blue for the card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.profile-image-container {
    height: 600px; /* Increase height to give the photo more vertical room */
    width: 100%;
    overflow: hidden;
    /* Remove background-image properties if you are using an <img> tag */
}

.profile-img {
    width: 100%;
    height: 100%; 
    display: block;
    /* *** CRITICAL CHANGE: Use contain to show the whole photo *** */
    object-fit: contain; 
    /* Optional: Sets background color behind the photo if the image ratio doesn't match the container ratio */
    background-color: #d1d1d1; 
}

.profile-details {
    padding: 30px;
}

.profile-details h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-details .role-title {
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.profile-details p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #c9d6f8;
}

/* --- TIMELINE STYLES (Vertical layout) --- */
.timeline-section {
    background-color: var(--white);
    text-align: center;
}

.timeline-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.timeline-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #ddd;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 120px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 5px 10px;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #666;
}

/* --- MEDIA QUERIES (Responsiveness for About Page) --- */
@media (max-width: 992px) {
    .leader-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-wrapper::before {
        left: 20px;
        transform: none;
    }

    .timeline-item, .timeline-item:nth-child(odd) {
        flex-direction: row;
        margin-left: 20px;
        padding-left: 40px;
        justify-content: flex-start;
    }

    .timeline-date {
        left: 0;
        transform: none;
        top: 15px;
        width: auto;
    }

    .timeline-content, .timeline-item:nth-child(odd) .timeline-content {
        width: 100%;
        margin-left: 0;
    }
}
/* --- SERVICES PAGE SPECIFIC STYLES --- */

/* Page Header (reusing existing styling for a clean look) */
/* Service List Section - Two Column Layout */
.services-list-section {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: var(--light-bg);
}

.service-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-page-grid.reverse-grid {
    direction: rtl; /* Reverses column order */
}

.service-page-grid.reverse-grid > * {
    direction: ltr; /* Ensures text inside is read correctly */
}

.service-details-area {
    padding: 0;
}

/* List Styling (similar to the reference sites) */
.styled-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.styled-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%233B82F6" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>') no-repeat left 6px;
    background-size: 16px;
    padding-left: 28px;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05rem;
    color: #444;
}

.styled-list li strong {
    color: var(--primary-color);
}

/* Image Placeholder Styling */
.service-image-area {
    height: 600px;
    background-color: #ccc;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* Center placeholder text for visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- MEDIA QUERIES (Responsiveness) --- */
@media (max-width: 992px) {
    .service-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-page-grid.reverse-grid {
        direction: ltr; /* Reverses direction for mobile stack */
    }

    .service-image-area {
        order: -1; /* Puts image above text on mobile for the first section */
        height: 250px;
    }
}
/* --- LEADERSHIP PROFILE STYLES (UPDATED for Single Constructor Image) --- */

.profile-image-container {
    height: 250px;
    width: 100%;
    overflow: hidden;
    
    /* *** CRITICAL LINE: SETS THE IMAGE AND OVERLAY *** */
    /* Checks your image file path and name */
    background-image: 
        /* Dark gradient overlay for a professional look */
        linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2)), 
        /* YOUR IMAGE PATH HERE */
        url('images/constructor-bg.jpg'); 
    
    /* Positioning and Sizing */
    background-size: cover;          
    background-position: center center; 
    background-repeat: no-repeat;    

    display: flex; 
    align-items: flex-end; 
    padding: 20px;
    box-sizing: border-box; 
}

/* * IMPORTANT: Delete these specific blocks if they exist, 
* as the image is now set by the generic .profile-image-container:
.profile-image-container.founder-bg { ... }
.profile-image-container.mentor-bg { ... }
*/
/* --- PROJECTS PAGE SPECIFIC STYLES --- */

/* Page Header (reusing existing styling for a clean look) */

.project-grid-layout {
    padding: 80px 0;
}

.project-tab-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.project-column {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex; /* Flex container for content */
    flex-direction: column;
}

/* Residential Styling (Accent Color Highlight) */
.residential-column {
    background-color: var(--light-bg);
}

.project-title-residential {
    color: #E74C3C; /* Using a vibrant red/coral color for distinction */
    font-size: 2rem;
    margin-bottom: 10px;
    border-bottom: 3px solid #E74C3C;
    display: inline-block;
    padding-bottom: 5px;
}

/* Commercial Styling (Primary Color Highlight) */
.commercial-column {
    background-color: var(--white);
    border: 1px solid #ddd;
}

.project-title-commercial {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.project-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1; /* Allows intro to take up available space before the list */
}

/* Project List Styling */
.project-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 40px;
}

.project-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%231E3A8A" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left 6px;
    background-size: 16px;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-color);
}

.project-cta-placeholder {
    margin-top: auto; /* Pushes CTA button to the bottom */
    text-align: center;
}

/* --- MEDIA QUERIES (Responsiveness) --- */
@media (max-width: 992px) {
    .project-tab-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.leader-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.profile-card {
    background: #25449e; 
    border-radius: 10px;
    overflow: visible; /* CRITICAL: Allows the image to extend outside the border */
    position: relative; /* CRITICAL: Establishes a positioning context for the image */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* ... rest of the profile card styling ... */
/* --- PROJECTS IMAGE GRID STYLES --- */

.project-image-grid {
    display: grid;
    /* 2 columns on desktop for a compact portfolio look */
    grid-template-columns: 1fr 1fr; 
    gap: 15px;
    margin-bottom: 30px;
}

.project-image-item {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #eee;
}

.project-img {
    width: 100%;
    height: 150px; /* Fixed height for visual consistency */
    object-fit: cover; /* Ensures image covers the box without distortion */
    display: block;
}

.image-caption {
    font-size: 0.85rem;
    color: #555;
    padding: 8px 10px;
    text-align: center;
    background-color: #f7f7f7;
}

/* --- MEDIA QUERIES (Responsiveness for Project Grid) --- */
@media (max-width: 576px) {
    .project-image-grid {
        /* On small phones, stack the images vertically */
        grid-template-columns: 1fr;
    }
    .project-img {
        height: 200px; /* Increase height for better viewing on mobile */
    }
}
/* --- CONTACT PAGE SPECIFIC STYLES --- */

/* Page Header (reusing existing styling for a clean look) */

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info column narrower, Map column wider */
    gap: 50px;
    align-items: stretch;
}

.info-column {
    padding-right: 20px;
}

.contact-card {
    margin-bottom: 25px;
    padding: 15px;
    border-left: 4px solid var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Map Container Styling */
/* Map Container Styling */
/* Map Container Styling */
.map-column {
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.map-container iframe {
    /* Ensures the map takes the full height of its container */
    min-height: 450px; 
    min-width: 600px;
    display: block;
}

/* Reusing .bg-light-gray from previous sections */


/* --- MEDIA QUERIES (Responsiveness for Contact Grid) --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .info-column {
        padding-right: 0;
    }
}
/* --- DETAILED CONTACT FORM STYLES --- */

/* Ensures the form column takes up appropriate space in the footer */
.detailed-form-column {
    width: 100%; 
    padding: 20px;
    background-color: var(--white); /* White background for the form block */
    border-radius: 8px;
}

.detailed-form-column .form-title {
    color: #1E3A8A; /* Primary color */
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.detailed-form-column .form-subtitle {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

.detailed-contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Gap between rows/columns */
}

.form-row {
    display: flex;
    width: 100%;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%; /* Default to full width for single fields */
    margin-bottom: 10px;
}

.form-row .form-group {
    width: calc(50% - 7.5px); /* Half width for side-by-side fields */
}

label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: var(--accent-color);
    outline: none;
}

.full-width {
    width: 100%;
}

/* Checkbox specific styling */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

input[type="checkbox"] {
    width: auto;
    height: 16px;
}

/* Submit Button Style */
.btn-submit {
    background-color: #66BB6A; /* Green color from the image */
    color: var(--white);
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #4CAF50;
}

/* Ensure responsiveness for the form */
@media (max-width: 768px) {
    .detailed-form-column {
        width: 100%; /* Takes full width on mobile */
    }
    .form-row {
        flex-direction: column; /* Stacks names vertically on mobile */
    }
    .form-row .form-group {
        width: 100%;
    }
}
/* --- SPLIT PROFILE CARD STYLES --- */

/* The main container for the side-by-side layout */
.split-content {
    display: flex; /* Enables Flexbox */
    gap: 20px;
    align-items: center;
    padding: 30px; /* Padding moved here from profile-details */
}

/* Styles for the text column */
.info-column-split {
    flex: 1; /* Allows this column to grow */
    padding-right: 20px;
}

.info-column-split h3 {
    /* Ensure the title color is white/light against the blue background */
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.info-column-split p {
    color: #c9d6f8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Styles for the image column */
.image-column-split {
    flex-shrink: 0; /* Prevents the image column from shrinking */
    width: 40%; /* Dedicate 40% of the space to the image */
}

.profile-image-container.founder-image-right {
    height: 100%; 
    background-color: #00BFFF; /* same blue as profile-card */
    /* We are keeping the white border and shadow for style */
     /* White border */
   box-shadow: 0 5px 15px rgba(85, 183, 235, 0.3); 
    border-radius: 8px; 
    overflow: hidden;
    
    /* CRITICAL: Set the container background to white. 
       This fills the empty space around the contained image. */
}


.profile-img-split {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* full body visible */
    display: block;
}


/* --- MEDIA QUERY for Responsiveness --- */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column; /* Stack image and text vertically on mobile */
        text-align: center;
    }
    
    .image-column-split {
        width: 100%;
        order: -1; /* Puts the image on top for better mobile flow */
    }
    .info-column-split {
        padding-right: 0;
    }
}
/* Styling for the image column to push it out and give it a lift */
/* Styling for the image column to push it out and give it a lift */
.image-column-split.image-outside-box {
    /* We still want it to occupy 40% of the horizontal space */
    width: 40%; 
    flex-shrink: 0;
    
    /* CRITICAL FIX: The position property must be 'absolute' or 'fixed' */
    position: absolute; 
    
    top: 0;
    
    /* This controls the horizontal position relative to the right edge of the parent card.
       A larger negative number moves it further right. Let's try -80px for a bigger push. */
    right: -1000px; 
    
    z-index: 10; 

    /* Adjusting content width to accommodate the image pop-out */
    width: 100%; 
    height: 100%;
}

/* Ensure the text content doesn't go underneath the floating image */
.info-column-split {
    flex: 1; 
    /* CRITICAL: Push the text away from the absolute image on the right */
    padding-right: 100%; 
}

/* Adjusting the image container inside the column for style */

.profile-img-split {
    width: 500%;
    height: 500%;
    object-fit: contain; 
    display: block;
    
}

/* --- MEDIA QUERY ADJUSTMENT (Must revert on mobile!) --- */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column; 
        text-align: center;
    }
    
    /* Revert absolute positioning and negative margin on mobile */
    .image-column-split.image-outside-box {
        position: static; 
        width: 100%;
        order: -1; 
        padding: 0;
    }
    
    /* Revert text padding on mobile */
    .info-column-split {
        padding-right: 0; 
    }
    
    /* Give the image area a standard mobile height */
    .profile-image-container.founder-image-right {
        height: 500px;
        margin-bottom: 20px;
    }
}
/* Styling for the image container to push it out of the box */
/* --- FOUNDER IMAGE SPLIT STYLING --- */

/* Adjusting the image container inside the column for style */
/* --- Founder Image Container (The Floating White Box) --- */
.profile-image-container.founder-image-right {
    height: 100%; 
    
    /* We are keeping the white border and shadow for style */
     /* White border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
    border-radius: 8px; 
    overflow: hidden;
    
    /* CRITICAL: Set the container background to white. 
       This fills the empty space around the contained image. */
}

/* --- The Photo Itself (The <img> tag) --- */
.profile-img-split {
    width: 100%;
    height: 100%;
    
    /* CRITICAL: Changed from 'cover' to 'contain' to show the entire photo, 
       even if it leaves gaps (which are now white, thanks to the container background). */
    object-fit: contain; 
    
    display: block;
    
    /* Ensure the image element itself is transparent or white */
    background-color: transparent; 
}
/* --- PROFILE CARD CONTEXT --- */
.profile-card {
    background: #05a6bc; 
    border-radius: 10px;
    overflow: visible; /* CRITICAL: Allows the image to extend outside */
    position: relative; /* CRITICAL: Establishes context for absolute image */
    /* ... rest of the profile-card styles ... */
}

/* --- IMAGE POP OUT STYLING --- */
.image-column-split.image-outside-box {
    position: center; 
    top: 0px; /* Adjust vertical position */
    right: -500px; /* Adjust horizontal offset outside the box */
    z-index: 10; 
    
    /* Define the physical size of the image block */
    width: 100%; /* Controls the width of the image block */
    height: 100%; /* Controls the height relative to the card */
}

/* --- TEXT PADDING --- */
.info-column-split {
    flex: 1; 
    /* Push the text away from the absolute image on the right */
    padding-right: 40%; 
}
/* --- CENTERING THE IMAGE ON THE PAGE --- */

.centered-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f2a56e;
}


/* --- CSS for the Image Container (e.g., .image-box) --- */

.image-box {
    width: 350px;          /* adjust if needed */
    height: 500px;         /* adjust if needed */
    background-color: #f2a56e;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
}


/* --- CSS for the Image Tag (e.g., .centered-img) --- */

.centered-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;   /* shows full person */
    display: block;
}

/* --- LIGHTBOX/MODAL STYLES --- */
.clickable-thumbnail {
    cursor: pointer; /* Visually indicates it's clickable */
    transition: transform 0.2s;
}

.clickable-thumbnail:hover {
    transform: scale(1.03);
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 10000; /* High z-index to cover everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Dark overlay */
    transition: opacity 0.3s;
}

.modal-content-img {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px; /* Max size for the image container */
    position: relative;
    padding-top: 100px; /* Space from the top */
}

#fullImage {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Close Button for the Lightbox */
.close-btn-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-btn-lightbox:hover,
.close-btn-lightbox:focus {
    color: #bbb;
    text-decoration: none;
}
/* Album Modal */
.album-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    padding: 40px;
    overflow-y: auto;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.album-grid img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.album-grid img:hover {
    transform: scale(1.05);
}

/* Close Button */
.album-close {
    font-size: 40px;
    color: white;
    position: fixed;
    top: 15px;
    right: 25px;
    cursor: pointer;
}

/* Button Center */
.project-album-btn {
    text-align: center;
    margin-top: 40px;
}
/* Full Image Zoom Modal */
.full-img-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    text-align: center;
    padding-top: 50px;
}

.full-img-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Close button */
.full-close {
    position: fixed;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
/* --- OM ENTERPRISES BRAND COLORS --- */
:root {
    --om-blue: #0056b3;       /* Professional Deep Blue */
    --om-gold: #ffc107;       /* Golden Brush Accent */
    --om-text: #333333;       /* Dark Grey for readability */
    --om-bg: #f4f6f9;         /* Light background for contrast */
    --card-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --hover-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--om-bg);
}

/* --- MAIN SECTION LAYOUT --- */
.inspiration-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* --- HEADER BAR --- */
.section-header {
    background: linear-gradient(90deg, var(--om-blue) 0%, #004494 100%);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
}

.section-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- GRID SYSTEM --- */
.room-grid {
    display: grid;
    /* Responsive: Fits as many 260px cards as possible per row */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* --- CARD DESIGN --- */
.room-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Hover Animation: Lift Up + Gold Border Glow */
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--om-gold);
}

/* --- ICONS --- */
.icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.room-card:hover .icon-box {
    transform: scale(1.1); /* Icon grows slightly on hover */
}

/* --- TEXT STYLING --- */
.room-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--om-text);
    margin: 10px 0 15px 0;
    transition: color 0.3s ease;
}

.room-card:hover .room-title {
    color: var(--om-blue); /* Text turns blue on hover */
}

/* --- GOLD DIVIDER LINE --- */
.card-divider {
    height: 3px;
    width: 40px;
    background-color: #eee;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.room-card:hover .card-divider {
    width: 80px; /* Line expands */
    background-color: var(--om-gold); /* Line turns gold */
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 20px;
    }
    .inspiration-section {
        margin: 30px auto;
    }
}
/* --- GLOBAL VARIABLES --- */
:root {
    --om-blue: #004d80;
    --om-gold: #ffc107;
    --om-bg: #f4f6f9;
    --text: #333;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--om-bg); margin: 0; color: var(--text); }
a { text-decoration: none; color: inherit; }

/* --- INDEX PAGE: CARD GRID --- */
.inspiration-section { max-width: 1200px; margin: 40px auto; padding: 20px; }
.section-header { text-align: center; margin-bottom: 40px; color: var(--om-blue); }

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card-link { display: block; } /* Makes the whole card clickable area */

.room-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    border-color: var(--om-gold);
}

.icon-box img { width: 64px; height: 64px; margin-bottom: 15px; }

.room-title { font-size: 18px; margin: 0; color: #444; }
.card-divider { height: 3px; width: 40px; background: #eee; margin: 15px auto 0; transition: 0.3s; }
.room-card:hover .card-divider { width: 80px; background: var(--om-gold); }

/* --- VISUALIZER PAGE STYLES --- */
.nav-bar { padding: 20px; background: white; margin-bottom: 20px; }
.back-link { color: var(--om-blue); font-weight: bold; }

.visualizer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.viz-container { display: flex; gap: 30px; flex-wrap: wrap; }
.viz-graphic-area { flex: 2; background: #eee; border-radius: 8px; min-width: 300px; }
.viz-controls { flex: 1; min-width: 250px; padding: 20px; border: 1px solid #eee; border-radius: 8px; }

svg { width: 100%; height: auto; display: block; }
.paintable { cursor: pointer; transition: 0.2s; }
.paintable:hover { filter: brightness(0.9); stroke: var(--om-gold); stroke-width: 2px; }
.paintable.selected { stroke: var(--om-blue); stroke-width: 4px; }

.status-badge { 
    background: #eef2f5; color: var(--om-blue); padding: 8px; 
    border-radius: 4px; font-weight: bold; margin-bottom: 15px; 
}

.btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
.btn-primary { background: var(--om-blue); color: white; }
.btn-outline { background: transparent; border: 1px solid #ccc; }

.swatch-grid { display: flex; gap: 10px; margin-top: 15px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ccc; cursor: pointer; }
/* --- OM ENTERPRISES BRAND COLORS --- */
:root {
    --om-blue: #0056b3;       /* Professional Deep Blue */
    --om-gold: #ffc107;       /* Golden Brush Accent */
    --om-text: #333333;       /* Dark Grey for readability */
    --om-bg: #f4f6f9;         /* Light background for contrast */
    --card-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --hover-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--om-bg);
}

/* --- MAIN SECTION LAYOUT --- */
.inspiration-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* --- HEADER BAR --- */
.section-header {
    background: linear-gradient(90deg, var(--om-blue) 0%, #004494 100%);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
}

.section-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- GRID SYSTEM --- */
.room-grid {
    display: grid;
    /* Responsive: Fits as many 260px cards as possible per row */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* --- CARD DESIGN --- */
.room-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Hover Animation: Lift Up + Gold Border Glow */
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--om-gold);
}

/* --- ICONS --- */
.icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.room-card:hover .icon-box {
    transform: scale(1.1); /* Icon grows slightly on hover */
}

/* --- TEXT STYLING --- */
.room-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--om-text);
    margin: 10px 0 15px 0;
    transition: color 0.3s ease;
}

.room-card:hover .room-title {
    color: var(--om-blue); /* Text turns blue on hover */
}

/* --- GOLD DIVIDER LINE --- */
.card-divider {
    height: 3px;
    width: 40px;
    background-color: #eee;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.room-card:hover .card-divider {
    width: 80px; /* Line expands */
    background-color: var(--om-gold); /* Line turns gold */
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 20px;
    }
    .inspiration-section {
        margin: 30px auto;
    }
}
/* --- Global Reset & Fonts --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

/* Back Link */
.nav-bar { padding: 20px; background: white; border-bottom: 1px solid #eee; }
.back-link { text-decoration: none; color: #5352ed; font-weight: 700; }

/* --- Layout Container --- */
.app-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 30px auto;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
}

/* --- Left Side: Visualizer --- */
.visualizer-section {
    flex: 2;
    min-width: 600px;
}

.viz-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
}
.viz-header p {
    color: #666;
    margin-bottom: 20px;
}

.canvas-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Interactive SVG Styles */
.paintable {
    cursor: pointer;
    transition: opacity 0.2s, stroke 0.2s;
}
.paintable:hover {
    opacity: 0.9;
    stroke: #5352ed;
    stroke-width: 2px;
}
.paintable.selected {
    stroke: #3742fa;
    stroke-width: 4px;
    stroke-dasharray: 6,4; /* Dashed selection line */
}

/* --- Right Side: Controls Panel --- */
.controls-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.controls-section h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 25px;
    color: #222;
}

/* Control Rows */
.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.label { font-weight: 600; color: #444; }
.value-text { font-weight: 600; color: #333; }

/* Color Picker Input */
.color-wrapper {
    width: 60px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
input[type="color"] {
    width: 150%;
    height: 150%;
    transform: translate(-10%, -10%);
    cursor: pointer;
    border: none;
    background: none;
}

/* Buttons */
.button-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.btn {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: white;
    transition: filter 0.2s;
}

.btn:hover { filter: brightness(1.1); }

/* Custom Colors */
.btn-purple { background-color: #5352ed; } /* "Apply" Blue/Purple */
.btn-red    { background-color: #ff4757; } /* "Reset" Red */

/* Presets (Pills) */
.group-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #444;
}

.preset-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.chip {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: all 0.2s;
}

.chip:hover {
    border-color: #5352ed;
    color: #5352ed;
    background: #f1f1fe;
}

/* Quick Colours Grid */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 10px;
    margin-bottom: 10px;
}

.quick-btn {
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

/* Footer Note */
.footer-note {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    line-height: 1.4;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .app-container { flex-direction: column; }
    .visualizer-section, .controls-section { width: 100%; min-width: auto; }
}
/* --- Global Reset & Fonts --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

.nav-bar { padding: 20px; background: white; border-bottom: 1px solid #eee; }
.back-link { text-decoration: none; color: #5352ed; font-weight: 700; }

/* --- Layout Container --- */
.app-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 30px auto;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
}

/* --- Left Side: Visualizer --- */
.visualizer-section {
    flex: 2;
    min-width: 600px;
}

.viz-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
}
.viz-header p { color: #666; margin-bottom: 20px; }

.canvas-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

svg { width: 100%; height: auto; display: block; }

/* Interactive SVG Styles */
.paintable { cursor: pointer; transition: opacity 0.2s, stroke 0.2s; }
.paintable:hover { opacity: 0.9; stroke: #5352ed; stroke-width: 2px; }
.paintable.selected { stroke: #3742fa; stroke-width: 4px; stroke-dasharray: 6,4; }

/* --- Right Side: Controls Panel --- */
.controls-section {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.controls-section h3 { margin-top: 0; font-size: 20px; margin-bottom: 25px; color: #222; }

/* Control Rows */
.control-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.label { font-weight: 600; color: #444; }
.value-text { font-weight: 600; color: #333; }

/* Color Picker */
.color-wrapper { width: 60px; height: 35px; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
input[type="color"] { width: 150%; height: 150%; transform: translate(-10%, -10%); cursor: pointer; border: none; }

/* Buttons */
.button-row { display: flex; gap: 10px; margin-bottom: 25px; }
.btn {
    flex: 1; padding: 12px 15px; border: none; border-radius: 6px;
    cursor: pointer; font-weight: 600; font-size: 14px; color: white; transition: filter 0.2s;
}
.btn:hover { filter: brightness(1.1); }
.btn-purple { background-color: #5352ed; }
.btn-red    { background-color: #ff4757; }

/* Presets */
.group-label { font-weight: 600; font-size: 14px; margin-bottom: 10px; color: #444; }
.preset-row { display: flex; gap: 10px; margin-bottom: 25px; }
.chip {
    background: white; border: 1px solid #ddd; padding: 8px 16px;
    border-radius: 20px; cursor: pointer; font-size: 13px; color: #555; transition: all 0.2s;
}
.chip:hover { border-color: #5352ed; color: #5352ed; background: #f1f1fe; }

/* Quick Colours */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.quick-btn {
    padding: 8px; border: none; border-radius: 6px; font-size: 13px;
    font-weight: 600; cursor: pointer; text-align: center;
}

.footer-note { font-size: 12px; color: #888; margin-top: 20px; line-height: 1.4; }

@media (max-width: 900px) {
    .app-container { flex-direction: column; }
    .visualizer-section, .controls-section { width: 100%; }
}
/* --- COMPACT VIEW MODIFIER (For Medium Images) --- */
.canvas-wrapper.compact-view {
    max-width: 100%;       
    max-height: 450px;     /* Limits height to match Dining Room widget */
    padding: 10px;         
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Light grey background */
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Ensures SVG scales nicely inside the compact box */
.compact-view svg {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    box-shadow: none;     
}
/* --- PALETTE & TEXTURE SECTION --- */

.palette-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.palette-header {
    text-align: center;
    margin-bottom: 40px;
}
.palette-header h1 { color: #004d80; margin-bottom: 5px; }
.palette-header p { color: #666; font-size: 15px; }

/* Section Styling */
.palette-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.section-title-row h2 { margin: 0; color: #333; font-size: 20px; font-weight: 700; }

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 25px;
}

.filter-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #004d80;
    color: white;
}

/* --- COLOR GRID --- */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.color-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
    background: white;
}

.color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.color-swatch { height: 100px; width: 100%; }

.color-info { padding: 12px; text-align: center; }
.color-info h4 { margin: 0 0 5px 0; font-size: 13px; color: #333; }
.color-info span { font-size: 11px; color: #999; font-family: monospace; text-transform: uppercase; }

/* --- TEXTURE GRID --- */
.texture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.texture-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.texture-swatch {
    height: 140px;
    width: 100%;
    position: relative;
    background-color: #eee; 
}

.texture-info { padding: 15px; }
.texture-info h4 { margin: 0 0 5px 0; color: #004d80; font-size: 15px; }
.texture-info p { margin: 0; font-size: 12px; color: #666; }

.badge {
    position: absolute;
    top: 10px; right: 10px;
    background: #ffc107; color: #000;
    font-size: 10px; font-weight: bold;
    padding: 3px 8px; border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- CSS TEXTURE PATTERNS (Simulations) --- */

/* 1. Metallic Shine */
.metallic {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #bdbdbd 100%);
}

/* 2. Stucco (Swirls) */
.stucco {
    background-color: #e0e0e0;
    background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent),
                      radial-gradient(circle at 80% 80%, rgba(0,0,0,0.1), transparent);
}

/* 3. Rustic (Noise) */
.rustic {
    background-color: #d7ccc8;
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 4px);
}

/* 4. Sponging (Spots) */
.sponging {
    background-color: #b2dfdb;
    background-image: radial-gradient(#80cbc4 15%, transparent 16%),
                      radial-gradient(#4db6ac 15%, transparent 16%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* 5. Textile (Weave) */
.textile {
    background-color: #f5f5f5;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, .05) 75%, rgba(0, 0, 0, .05) 76%, transparent 77%, transparent), 
                      linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, .05) 25%, rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, .05) 75%, rgba(0, 0, 0, .05) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
}

/* Toast Notification */
#copy-toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 12px;
    position: fixed;
    z-index: 100;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
#copy-toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }

@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* Mobile Response */
@media (max-width: 768px) {
    .section-title-row { flex-direction: column; align-items: flex-start; }
    .filter-tabs { width: 100%; justify-content: space-between; overflow-x: auto; }
}