/* Constitution & Rules Page Specific Styles - Premium Redesign */

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

.section-padding {
    padding: 50px 0;
}

/* Inner Banner */
.inner-banner {
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center 12%;
    background-repeat: no-repeat;}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.7)), url('../images/hero_banner.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Document Container */
.doc-section {
    background: #fdfdfd;
}

.doc-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
}

.doc-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #eee;
}

.doc-header h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 10px;
}

.doc-header p {
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Accordion Styles */
.rules-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-item {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.rule-header {
    padding: 20px 30px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    transition: 0.3s;
}

.rule-header:hover {
    background: #f8f9fa;
    color: var(--orange);
}

.rule-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rule-item.active .rule-content {
    padding: 30px;
    max-height: 1000px;
    border-top: 1px solid #eee;
}

.rule-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Download Section */
.download-card {
    background: var(--primary);
    padding: 40px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--white);
    margin-top: 50px;
}

.d-icon {
    font-size: 50px;
    color: var(--orange);
}

.d-btn {
    padding: 15px 35px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
    margin-left: auto;
}

.d-btn:hover {
    background: var(--white);
    color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
    .doc-container { padding: 30px; }
    .download-card { flex-direction: column; text-align: center; gap: 20px; }
    .d-btn { margin-left: 0; width: 100%; }
    .banner-title { font-size: 38px; }
}
