/* =========================================
   POINTMAN CANADA - FIXED STYLE.CSS
   ========================================= */

/* --- 1. RESET & VARIABLES --- */
:root {
    --primary-color: #0a1f44;
    --accent-color: #d12e2e;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-grey: #f0f2f5;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- 2. MODAL / POPUP STYLES --- */
.modal-overlay {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10vh auto; 
    padding: 2rem;
    border: 1px solid #888;
    width: 90%; 
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; }
.close-btn:hover { color: #000; }

.contact-trigger { background: none; border: none; color: #8892b0; font-size: 0.9rem; cursor: pointer; text-decoration: underline; padding: 0; }
.contact-trigger:hover { color: white; }

/* Form Styles */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--primary-color); font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.submit-btn { width: 100%; padding: 12px; background-color: var(--accent-color); color: white; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; }
.submit-btn:hover { background-color: #a01d1d; }

/* --- 3. NAVIGATION --- */
nav {
    background-color: #ffffff;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-logo { height: 60px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; align-items: center; font-weight: bold; }
.nav-links a { color: var(--primary-color); }
.nav-links a:hover { color: var(--accent-color); }

.hamburger { display: none; font-size: 1.8rem; color: var(--primary-color); cursor: pointer; padding: 5px; }

/* --- 4. LAYOUT & SECTIONS --- */
.hero {
    background: linear-gradient(rgba(10, 31, 68, 0.75), rgba(10, 31, 68, 0.75)), 
                url('https://images.unsplash.com/photo-1569629743817-70d8db6c323b?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.25rem; max-width: 800px; margin: 0 auto 2rem auto; color: #e0e0e0; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; }

/* Buttons */
.btn { padding: 0.8rem 2rem; border-radius: 5px; font-weight: bold; display: inline-block; }
.btn-primary { background-color: var(--accent-color); color: white; }
.btn-secondary { border: 2px solid white; color: white; }

/* General Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 4rem 5%; flex: 1; }
.section-padding { padding: 5rem 10%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-color); }
.page-header { background-color: var(--bg-grey); padding: 4rem 5%; text-align: center; border-bottom: 4px solid var(--accent-color); }
.page-header h1 { font-size: 2.5rem; color: var(--primary-color); }

/* Components */
.card-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.card, .service-card { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--primary-color); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.vision-box { background-color: var(--primary-color); color: white; padding: 3rem; border-radius: 8px; margin-bottom: 3rem; text-align: center; }
.vision-box h2 { color: white; margin-bottom: 1rem; }

/* Experience */
.experience { background-color: var(--primary-color); color: white; } 
.experience h2 { color: white; }
.timeline { max-width: 800px; margin: 0 auto; border-left: 2px solid rgba(255,255,255,0.3); padding-left: 2rem; }
.timeline-item { margin-bottom: 3rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -2.6rem; top: 5px; width: 1rem; height: 1rem; background: var(--accent-color); border-radius: 50%; }
.timeline-item .client-name { color: #b0c4de; font-weight: bold; display: block; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 0.5rem; }

/* Tables */
.client-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; margin-bottom: 2rem; }
.client-table th { background: var(--primary-color); color: white; padding: 1rem; text-align: left; }
.client-table td { padding: 1rem; border-bottom: 1px solid #eee; }
.date-col { text-align: right; color: #666; white-space: nowrap; }
.client-list { column-count: 2; column-gap: 4rem; }

/* --- 5. MISSING COMPONENTS (Restored) --- */

/* Trust Bar */
.trust-bar { 
    background-color: var(--bg-grey); 
    padding: 3rem 5%; 
    text-align: center;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.trust-bar p { 
    margin-bottom: 1.5rem; 
    font-weight: bold; 
    color: #666; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
}
.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 20px;
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}
.trust-divider { color: var(--accent-color); font-weight: bold; }

/* Photo Section */
.photo-section { background-color: var(--bg-grey); padding: 3rem 5%; text-align: center; }
.photo-frame { background: white; padding: 15px; display: inline-block; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); transition: transform 0.3s; }
.photo-frame:hover { transform: translateY(-5px); }
.photo-frame img { display: block; max-width: 100%; height: auto; }

/* About Quote */
.about-quote { background: var(--bg-grey); text-align: center; font-style: italic; }
.about-quote blockquote { font-size: 1.5rem; color: var(--primary-color); max-width: 800px; margin: 0 auto; }

/* Footer */
footer { background: #051126; color: #8892b0; padding: 4rem 5% 2rem; margin-top: auto; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 3rem; }
.copyright { text-align: center; border-top: 1px solid #1c2a45; padding-top: 2rem; }

/* --- 6. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Menu */
    .hamburger { display: block; }
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 1rem 0; }

    /* Hero */
    .hero-content h1 { font-size: 2rem; }

    /* Tables & Lists */
    .client-list { column-count: 1; }
    .date-col { text-align: left; white-space: normal; display: block; color: #888; font-size: 0.9em; margin-top: 5px; }

    /* Trust Bar Mobile */
    .trust-grid { flex-direction: column; gap: 0; }
    .trust-divider { display: none; } /* Hide dots on mobile */
    .trust-item { 
        display: block; 
        width: 100%; 
        padding: 10px 0; 
        border-bottom: 1px solid #e0e0e0; /* Separator lines */
    }
    .trust-item:last-child { border-bottom: none; }
}