/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d3b66;
    --secondary-color: #e85d26;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --max-width: 1200px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.phone-number {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.phone-number:hover {
    background-color: #c74d1e;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c74d1e;
}

/* Stat Box */
.stat-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Content Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* Content Blocks */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-block ol {
    padding-left: 20px;
    margin: 15px 0 20px;
}

.content-block ol li {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Specs / Definition Lists */
.specs-list,
.project-specs,
.service-specs,
.cost-specs {
    margin: 20px 0;
}

.specs-list dt,
.project-specs dt,
.service-specs dt,
.cost-specs dt {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 18px;
    font-size: 1.05rem;
}

.specs-list dd,
.project-specs dd,
.service-specs dd,
.cost-specs dd {
    margin-left: 0;
    padding-left: 15px;
    border-left: 3px solid var(--secondary-color);
    margin-top: 5px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.service-card p {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Project Example */
.project-example {
    background-color: var(--light-gray);
}

.example-content {
    max-width: 900px;
    margin: 0 auto;
}

.example-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
}

.cta p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* FAQ Section */
.faq {
    background-color: var(--light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.4;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-contact h3 {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-disclaimer {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 400px;
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8rem;
    }

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

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .nav-links {
        gap: 10px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print */
@media print {
    header, .cta-button, .stat-box, .cta, footer {
        display: none;
    }

    body {
        color: black;
    }

    a {
        text-decoration: none;
        color: black;
    }
}