/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 18px;
}

/* Critical Nav Menu Fix */
.nav-menu li {
    margin-bottom: 0 !important;
    list-style: none !important;
}

.nav-menu li::before,
.nav-menu li::after {
    display: none !important;
    content: none !important;
}

/* Navigation */
header {
    background-color: #DC143C;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.brand img {
    background: white;
}
.logo-img {
    width: 45px;
    height: 45px;
    box-shadow: none !important;
}

.brand-name {
    color: #FFFFF0;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none !important;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    list-style: none !important;
}

.nav-menu li::before,
.nav-menu li::after {
    display: none !important;
    content: none !important;
}

.nav-menu a {
    color: #FFFFF0;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 1rem;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFF0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - with !important for all critical styles */
.hero {
    background-color: #DC143C !important;
    color: #FFFFF0 !important;
    padding: 5rem 2rem !important;
    text-align: center !important;
}

.hero-content {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.hero h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: #FFFFF0 !important;
}

.hero-text {
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
    color: #FFFFF0 !important;
}

.cta-button {
    display: inline-block;
    background-color: #FFFFF0;
    color: #DC143C;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 4rem;
}

h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    color: #DC143C !important;
    line-height: 1.2 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 3rem !important;
    color: #DC143C !important;
    line-height: 1.3 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    margin-top: 2rem !important;
    color: #333 !important;
    line-height: 1.4 !important;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Lists - Reset defaults and add custom styling */
ul, ol {
    list-style: none !important;
    margin: 1.5rem 0;
    padding: 0;
}

ul li, ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 10px;
    height: 10px;
    background-color: #FFFFF0;
    border: 2px solid #DC143C;
    border-radius: 50%;
}

ol {
    counter-reset: item;
}

ol li {
    counter-increment: item;
}

ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #DC143C;
    color: #FFFFF0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Footer - no markers */
footer ul,
footer ol,
.nav-menu {
    list-style: none !important;
}

footer ul li,
footer ol li,
.nav-menu li {
    list-style: none !important;
}

footer ul li::before,
footer ul li::after,
footer ol li::before,
footer ol li::after,
.nav-menu li::before,
.nav-menu li::after {
    display: none !important;
    content: none !important;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    min-width: 600px;
}

thead {
    background-color: #DC143C;
}

thead th {
    color: #FFFFF0;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

tbody td {
    padding: 1rem;
    font-size: 1rem;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #DC143C;
}

.card h3 {
    margin-top: 0 !important;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #FFFFF0;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

footer p {
    color: #FFFFF0 !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #FFFFF0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
}

.footer-links li {
    margin-bottom: 0.75rem;
    list-style: none !important;
    padding-left: 0 !important;
}

.footer-links li::before,
.footer-links li::after {
    display: none !important;
    content: none !important;
}

.footer-links a {
    color: #FFFFF0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #DC143C;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #FFFFF0;
}

.footer-bottom p {
    font-size: 0.95rem;
    color: #FFFFF0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #DC143C;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-text {
        font-size: 1.125rem !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    main {
        padding: 2rem 1rem;
    }

    .hero {
        padding: 3rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.125rem !important;
    }

    p, ul li, ol li {
        font-size: 1rem;
    }
}
