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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333333;
    background-color: #f8f9fa;
}

/* Navigation Menu Styles - CRITICAL */
.nav-menu li {
    margin-bottom: 0 !important;
}

nav ul,
nav ol,
.nav-menu,
.nav-menu ul,
.nav-menu ol,
header nav ul,
header nav ol,
footer ul,
footer ol,
.footer-links ul,
.footer-links ol {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

nav li,
.nav-menu li,
header nav li,
footer li,
.footer-links li {
    list-style: none !important;
    list-style-type: none !important;
    margin-bottom: 0 !important;
}

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

nav li::marker,
.nav-menu li::marker,
header nav li::marker,
footer li::marker,
.footer-links li::marker {
    content: none !important;
    display: none !important;
    color: transparent !important;
}

/* Header Styles */
header {
    background-color: #2F4F4F;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.logo span {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff;
}

/* Desktop Navigation */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    list-style: none !important;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #FF0000;
}

.nav-cta {
    background-color: #FF0000 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
    background-color: #cc0000 !important;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2F4F4F;
        flex-direction: column !important;
        padding: 20px;
        gap: 15px !important;
    }

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

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2F4F4F 0%, #1a2f2f 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 50px !important;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 !important;
}

.hero h1 {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.hero p {
    font-size: 18px !important;
    color: #e0e0e0 !important;
    margin-bottom: 25px !important;
    line-height: 1.7 !important;
}

.hero-image {
    flex: 0 0 350px !important;
}

.hero-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block !important;
    background-color: #FF0000 !important;
    color: #ffffff !important;
    padding: 15px 35px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.hero-btn:hover {
    background-color: #cc0000 !important;
    transform: translateY(-3px) !important;
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0 !important;
    }

    .hero-container {
        flex-direction: column !important;
        text-align: center !important;
    }

    .hero h1 {
        font-size: 32px !important;
    }

    .hero-image {
        flex: none !important;
        width: 100% !important;
        max-width: 350px !important;
    }
}

/* Main Content Sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

section {
    margin-bottom: 60px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

section h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2F4F4F !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 3px solid #FF0000 !important;
}

section h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #2F4F4F !important;
    margin-bottom: 15px !important;
}

section p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #444444 !important;
    margin-bottom: 20px !important;
}

/* Content Lists with Arrow Markers */
article ol,
article ul,
main ol,
main ul,
section ol,
section ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
}

article ol li,
article ul li,
main ol li,
main ul li,
section ol li,
section ul li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 15px !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #444444 !important;
    list-style: none !important;
    list-style-type: none !important;
}

article ol li::marker,
article ul li::marker,
main ol li::marker,
main ul li::marker,
section ol li::marker,
section ul li::marker {
    content: none !important;
    display: none !important;
}

article ol li::before,
article ul li::before,
main ol li::before,
main ul li::before,
section ol li::before,
section ul li::before {
    content: '\f054' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    color: #FF0000 !important;
    font-size: 14px !important;
}

/* Images in Content */
section picture,
section img {
    display: block;
    margin: 25px auto;
}

section picture img,
article picture img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

section picture img[style*="float:left"],
article picture img[style*="float:left"] {
    float: left !important;
    margin: 0 25px 20px 0 !important;
    max-width: 280px !important;
    border-radius: 10px;
}

@media (max-width: 768px) {
    section picture img[style*="float:left"],
    article picture img[style*="float:left"] {
        float: none !important;
        margin: 20px auto !important;
        max-width: 100% !important;
    }
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin: 25px 0 !important;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 500px !important;
}

thead {
    background-color: #2F4F4F !important;
}

thead th {
    padding: 15px 20px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: left !important;
}

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

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

tbody tr:nth-child(even) {
    background-color: #fafafa;
}

tbody td {
    padding: 15px 20px !important;
    font-size: 16px !important;
    color: #444444 !important;
}

/* Cards */
.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Conversion Buttons */
.cta-btn {
    display: inline-block !important;
    background-color: #FF0000 !important;
    color: #ffffff !important;
    padding: 15px 35px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
    text-align: center !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.cta-btn:hover {
    background-color: #cc0000 !important;
    transform: translateY(-3px) !important;
}

/* Footer */
footer {
    background-color: #2F4F4F;
    padding: 50px 0 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h4 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

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

.footer-links li {
    margin-bottom: 10px !important;
    list-style: none !important;
}

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

.footer-links a {
    color: #cccccc !important;
    text-decoration: none;
    font-size: 16px !important;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF0000 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: #cccccc !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Icons */
.fa, .fas, .far, .fab {
    color: #FF0000;
}

section .fa,
section .fas,
section .far,
section .fab {
    color: #FF0000;
    margin-right: 8px;
}

/* Animations */
@keyframes floatSquare {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(45deg);
        opacity: 0.8;
    }
}

@keyframes floatRound {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-square {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255,0,0,0.1);
    animation: floatSquare 4s ease-in-out infinite;
}

.animate-round {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,0,0,0.1);
    animation: floatRound 3s ease-in-out infinite;
}

.animate-wave {
    animation: wave 2s ease-in-out infinite;
}

/* Decorative Elements */
.decoration-square {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255,0,0,0.2);
    animation: floatSquare 6s ease-in-out infinite;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,0,0,0.2);
    animation: floatRound 5s ease-in-out infinite;
    pointer-events: none;
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    body {
        font-size: 16px !important;
    }

    section {
        padding: 25px;
        margin-bottom: 30px;
    }

    section h2 {
        font-size: 26px !important;
    }

    section p,
    section li {
        font-size: 16px !important;
    }
}
