/* =========================================
   GENERAL
   ========================================= */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}


/* =========================================
   HEADER
   ========================================= */

header {
    background: #c0392b;
    color: white;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section h1 {
    margin: 0;
    font-size: 32px;
}

.logo-section p {
    margin: 5px 0 0;
    font-size: 14px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}


/* =========================================
   HOME
   ========================================= */

.home-section {
    padding: 28px 6% 32px;
    background: #f8f9fa;
}


/* Registration card */

.info-card {
    background: white;
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    margin-bottom: 28px;
}

.info-card h3 {
    color: #c0392b;
    margin: 0 0 18px;
    font-size: 20px;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: start;
}

.registration-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.registration-item strong {
    color: #222;
    margin-bottom: 3px;
}

.registration-item span {
    color: #333;
}

.registration-item a {
    color: #333;
    text-decoration: none;
}

.registration-item a:hover {
    text-decoration: underline;
}

.registration-item.address span {
    line-height: 1.45;
}


/* Home description */

.home-content {
    max-width: 1050px;
}

.home-content h2 {
    color: #c0392b;
    margin: 0 0 10px;
    font-size: 26px;
}

.home-content p {
    margin: 0;
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

section {
    padding: 28px 6%;
    scroll-margin-top: 100px;
}

section h2 {
    color: #c0392b;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
}

section p {
    margin-top: 0;
}


/* =========================================
   GENERAL SUBHEADINGS
   ========================================= */

h3 {
    color: #c0392b;
    margin-top: 28px;
    margin-bottom: 10px;
}


/* =========================================
   GRIEVANCE REDRESSAL
   ========================================= */

.grievance-subheading {
    color: #333;
    font-size: 18px;
    margin-top: 26px;
    margin-bottom: 12px;
}


/* Main bullet list */

.grievance-list {
    margin: 0 0 20px 22px;
    padding-left: 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.55;
}


/* Space between the four main mechanisms */

.grievance-list > li {
    margin-bottom: 22px;
    padding-left: 5px;
}


/* Mechanism names */

.grievance-list > li > strong {
    color: #333;
    font-size: 16px;
}


/* Text inside each mechanism */

.grievance-list p {
    margin: 7px 0;
    font-size: 15px;
}


/* Nested review bullets */

.grievance-list ul {
    margin-top: 6px;
    padding-left: 22px;
}

.grievance-list ul li {
    margin-bottom: 4px;
}


/* Grievance links */

.grievance-list a {
    color: #333;
}

.grievance-list a:hover {
    text-decoration: underline;
}


/* =========================================
   DOWNLOADS
   ========================================= */

.download-list p {
    margin-bottom: 8px;
}

.download-list a {
    color: #c0392b;
    text-decoration: underline;
}

.download-list a:hover {
    text-decoration: none;
}


/* =========================================
   TABLES
   ========================================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th {
    background: #c0392b;
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    border: 1px solid #ddd;
    padding: 12px;
}

table tr:nth-child(even) {
    background: #f7f7f7;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 20px;
}

footer p {
    margin: 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 15px;
    }

    nav a {
        display: inline-block;
        margin: 8px 12px 8px 0;
    }

    .registration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

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

    .home-section,
    section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .logo-section h1 {
        font-size: 28px;
    }

    .grievance-list {
        margin-left: 10px;
        padding-left: 18px;
    }

}
