/*
 * Project Pioneer Construction - Home 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: #071526;
    --secondary-blue: #1E3A5F;
    --secondary-blue-dark: #152941;
    --charcoal: #2B2F33;
    --concrete: #F4F6F5;
    --white: #FFFFFF;
    --gray-light: #E9ECEF;
    --gray-medium: #6C757D;
    --success: #28A745;
    --error: #DC3545;
    --gold: #FFC107;
}

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 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.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);
}

.desktop-nav a.btn.btn-primary {
    color: var(--white) !important;
}

.desktop-nav a.btn.btn-primary:hover {
    color: var(--white) !important;
}

.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 1.5rem;
    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-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

.btn-submit {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: 1400px;
}

.hero-content.text-start {
    text-align: left !important;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: inherit;
}

.hero-description {
    font-size: 1.125rem;
    margin: 0 0 2rem;
    opacity: 0.95;
    text-align: inherit;
    max-width: 100%;
}

.hero-cities {
    margin-bottom: 2rem;
}

.hero-cities p {
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: inherit;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: inherit;
}

/* Hero Form Card */
.hero-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 480px;
    width: 100%;
}

.hero-form-title {
    font-size: 1.75rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-form-subtitle {
    font-size: 0.95rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-quote-form .form-control,
.hero-quote-form .form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--white);
    transition: all 0.3s ease;
}

.hero-quote-form .form-control:focus,
.hero-quote-form .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(13, 36, 67, 0.15);
}

.hero-quote-form .form-control::placeholder {
    color: var(--gray-medium);
}

.hero-form-notice {
    font-size: 0.8rem;
    color: var(--gray-medium);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive Hero */
@media (max-width: 991.98px) {
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .hero-content.text-start {
        text-align: center !important;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-description,
    .hero-cities p {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-form-card {
        margin-top: 2rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--white);
}

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

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

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

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

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

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

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

.stats-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* Hero Video Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 36, 67, 0.4) 0%, rgba(30, 58, 95, 0.4) 100%);
}

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

/* Trusted Clients Marquee Section */
.clients-section {
    padding: 4rem 0;
    background: var(--concrete);
    overflow: hidden;
}

.clients-section .section-header {
    margin-bottom: 2rem;
}

.clients-section .section-header h2 {
    font-size: 1.75rem;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--concrete), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--concrete), transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* Service Card with Images */
.service-card {
    background: var(--white);
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.service-content>p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-details {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--concrete);
    border-radius: 0.5rem;
    flex-grow: 1;
}

.service-details p {
    font-size: 0.85rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.service-details p:last-child {
    margin-bottom: 0;
}

.service-details strong {
    color: var(--secondary-blue);
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* Why Section */
.why-section {
    padding: 5rem 0;
    background: var(--concrete);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.75rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-medium);
}

.certifications {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.certifications h3 {
    font-size: 1.75rem;
    color: var(--secondary-blue);
    margin-bottom: 0.75rem;
}

.cert-note {
    font-size: 0.875rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: var(--primary-green);
    transform: translateX(4px);
}

.cert-item svg {
    color: var(--primary-green);
    flex-shrink: 0;
}

.cert-item span {
    font-weight: 500;
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--white);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.quote-info h2 {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.quote-info h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.quote-info>p {
    font-size: 1.125rem;
    color: var(--gray-medium);
    margin-bottom: 2.5rem;
}

.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(13, 36, 67, 0.1);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

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

.trust-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-blue);
}

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

/* Quote Form Wrapper */
.quote-form-wrapper {
    background: var(--concrete);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gray-light);
}

.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;
}

.quote-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;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 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);
    box-shadow: 0 0 0 3px rgba(13, 36, 67, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-notice {
    background: rgba(30, 58, 95, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
}

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

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--concrete);
}

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

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

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

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

.service-card h4 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-green-dark);
    transform: translateX(4px);
    display: inline-block;
}

.service-areas {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid var(--gray-light);
}

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

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

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.process-column h3 {
    font-size: 1.75rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-blue);
}

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

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.trust-feature svg {
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.trust-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-blue);
}

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

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: var(--concrete);
}

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

.portfolio-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 47, 51, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

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

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

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

.stars {
    margin-bottom: 1.5rem;
}

.stars span {
    color: var(--gold);
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--gray-medium);
    font-weight: 600;
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: var(--secondary-blue);
    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.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* 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-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;
    }

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

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

    .quote-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

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

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

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

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

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

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

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

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

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

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* Loading state */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Focus visible for accessibility */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Testimonial Slider Styles */
.testimonials-slider-container {
    position: relative;
    max-width: 100%;
    /* Allow full width, restrained by container elsewhere or max-width below */
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1200px) {
    .testimonials-slider-container {
        max-width: 1300px;
    }
}

.testimonials-track-container {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 1rem;
    display: flex;
    /* Ensure the card inside can stretch */
    height: auto;
    /* Let flexbox handle height */
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--gray-light);
    height: 100%;
    /* Stretch to fill slide height */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .testimonial-slide {
        min-width: 50%;
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        min-width: 33.333%;
        flex: 0 0 33.333%;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-avatar-placeholder {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 8px;
    /* Square with rounded corners for logos */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary-blue);
    font-size: 1.2rem;
    overflow: hidden;
    /* Find logos */
}

.author-avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.author-details {
    text-align: left;
}

.testimonial-location {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonials-slider-container {
        padding: 0;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe or dots if needed, or just dots */
    }

    .testimonials-track-container {
        overflow-x: auto;
        /* Allow horizontal scroll on mobile if JS fails or for native feel */
        scroll-snap-type: x mandatory;
    }

    .testimonial-slide {
        scroll-snap-align: center;
    }
}

/* End-to-End Support Section */
.support-section {
    padding: 6rem 0;
    background: var(--concrete);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 36, 67, 0.2);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 36, 67, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.support-card h4 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.support-card p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}