/* =========================
   VISION TECH BRAND COLORS
   Primary Blue : #003366
   Accent Red   : #CC0000
========================= */

/* =========================
   HERO SECTION
========================= */

.construction_module-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image:
        linear-gradient(rgba(171, 206, 241, 0.85), rgba(107, 129, 153, 0.9)),
        url("./image/construction_module.gif");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

/* Hero Content */
.hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    animation: fadeSlide 1.2s ease forwards;
}

/* Animation */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.construction_module-hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-weight: 700;
}

.construction_module-hero p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 32px auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 0.95;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    padding: 13px 34px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background: #CC0000;
    color: #fff;
    border: 2px solid #CC0000;
}

.hero-btn.primary:hover {
    background: #a80000;
    border-color: #a80000;
}

.hero-btn.secondary {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.hero-btn.secondary:hover {
    background: #fff;
    color: #003366;
}

/* =========================
   SHARED SECTION LAYOUT
========================= */

.construction_module-overview,
.construction_module-benefits,
.construction_module-customization {
    padding: 70px 20px;
}

.construction_module-overview .container,
.construction_module-benefits .container,
.construction_module-customization .container,
.construction_module-features .container,
.construction_module-reports .container,
.construction_module-cta .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section headings */
.construction_module-overview h2,
.construction_module-benefits h2,
.construction_module-customization h2,
.construction_module-features h2,
.construction_module-reports h2 {
    font-size: 30px;
    color: #003366;
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
}

.construction_module-overview h2::after,
.construction_module-benefits h2::after,
.construction_module-customization h2::after,
.construction_module-features h2::after,
.construction_module-reports h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    background: #CC0000;
    border-radius: 2px;
}

/* =========================
   OVERVIEW GRID
========================= */

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.module-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,51,102,0.12);
}

.module-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
}

/* =========================
   REPORTS SECTION
========================= */

.construction_module-reports {
    background: #f0f4fa;
    padding: 70px 20px;
}

.reports-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.reports-header h2 {
    font-size: 32px;
    color: #003366;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 14px;
    position: relative;
}

.reports-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #CC0000;
    border-radius: 2px;
}

.reports-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Reports Grid — 3 columns, last card centred */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Make the 7th card span full width so it centres itself */
.reports-grid .report-card:last-child {
    grid-column: 2 / 3;
}

/* Report Card */
.report-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 26px;
    box-shadow: 0 4px 18px rgba(0, 51, 102, 0.09);
    border-top: 4px solid #003366;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 51, 102, 0.15);
}

/* Accent variant for Sales Invoice */
.report-card--accent {
    border-top-color: #CC0000;
    background: #fff8f8;
}

.report-number {
    font-size: 12px;
    font-weight: 700;
    color: #CC0000;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.report-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}

.report-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.report-card p {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 16px;
}

.report-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-points li {
    font-size: 13px;
    color: #444;
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid #f0f4fa;
}

.report-points li:last-child {
    border-bottom: none;
}

.report-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #CC0000;
    font-size: 13px;
}

/* =========================
   FEATURES SECTION
========================= */

.construction_module-features {
    background: #f5f7fa;
    padding: 70px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 10px;
}

.feature-card {
    background: #fff;
    padding: 22px 24px;
    border-left: 4px solid #003366;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    border-left-color: #CC0000;
    box-shadow: 0 6px 18px rgba(204, 0, 0, 0.1);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* =========================
   BENEFITS SECTION
========================= */

.construction_module-benefits {
    background: #fff;
    padding: 70px 20px;
}

.construction_module-benefits ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.construction_module-benefits li {
    font-size: 15px;
    color: #333;
    padding: 14px 18px;
    background: #f0f4fa;
    border-radius: 8px;
    border-left: 3px solid #003366;
    line-height: 1.5;
}

/* =========================
   CUSTOMIZATION SECTION
========================= */

.construction_module-customization {
    background: #f9f9f9;
    padding: 70px 20px;
}

.construction_module-customization p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 14px;
    max-width: 800px;
}

.construction_module-customization ul {
    list-style: none;
    padding-left: 0;
}

.construction_module-customization li {
    font-size: 15px;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #e8edf5;
    font-weight: 500;
}

.construction_module-customization li:last-child {
    border-bottom: none;
}

/* =========================
   CTA SECTION
========================= */

.construction_module-cta {
    background: linear-gradient(135deg, #b6cbe0a8 0%, #e4effa 100%);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.construction_module-cta h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #003366;
}

.construction_module-cta p {
    font-size: 16px;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 28px auto;
    opacity: 0.92;
}

.construction_module-cta .cta-btn {
    display: inline-block;
    padding: 14px 38px;
    background: #CC0000;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.construction_module-cta .cta-btn:hover {
    background: #a80000;
    transform: translateY(-2px);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 1024px) {
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reports-grid .report-card:last-child {
        grid-column: 1 / 3;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {

    .construction_module-hero {
        background-attachment: scroll;
        background-image:
            linear-gradient(rgba(171, 206, 241, 0.85), rgba(235, 242, 250, 0.9)),
            url("./image/compacting-hero-mobile.jpg");
        text-align: center;
    }

    .construction_module-hero h1 {
        font-size: 28px;
    }

    .construction_module-hero p {
        font-size: 16px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid .report-card:last-child {
        grid-column: 1 / 2;
        max-width: 100%;
    }

    .construction_module-overview h2::after,
    .construction_module-benefits h2::after,
    .construction_module-customization h2::after,
    .construction_module-features h2::after {
        left: 0;
        transform: none;
    }

    .construction_module-benefits ul {
        grid-template-columns: 1fr;
    }

    .construction_module-cta h2 {
        font-size: 24px;
    }
}