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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
    overflow-x: hidden;
}

/* Navigation Menu Styles */
.nav-menu {
    list-style: none !important;
}

.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;
}

/* Footer Navigation Styles */
.footer-nav {
    list-style: none !important;
}

.footer-nav li {
    margin-bottom: 0 !important;
    list-style: none !important;
}

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

/* Content Lists Styles */
.content-area ul,
.content-area ol {
    margin-left: 0;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.content-area ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.content-area ul li::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
    color: #c0c0c0;
    font-size: 1.2em;
    font-weight: bold;
}

.content-area ol {
    counter-reset: item;
    list-style: none;
}

.content-area ol li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    counter-increment: item;
}

.content-area ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: -1.5rem;
    color: #c0c0c0;
    font-weight: bold;
}

/* Typography */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: #001f3f !important;
}

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

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

p {
    font-size: 18px;
    margin-bottom: 1.25rem;
    color: #333;
}

strong {
    font-weight: 600;
    color: #001f3f;
}

/* Hero Section */
.hero-section {
    position: relative !important;
    overflow: hidden !important;
    padding: 6rem 1.5rem 6rem 1.5rem !important;
    background: linear-gradient(135deg, #001f3f 0%, #003d7a 100%) !important;
    min-height: 500px !important;
}

.hero-shapes {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.hero-shape {
    position: absolute !important;
    opacity: 0.1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.hero-section h1 {
    color: #ffffff !important;
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-section p {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #001f3f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #003d7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #001f3f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    border: 2px solid #001f3f;
    white-space: nowrap;
}

.btn-outline:hover {
    background: #001f3f;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-light {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #001f3f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-light:hover {
    background: #c0c0c0;
    transform: translateY(-2px);
}

/* Table of Contents */
.toc-container {
    margin: 3rem auto;
    max-width: 900px;
    padding: 0 1.5rem;
}

.toc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: #f8f9fa;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

picture img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    min-width: 600px;
}

thead {
    background: #001f3f;
    color: #ffffff;
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 17px;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f8f9fa;
}

tbody td {
    padding: 1rem;
    color: #333;
}

/* Footer */
footer {
    background: #001f3f;
    color: #ffffff;
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

footer p,
footer a {
    color: #ffffff !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c0c0c0 !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 192, 192, 0.3);
    color: #ffffff !important;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001f3f;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

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

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

    .hero-section {
        padding: 4rem 1.5rem !important;
        min-height: 400px !important;
    }

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

    .hero-section p {
        font-size: 1.1rem !important;
    }

    .section {
        padding: 3rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .toc-buttons {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

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

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

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

    .btn-primary,
    .btn-light,
    .btn-outline {
        padding: 0.875rem 1.75rem;
        font-size: 16px;
    }

    .hero-section {
        padding: 3rem 1rem !important;
    }

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

    .section {
        padding: 2rem 1rem;
    }
}
