

/* Remove this global rule */
/* .container-md.container-fluid {
    padding-top: 200px !important;
} */

/* Add specific padding only where needed */
.container-md.container-fluid {
      /* Reduced base padding */
    padding-bottom: 50px;
}

/* Adjust spacing for the title */
.display-3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Add space between navigation and content */
.w-100.overflow-auto {
    margin-bottom: 30px;
}

/* Main Container Styling */
.container-md {
    max-width: 1140px;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Navigation Links at Top */
.footerLinks {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footerLinks:hover {
    color: #495057;
    text-decoration: underline;
}

.footerLinks.text-secondary {
    color: #6c757d !important;
}

.footerLinks.font-weight-600 {
    font-weight: 600;
}

/* Main Title */
.display-3 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-top: 0;
    color: #2c3e50;
}

/* Effective Date */
.text-muted {
    color: #6c757d !important;
}

.font-weight-500 {
    font-weight: 500;
}

/* Section Headings */
.h6 {
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.font-weight-600 {
    font-weight: 600;
}

/* Paragraph Styling */
p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #495057;
    font-size: 1rem;
}

p.text-muted.font-weight-500 {
    line-height: 2;
}

/* List Items (Bullet Points) */
p.text-muted.font-weight-500 br {
    content: "";
    display: block;
    margin-bottom: 0.5rem;
}

/* Improve readability */
.main-content p,
.container-md p,
.container-fluid p {
    text-align: justify;
}

/* Float Utilities */
.float-sm-right {
    float: right;
}

.float-none {
    float: none;
}

.d-block {
    display: block;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Width Utilities */
.w-100 {
    width: 100%;
}

.overflow-auto {
    overflow: auto;
}

/* Text Colors */
.text-dark {
    color: #2c3e50 !important;
}

.text-secondary {
    color: #6c757d !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .float-sm-right {
        float: none;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footerLinks {
        display: inline-block;
        margin: 0.25rem 0;
    }
    
    p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .container-md.container-fluid {
        padding: 4rem 1rem 2rem 1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 1.75rem;
    }
    
    .h6 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .container-md.container-fluid {
        padding: 3.5rem 0.75rem 1.5rem 0.75rem;
        margin-top: 1rem;
    }
}

/* Link Styling */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Cursor Pointer */
[style*="cursor:pointer"] {
    cursor: pointer;
}

/* Spacing Improvements */
.container-md.container-fluid[style*="padding: 3rem 1rem"] {
    padding: 5rem 1.5rem 3rem 1.5rem;
    background-color: #ffffff;
    margin-top: 2rem;
}

/* Section Spacing */
p.h6.text-dark.font-weight-600.text-uppercase {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

p.h6.text-dark.font-weight-600.text-uppercase:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Font Style for Italic Date */
p[style*="font-style: italic"] {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Better Bullet Point Spacing */
p.text-muted.font-weight-500 {
    padding-left: 1rem;
}

/* Improve Line Height for Lists */
p.text-muted.font-weight-500:has(br) {
    line-height: 2.2;
}

/* Print Styles */
@media print {
    .footerLinks,
    .scroll-to-top,
    .navbar,
    .footer-section,
    .notification-banner {
        display: none !important;
    }
    
    p {
        page-break-inside: avoid;
    }
    
    .display-3 {
        page-break-after: avoid;
    }
}