/*
 * Project Pioneer Construction - About Page
 *
 * Color Palette:
 * Primary - Pioneer Navy: #0d2443 (Growth, reliability, sustainability)
 * Secondary - Steel Blue: #1E3A5F (Stability, engineering, professionalism)
 * Neutral Dark - Charcoal Slate: #2B2F33 (Body text, contrast, outlines)
 * Neutral Light - Concrete White: #F4F6F5 (Backgrounds, cards, documents)
 */

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

:root {
    --primary-green: #0d2443;
    --primary-green-dark: #145838;
    --secondary-blue: #1E3A5F;
    --secondary-blue-dark: #152941;
    --charcoal: #2B2F33;
    --concrete: #F4F6F5;
    --white: #FFFFFF;
    --gray-light: #E9ECEF;
    --gray-medium: #6C757D;
    --success: #28A745;
    --error: #DC3545;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--charcoal);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(43, 47, 51, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    background: var(--primary-green);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin: 0;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--primary-green);
}

.desktop-nav a.active {
    color: var(--primary-green);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation when active */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--gray-light);
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: flex;
    max-height: 400px;
    padding: 1rem 0;
}

.mobile-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    background: var(--concrete);
    color: var(--primary-green);
}

.mobile-nav a.active {
    color: var(--primary-green);
    background: rgba(13, 36, 67, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 36, 67, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
}

.btn-white:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-submit {
    width: 100%;
}

/* About Hero Section */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-dark) 100%);
    color: var(--white);
    text-align: center !important;
}

.page-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    text-align: center;
}

/* Who We Are Section */
.who-we-are {
    padding: 5rem 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.text-content {
    order: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-blue);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.section-description strong {
    color: var(--primary-green);
    font-weight: 600;
}

.image-content {
    order: 2;
}

.image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(43, 47, 51, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Trust Signals Section */
.trust-signals {
    padding: 5rem 0;
    background: var(--concrete);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-top: 0.5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trust-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.trust-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(13, 36, 67, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-icon svg {
    color: var(--primary-green);
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-blue);
}

.trust-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Services Overview Section */
.services-overview {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-overview-card {
    background: var(--concrete);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-overview-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 12rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-overview-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-blue);
}

.service-content p {
    color: var(--gray-medium);
}

/* Leadership & Team Section */
.leadership {
    padding: 5rem 0;
    background: var(--concrete);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-member:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
}

.member-photo {
    width: 8rem;
    height: 8rem;
    background: rgba(13, 36, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-photo svg {
    color: var(--primary-green);
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-blue);
}

.role {
    font-size: 0.875rem;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--white);
}

.why-choose .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.reason-card {
    background: var(--concrete);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.reason-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--primary-green);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.reason-icon svg {
    color: var(--white);
}

.reason-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-blue);
}

.reason-card p {
    color: var(--gray-medium);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Form Section */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-wrapper .section-title {
    text-align: center;
}

.contact-wrapper .section-description {
    text-align: center;
    margin-bottom: 2rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.message svg {
    flex-shrink: 0;
}

.message-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.message-text {
    font-size: 0.875rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--charcoal);
    background: var(--white);
    transition: all 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.form-notice {
    background: var(--concrete);
    padding: 1rem;
    border-radius: 0.5rem;
}

.form-notice p {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--gray-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-note {
    font-size: 0.75rem;
    color: var(--gray-medium);
    font-style: italic;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-seo {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.footer-seo p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .text-content {
        order: 1;
    }

    .image-content {
        order: 2;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reasons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}