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

:root {
    --primary-color: seagreen;
    --accent-color: magenta;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

/* Ensure all headers have proper size and boldness */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-top: 2rem !important;
}

h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-top: 1.5rem !important;
}

p {
    font-size: 16px;
    margin-bottom: 1rem;
}

/* Navigation Styles */
.navbar {
    background-color: var(--bg-white) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0 !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-item {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.navbar-menu ul,
.navbar-menu li {
    list-style: none !important;
}

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

.cta-button {
    background-color: var(--accent-color) !important;
    color: var(--text-light) !important;
    border-radius: 50px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    border: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap !important;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
    color: var(--text-light) !important;
}

/* Hero Section */
.hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.85) 0%, rgba(46, 139, 87, 0.7) 100%) !important;
}

.hero-body {
    position: relative !important;
    z-index: 1 !important;
}

.hero h1 {
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-subtitle {
    color: var(--text-light) !important;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.hero-cta {
    background-color: var(--accent-color) !important;
    color: var(--text-light) !important;
    border-radius: 50px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    border: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap !important;
    display: inline-block;
    text-align: center;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 255, 0.4);
    color: var(--text-light) !important;
}

/* Section Styles */
.section {
    padding: 3rem 1.5rem;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section:nth-child(odd) {
    background-color: var(--bg-white);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    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);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.card-content {
    padding: 1.5rem;
}

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

.content ul li,
.content ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 16px;
    line-height: 1.6;
}

.content ul li::before {
    content: '▸' !important;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.content ol {
    counter-reset: custom-counter;
}

.content ol li {
    counter-increment: custom-counter;
}

.content ol li::before {
    content: counter(custom-counter) '.' !important;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Remove list markers from navbar and footer */
.navbar ul,
.navbar ol,
.navbar li,
.footer ul,
.footer ol,
.footer li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

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

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

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

thead {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

tbody tr:hover {
    background-color: var(--bg-light);
}

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

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Material Icons */
.material-icons {
    color: var(--primary-color);
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Feature Icons */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 1rem;
}

.icon-wrapper .material-icons {
    color: var(--text-light);
    font-size: 24px;
    margin: 0;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: var(--text-light);
    padding: 3rem 1.5rem 1.5rem;
}

.footer h3 {
    color: var(--text-light) !important;
    margin-bottom: 1rem !important;
}

.footer a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

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

.footer li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Mobile Menu */
.navbar-burger {
    color: var(--primary-color);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--bg-white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-item {
        padding: 0.75rem 1rem;
    }

    .cta-button {
        margin: 0.5rem 1rem;
        display: block;
        text-align: center;
    }
}

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

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

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

    .hero {
        min-height: 400px !important;
    }

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

/* Ensure text readability */
strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Accessibility: Minimum contrast ratio */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container max width */
.container {
    max-width: 1200px;
}
