html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #fcfcfc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2d3748;
    font-size: 13px;
}

* {
    box-sizing: border-box;
}

a {
    color: #2d3748;
    text-decoration: none;
}

.societyheader {
    background: #e53e3e;
    border-bottom: 3px solid #9b2c2c;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.societyheaderinner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.societylogo img {
    max-height: 40px;
    vertical-align: middle;
}

.societynav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.societynav a {
    font-weight: bold;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.societynav a:hover, .societynav .active {
    background: #9b2c2c;
}

.societywrap {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 10px;
}

.societycard {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.societycardtitle {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e53e3e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9b2c2c;
}

.societyimg {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 4px;
}

.societygrid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.societygriditem {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.societygriditem:hover {
    transform: translateY(-2px);
    border-color: #e53e3e;
    box-shadow: 0 4px 12px rgba(229,62,62,0.1);
}

.societygriditemtitle {
    font-size: 12px;
    font-weight: bold;
    margin: 6px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.societyprice {
    color: #e53e3e;
    font-weight: bold;
}

.societybtn {
    display: inline-block;
    background: #e53e3e;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.societybtn:hover {
    background: #9b2c2c;
}

.societypill {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin: 2px;
}

.societycircleicon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff5f5;
    color: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
}

.societyfooter {
    background: #1a202c;
    color: #ffffff;
    padding: 25px 0;
    text-align: center;
    margin-top: 30px;
}

.societyfooternav a {
    margin: 0 10px;
    color: #cbd5e0;
    font-size: 12px;
}

.societycopyright {
    color: #cbd5e0;
    font-size: 12px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .societygrid4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .societygrid4 { grid-template-columns: repeat(1, 1fr); }
    .societyheaderinner { flex-direction: column; gap: 10px; }
}\n