@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary: #1F2022; /* Cold Slate Steel */
    --primary-dark: #0A0B0D; /* Polished Gunmetal/Obsidian Black */
    --secondary: #71717A; /* Industrial Zinc */
    --silver: #E2E8F0; /* Metallic Silver Accent */
    --silver-dark: #8E9AA6; /* Cold Steel */
    --accent: #71717A; /* Brushed Zinc-Steel */
    --accent-hover: #27272A; /* Polished Gunmetal Dark */
    --bg: #F4F4F5; /* Clean Metal Light Gray */
    --text: #27272A; /* Sleek Zinc Dark Text */
    --text-dark: #0A0B0D; /* Obsidian */
    --text-light: #71717A; /* Zinc Gray */
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1300px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography Utilities */
.text-accent { color: var(--accent); }
.text-silver { color: var(--silver-dark); }
.text-center { text-align: center; }
.bold { font-weight: 700; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }

/* Section Styles */
.section {
    padding: var(--section-padding);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px; /* More modern rounded pill */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #94A3B8 100%);
    color: #0A0B0D;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px 0 rgba(148, 163, 184, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #CBD5E1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(148, 163, 184, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    background: rgba(10, 11, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition);
}

header.scrolled .nav-container {
    height: 70px;
}

.logo img {
    height: 75px; /* 150% of 50px */
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px; /* 150% of 40px */
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--silver);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1300px; /* Further 10% reduction */
    height: 1300px;
    background: url('../assets/Grey Logo No Text.png') no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    opacity: 0.95;
    max-width: 600px;
    border-left: 4px solid var(--accent);
    padding-left: 25px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
        border-left: none;
        border-top: 4px solid var(--accent);
        padding-left: 0;
        padding-top: 20px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 50px;
    }
}

/* Grid Utilities */
.grid {
    display: grid;
    gap: 40px;
}

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

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 25px;
    align-items: center;
    text-align: left;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.card i, .card svg {
    font-size: 1.8rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--white);
}

.card-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: url('../assets/Grey Logo No Text.png') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.about-text, .about-values {
    position: relative;
    z-index: 1;
}

/* Showcase Grid Sections (Vertical Image Safe Layouts) */
.about-showcase-grid, .services-showcase-grid {
    display: grid;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.about-showcase-grid {
    grid-template-columns: 1fr 1.2fr;
}

.services-showcase-grid {
    grid-template-columns: 1.2fr 1fr;
}

.showcase-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background-color: var(--brushed-slate);
    transition: var(--transition);
}

.showcase-image-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

.showcase-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.showcase-image-wrapper:hover img {
    transform: scale(1.01);
}

@media (max-width: 992px) {
    .about-showcase-grid, .services-showcase-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-showcase-grid, .services-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .services-showcase-grid .showcase-content {
        order: 2;
    }
    
    .services-showcase-grid .showcase-image-wrapper {
        order: 1;
    }
}

/* Safety Section */
.safety-section {
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.safety-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 1200px;
    height: 1200px;
    background: url('../assets/Grey Logo No Text.png') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.safety-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.safety-image {
    position: relative;
}

.safety-image img {
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.safety-content ul li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-size: 1.1rem;
}

.safety-content ul li i, 
.safety-content ul li svg {
    color: var(--silver);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 35px;
    height: 35px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, #1E2226 0%, #121417 100%);
    position: relative;
    z-index: 1;
    color: var(--white);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url('../assets/Grey Logo No Text.png') no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* About Section Redesign */
.about-section {
    background: linear-gradient(180deg, #32383E 0%, #1E2226 100%);
    padding: 140px 0;
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
}

.vision-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.stat-item p {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Middle Section Global High-Contrast Text Overrides */
#about h2, #about h3, #about h4,
#services h2, #services h3, #services h4 {
    color: var(--white);
}

#about p, #services p {
    color: rgba(255, 255, 255, 0.75);
}

/* Contact Form Fix */
.contact-section {
    background-color: var(--bg);
}

.contact-card {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--silver);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--silver);
    border-radius: 12px;
    background: var(--bg);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(113, 113, 122, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #94A3B8 100%);
    color: #0A0B0D;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 50%, #CBD5E1 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(148, 163, 184, 0.3);
}

/* The 7 Sparrow Standard Redesign */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.standard-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.standard-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.standard-item i, .standard-item svg {
    font-size: 1.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.standard-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.standard-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 120px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.footer-socials a:hover {
    background: var(--silver);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--silver);
}

.footer-links ul li {
    margin-bottom: 18px;
}

.footer-links a {
    opacity: 0.6;
    font-size: 1rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--silver);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

@media (max-width: 991px) {
    .nav-links { gap: 30px; }
    .hero h1 { font-size: 3.5rem; }
    .safety-grid { grid-template-columns: 1fr; gap: 60px; }
    .section { padding: 100px 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}




/* Safety Card Stack */
.safety-card-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin: 0 auto;
}

.safety-back-card {
    position: absolute;
    width: 90%;
    height: 90%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    z-index: 1;
    transform: rotate(-5deg) translate(-20px, -20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.safety-front-card {
    position: relative;
    width: 85%;
    height: 85%;
    background: linear-gradient(rgba(10, 11, 13, 0.78), rgba(10, 11, 13, 0.85)), url('../assets/vancouver-crane-operators-labour.jpg') no-repeat center;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 
        inset 0 1px 2px rgba(255,255,255,0.2),
        0 25px 50px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.safety-front-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.4) 50%, transparent 55%);
    transform: rotate(30deg);
    transition: all 0.8s;
    pointer-events: none;
}

.safety-card-stack:hover .safety-front-card {
    transform: translateY(-15px) rotate(2deg);
}

.safety-card-stack:hover .safety-front-card::after {
    left: 100%;
}

.safety-card-stack:hover .safety-back-card {
    transform: rotate(8deg) scale(1.1) translate(25px, 25px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.safety-logo-icon {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}
