:root {
    --primary-color: #003d7a;
    --secondary-color: #0056b3;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.text-balance {
    text-wrap: balance;
}

.hero-section {
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    padding: 150px 0;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 61, 122, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section-small {
    padding: 60px 0;
}

.hero-section-small h1 {
    color: white;
    font-size: 2.5rem;
}

.hero-section-small .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

section {
    scroll-margin-top: 70px;
}

.section-clarity,
.section-daily,
.section-habits,
.section-origin,
.section-reading,
.section-marketing,
.section-scenarios,
.section-guides,
.section-testimonials,
.section-faq,
.section-conclusion {
    scroll-margin-top: 70px;
}

.category-box {
    background-color: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.15);
    transform: translateY(-5px);
}

.category-box h3 {
    margin-bottom: 0.5rem;
}

.category-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.reading-card {
    background-color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s ease;
}

.reading-card:hover {
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
    transform: translateX(5px);
}

.reading-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.reading-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.principle-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.principle-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.15);
}

.principle-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.principle-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.philosophy-card {
    background-color: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
}

.philosophy-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.philosophy-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonial-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.1);
}

.testimonial-card p {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.testimonial-card small {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-item {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-info {
    background-color: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.thank-you-container {
    text-align: center;
    padding: 60px 20px;
}

.thank-you-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.thank-you-container .lead {
    color: var(--text-color);
    font-size: 1.25rem;
}

.legal-content {
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white !important;
}

footer {
    background-color: var(--primary-color) !important;
    color: white !important;
    margin-top: auto;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

footer h5 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 122, 0.25);
}

.custom-control-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-control-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    z-index: 999;
    display: none;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: white;
    text-decoration: underline;
}

.cookie-banner .btn {
    margin-left: 10px;
    white-space: nowrap;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.bg-light {
    background-color: var(--accent-color) !important;
}

.bg-dark {
    background-color: var(--primary-color) !important;
}

.text-white {
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-2 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-3 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-12 {
    flex: 0 0 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-2 {
    flex: 0 0 16.66%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-3 {
    flex: 0 0 25%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-4 {
    flex: 0 0 33.33%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-8 {
    flex: 0 0 66.66%;
    padding-left: 15px;
    padding-right: 15px;
}

.offset-md-2 {
    margin-left: 16.66%;
}

@media (max-width: 768px) {
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-8 {
        flex: 0 0 100%;
    }

    .offset-md-2 {
        margin-left: 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 80px 0;
        min-height: 300px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    .text-right {
        text-align: left;
    }

    .cookie-banner p {
        display: inline;
        margin-right: 10px;
    }

    .cookie-banner .btn {
        margin-left: 5px;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 50px 0;
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-section-small h1 {
        font-size: 1.5rem;
    }

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

    py-5 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
}
