* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f6;
    color: #222;
}

header {
    display: none;
}

.hero {
    background: linear-gradient(135deg, #4a399b, #2f1c72);
    color: #fff;
    padding: 18px 32px;
    border-bottom: 4px solid #ececf4;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-logo {
    height: 72px;
    width: auto;
    display: block;
}

.hero-text h1 {
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1.1;
    color: #fff;
}

.hero-text p {
    margin: 0;
    font-size: 15px;
    color: #e9e3ff;
    max-width: 900px;
}

.container {
    width: 96%;
    max-width: 1800px;
    margin: 20px auto 24px;
}

.section-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 24px;
}

.section-card.sticky-tenders {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.section-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
    color: #222;
}

.search-input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d2d2d8;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto auto;
    gap: 14px;
    margin-bottom: 16px;
}

.filter-select,
.filter-date {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d2d2d8;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
}

.summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 14px;
    color: #555;
}

.table-scroll {
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
}

table {
    width: 100%;
    min-width: 1500px;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f1f1f7;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

td {
    font-size: 14px;
    color: #333;
}

td a {
    color: inherit;
    text-decoration: none;
}

.tender-link {
    color: #222 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.tender-link:hover {
    color: #222 !important;
    text-decoration: none !important;
}

.btn {
    display: inline-block;
    background: #24105a;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.badge-addendum {
    background: #f2df9d;
    color: #7a5a00;
}

.badge-none {
    background: #ececf2;
    color: #666;
}

.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ddd;
    background: #fff;
    color: #24105a;
}

.pagination .active {
    background: #24105a;
    color: #fff;
    border-color: #24105a;
}

.footer-contact {
    margin-top: 30px;
    background: #24105a;
    color: #fff;
    padding: 28px 32px;
}

.footer-contact h2 {
    margin-top: 0;
    color: #fff;
}

.footer-contact p {
    margin: 8px 0;
    color: #e9e3ff;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

@media (max-width: 1200px) {
    .filters-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-logo {
        height: 58px;
    }
}

@media (max-width: 700px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .footer-contact {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-brand {
        align-items: flex-start;
    }
}