/* urban_housing.css - Updated with Subtitle Motto */

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #e8f5e9);
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* Page Title */
.title {
    text-align: center;
    color: #00796b;
    font-size: 20px;
    margin-bottom: 5px; /* reduced */
    font-weight: 600;
    line-height: 1.2;
}

/* Subtitle (Motto) */
.subtitle {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    color: #bf360c;
    margin-bottom: 30px;
}

/* Cards / Sections */
.intro, .card {
    background: rgba(255, 255, 255, 0.85);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro:hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Card Headings */
.card h5 {
    color: #00796b;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Paragraphs */
.card p, .intro p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-word;
}
.history-list {
    margin-top: 15px;
    padding-left: 20px;
}

.history-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 13px;
}


/* Responsive tweaks */
@media screen and (max-width: 768px) {
    .container{
        padding-top:295px;
        margin-top:-5px;
        
    }
    
    .title {
        font-size: 19px;
    }
    .subtitle {
        font-size: 15px;
    }
    .intro, .card {
        padding: 20px;
    }
    .history-list {
        padding-left: 16px;
    }

    .history-list li {
        font-size: 14px;
        line-height: 1.7;
}
}
