/* ===============================
   Global Reset & Body
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif Tamil', serif;
    background: #f5f6fa; /* clean, soft background */
    color: #333;
    line-height: 1.8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* ===============================
   Housing Card
================================ */
.housing-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px 35px;
    margin-bottom: 35px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    overflow: hidden;
}

/* Subtle diagonal accent for premium look */
.housing-card::after {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200%;
    background: rgba(0,172,193,0.05);
    transform: rotate(-25deg);
    pointer-events: none;
}

/* Hover effect: lift + subtle shadow + accent border */
.housing-card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-left: 5px solid #00acc1;
}

/* ===============================
   Headings
================================ */
.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #007c91, #00acc1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 12px 0;
    color: #0b3c5d;
    border-bottom: 2px solid #0b3c5d;
    padding-bottom: 6px;
}

.works-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===============================
   Paragraphs
================================ */
.card-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #444;
}

.card-text {
    font-size: 15px;
    margin-bottom: 15px;
    color: #555;
}

/* ===============================
   Highlight Box
================================ */
.highlight-box {
    position: relative;
    background: #e0f7fa;
    border-left: 6px solid #00acc1;
    padding: 18px 22px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}

/* ===============================
   Apply Box
================================ */
.apply-box {
    position: relative;
    background: #fff3e0;
    border-left: 6px solid #fb8c00;
    padding: 18px 22px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}

.apply-box a {
    display: inline-block;
    color: #e65100;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 15px;
}

.apply-box a:hover {
    text-decoration: underline;
}

.apply-box .note {
    font-size: 13px;
    color: #666;
}

/* ===============================
   Lists (clean, no ticks)
================================ */
.criteria-list {
    margin-left: 25px;
    margin-bottom: 15px;
}

.criteria-list li {
    margin-bottom: 10px;
    padding-left: 0; /* no bullet or tick */
    font-size: 15px;
    color: #333;
}

/* ===============================
   Spacing between elements
================================ */
.housing-card > * + * {
    margin-top: 20px;
}

/* ===============================
   Responsive Design
================================ */
@media (max-width: 1024px) {
    .housing-card {
        padding: 25px 25px;
    }
    .card-title {
        font-size: 22px;
    }
    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .card-title {
        font-size: 20px;
    }
    .section-title {
        font-size: 17px;
    }
    .card-subtitle, .card-text {
        font-size: 14px;
    }
    .criteria-list li {
        font-size: 14px;
    }
    .apply-box a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .housing-card {
        padding: 15px 15px;
    }
    .card-title {
        font-size: 18px;
    }
    .section-title {
        font-size: 16px;
    }
    .card-subtitle, .card-text {
        font-size: 13px;
    }
    .criteria-list li {
        font-size: 13px;
    }
    .apply-box a {
        font-size: 13px;
    }
}
