﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    /*max-width: 1200px;*/
    /*background: linear-gradient(135deg, #FAF7F3 10%, #F0E4D3 40%, #DCC5B2 100%);*/
    background: linear-gradient(135deg, #DCC5B2 100%, #FAF7F3 10%, #F0E4D3 40% );
    /*background-color:burlywood;*/
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    /*background: white;*/
    /* padding: 50px 30px;*/
    background: #FAF7F3;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    /*box-shadow: 0 4px 6px rgba(0,0,0,0.2);*/
    margin-bottom: 10px;
    text-align: center;
}

.header-content h1 {
    font-size: 2.2em;
    color: #667eea;
   /* color: #FFB090;*/
    margin-bottom: 10px;
    font-weight: 700;
}

.header-content h2 {
    font-size: 1.8em;
    color: #764ba2;
    margin-bottom: 15px;
    font-weight: 500;
}

.tagline {
    font-size: 1.1em;
    /* color: #666;*/
    color: #5D1C6A;
    font-style: italic;
}

/* Content Box */
.content-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Introduction Section */
.intro-section {
    margin-bottom: 30px;
}

    .intro-section h3 {
        font-size: 2em;
        color: #667eea;
        margin-bottom: 20px;
        text-align: center;
    }

    .intro-section p {
        text-align: center;
        font-size: 1.1em;
        margin-bottom: 30px;
        color: #555;
    }

/* FTPL Grid */
.ftpl-grid {
    display: grid;
    /*background: linear-gradient(135deg, #BFC9D1 10%, #EAEFEF 100%);*/
    background-color: #DCF0C3;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    margin-top: 30px;
}

.ftpl-card {
    /*   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, #BFC9D1 10%, #EAEFEF 100%);
    /*color: white;*/
    color: #FF9B51;
    /*padding: 30px;*/
    padding: 10px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ftpl-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

.ftpl-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.ftpl-card h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.ftpl-card p {
    font-size: 1em;
    opacity: 0.95;
    color:darkgreen;
}

/* Module Sections */
.module-section {
    margin-bottom: 30px;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.module-icon {
    font-size: 2.5em;
}

.module-header h3 {
    font-size: 2em;
    color: #667eea;
    margin: 0;
}

.module-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

/* Monitoring Points */
.monitoring-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.point-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .point-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-left-color: #764ba2;
    }

    .point-card.highlight {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        border-left-color: #764ba2;
        border-left-width: 7px;
    }

.point-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.point-card h4 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 10px;
}

.point-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.point-card ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

    .point-card ul li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        color: #555;
    }

        .point-card ul li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: bold;
        }

/* Badges */
.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 15px;
}

.badge-container {
    margin: 10px 0;
}

.location-badge {
    display: inline-block;
    background: #764ba2;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

.data-tracked {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.data-item {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Lab Section */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.lab-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .lab-card:hover {
        transform: translateY(-8px);
    }

    .lab-card.raw-water {
        border-top: 5px solid #17a2b8;
    }

    .lab-card.treated-water {
        border-top: 5px solid #28a745;
    }

    .lab-card h4 {
        font-size: 1.5em;
        margin-bottom: 20px;
        color: #333;
        text-align: center;
    }

.parameter-list {
    margin: 20px 0;
}

.parameter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.param-name {
    font-weight: 600;
    color: #333;
}

.param-range {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.9em;
}

/* Integration Section */
.integration-section {
    margin-bottom: 30px;
}

    .integration-section h3 {
        font-size: 2em;
        color: #667eea;
        text-align: center;
        margin-bottom: 15px;
    }

    .integration-section p {
        text-align: center;
        font-size: 1.1em;
        color: #666;
        margin-bottom: 30px;
    }

.features-grid {
    display: grid;
    background-color: #F7DD7D;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: linear-gradient(135deg, #6D94C5 10%,#CBDCEB 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
    }

.feature-icon {
    font-size: 3em;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95em;
    color:brown;
    opacity: 0.9;
}

/* Summary Section */
.summary-section {
    margin-bottom: 10px;
}

    .summary-section h3 {
        font-size: 2em;
        color: #667eea;
        text-align: center;
        margin-bottom: 30px;
    }

.stats-container {
    display: grid;
    /*background: #EDE9E6;*/
    background-color: #EDE9E6;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 35px;
}

.stat-box {
    /*background: linear-gradient(135deg, #6D94C5 10%,#CBDCEB 100%);*/
    background: linear-gradient(135deg, #8D93AB 10%,#D6E0F0 100%);
    color: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

    .stat-box:hover {
        transform: scale(1.05);
    }

.stat-number {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    margin-top: 30px;
}

.footer-content h3 {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 10px;
}

.footer-content p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.footer .tagline {
    color: #999;
    font-style: italic;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content h2 {
        font-size: 1.3em;
    }

    .content-box {
        padding: 25px;
    }

    .ftpl-grid,
    .monitoring-points,
    .lab-grid,
    .features-grid,
    .stats-container {
        grid-template-columns: 1fr;
    }

    .module-header h3 {
        font-size: 1.5em;
    }

    .stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 20px;
    }

    .header-content h1 {
        font-size: 1.6em;
    }

    .content-box {
        padding: 20px;
    }

    .ftpl-icon {
        font-size: 2.5em;
    }

    .module-icon {
        font-size: 2em;
    }
}
