/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Import Material Icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Root variables */
:root {
    --primary-color: coral;
    --accent-color: red;
    --text-color: #333;
    --bg-light: #ffffff;
    --bg-section: #f8f9fa;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Reset list styles */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

/* Navigation - No markers or pseudo-elements */
.navbar ul,
.navbar ol,
.navbar li,
footer ul,
footer ol,
footer li {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.navbar ul::before,
.navbar ul::after,
.navbar li::before,
.navbar li::after,
footer ul::before,
footer ul::after,
footer li::before,
footer li::after {
    display: none !important;
    content: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
    color: var(--text-color) !important;
}

h1 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 2rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
}

h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

p {
    font-size: 16px;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

/* Navigation Bar */
.navbar {
    background-color: var(--bg-light) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-cta {
    background-color: var(--accent-color) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--transition);
    white-space: nowrap !important;
    border: none !important;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, coral 0%, #ff7f50 100%) !important;
    color: white !important;
    padding: 5rem 0 !important;
    text-align: center !important;
}

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

.hero-section p {
    font-size: 1.2rem !important;
    color: white !important;
    margin-bottom: 2rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1) !important;
}

.hero-cta {
    background-color: white !important;
    color: var(--accent-color) !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border: none !important;
    transition: var(--transition);
    display: inline-block !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.hero-cta:hover {
    background-color: var(--accent-color) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,127,80,0.3);
}

/* Table of Contents */
.toc-section {
    background-color: var(--bg-section);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.toc-section ul {
    list-style: none !important;
}

.toc-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.toc-section li:last-child {
    border-bottom: none;
}

.toc-section a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.toc-section a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Content Sections */
section {
    padding: 3rem 0;
}

.content-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

/* Cards */
.info-card {
    background-color: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* Content Lists with custom markers */
.content-list {
    margin: 1.5rem 0;
    padding-left: 0 !important;
}

.content-list li {
    position: relative;
    padding-left: 35px !important;
    margin-bottom: 1rem;
    line-height: 1.7;
    list-style: none !important;
}

.content-list li::before {
    content: 'check' !important;
    font-family: 'Material Icons' !important;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 400;
}

.content-list li::marker {
    display: none !important;
    content: none !important;
}

/* Ordered lists with numbers */
.numbered-list {
    counter-reset: item;
    margin: 1.5rem 0;
    padding-left: 0 !important;
}

.numbered-list li {
    position: relative;
    padding-left: 45px !important;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    list-style: none !important;
    counter-increment: item;
}

.numbered-list li::before {
    content: counter(item) !important;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.numbered-list li::marker {
    display: none !important;
    content: none !important;
}

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

picture {
    display: block;
    margin: 2rem 0;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-light);
}

table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

table tr:hover {
    background-color: var(--bg-section);
}

/* Conversion Buttons */
.cta-button {
    background-color: var(--accent-color) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: var(--transition);
    display: inline-block !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.cta-button:hover {
    background-color: #cc0000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.3);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

footer h5 {
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

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

footer li {
    margin-bottom: 0.5rem;
    list-style: none !important;
}

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

footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #95a5a6;
}

/* Material Icons styling */
.material-icons {
    color: var(--primary-color);
    vertical-align: middle;
    font-size: 24px;
}

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

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

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

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

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

    .navbar-brand {
        font-size: 1.2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .content-list li,
    .numbered-list li {
        padding-left: 35px !important;
    }
}

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

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

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

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

    .cta-button,
    .hero-cta {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
}
