/* 
* Glonveria - Nutritiologie van de toekomst
* Custom CSS Styles
*/

/* ---------- Base Styles ---------- */
:root {
    /* Color Variables */
    --primary-color: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-light: #A5D6A7;
    --secondary-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F9F9F9;
    --gray: #EEEEEE;
    --gray-dark: #DDDDDD;
    --black: #000000;
    --accent: #FF5722;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ---------- Header Styles ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: var(--space-lg);
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-normal);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 50%;
    padding-right: var(--space-xl);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.hero-image {
    width: 50%;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- About Section ---------- */
.about-section {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.about-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-image {
    width: 45%;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content {
    width: 50%;
    padding-left: var(--space-xl);
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Benefits Section ---------- */
.benefits-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-card {
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---------- How it Works Section ---------- */
.how-it-works-section {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(20px + 2px);
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.timeline-item {
    display: flex;
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-right: var(--space-lg);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background-color: var(--gray-light);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--gray-light);
    transform: rotate(45deg);
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.timeline-content p {
    color: var(--text-light);
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: var(--space-xxl) 0;
    background-color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1.5" fill="%23FFFFFF" opacity="0.2"/></svg>');
    opacity: 0.2;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    max-width: 350px;
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-bottom: var(--space-md);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 5rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: var(--space-md);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--space-md);
    border: 2px solid var(--primary-light);
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---------- Packages Section ---------- */
.packages-section {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.packages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.package-card {
    background-color: var(--gray-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    width: 300px;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.package-card.featured {
    transform: scale(1.05);
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--space-lg);
    text-align: center;
}

.package-card.featured .package-header {
    background-color: var(--primary-dark);
}

.package-header h3 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.package-price {
    margin-bottom: var(--space-sm);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.package-features {
    padding: var(--space-lg);
    flex-grow: 1;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg);
}

.package-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-dark);
    color: var(--text-color);
    position: relative;
    padding-left: 30px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.package-features li.not-included {
    color: var(--text-light);
    text-decoration: line-through;
}

.package-features li.not-included::before {
    content: '✕';
    color: var(--text-light);
}

.package-card .btn {
    margin: 0 var(--space-lg) var(--space-lg);
    display: block;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-light);
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xl);
}

.contact-info {
    width: 45%;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

.contact-details {
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: var(--space-md);
    color: var(--primary-color);
}

.contact-text {
    color: var(--text-color);
}

.contact-form-container {
    width: 45%;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: var(--space-md);
}

label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-color);
}

input,
textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--gray-dark);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--space-md);
}

.form-error {
    background-color: var(--error);
    color: var(--white);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-md);
}

/* ---------- Map Section ---------- */
.map-section {
    height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding-top: var(--space-xl);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav,
.footer-legal,
.footer-newsletter {
    margin-bottom: var(--space-lg);
    min-width: 200px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: var(--space-sm);
}

.footer ul a {
    color: var(--gray);
    transition: color var(--transition-fast);
}

.footer ul a:hover,
.footer ul a.active {
    color: var(--primary-light);
}

.footer-newsletter p {
    color: var(--gray);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 0;
}

.newsletter-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
}

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ---------- Success Page ---------- */
.success-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 100px 0;
    background-color: var(--gray-light);
}

.success-content {
    text-align: center;
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    max-width: 600px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: var(--space-md);
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background-color: var(--gray-light);
}

.success-content h1 {
    margin-bottom: var(--space-md);
}

.success-content p {
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

/* ---------- Policy Pages ---------- */
.policy-section {
    padding: 140px 0 var(--space-xl);
    background-color: var(--gray-light);
}

.policy-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.policy-header h1 {
    margin-bottom: var(--space-sm);
}

.policy-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.policy-content {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.policy-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
    color: var(--text-color);
}

.policy-content p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.policy-list {
    list-style-type: disc;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.policy-list li {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

.policy-table {
    margin: var(--space-lg) 0;
    overflow-x: auto;
}

.policy-table table {
    width: 100%;
    border-collapse: collapse;
}

.policy-table th,
.policy-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-dark);
}

.policy-table th {
    background-color: var(--gray-light);
    font-weight: 600;
    color: var(--text-color);
}

.policy-table td {
    color: var(--text-light);
}

/* ---------- Responsive Styles ---------- */

/* Tablet (Portrait) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero-image {
        width: 40%;
    }
    
    .about-section .container,
    .contact-flex {
        flex-direction: column;
    }
    
    .about-image,
    .about-content,
    .contact-info,
    .contact-form-container {
        width: 100%;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: var(--space-lg);
    }
    
    .packages-grid {
        gap: var(--space-md);
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--space-md) 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: var(--space-md) var(--space-lg);
        border-bottom: 1px solid var(--gray);
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
        padding-right: 0;
    }
    
    .hero-image {
        margin-top: var(--space-xl);
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: var(--space-md);
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-nav,
    .footer-legal,
    .footer-newsletter {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 120px 0 40px;
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
    
    .benefit-card,
    .timeline-content,
    .contact-form-container,
    .policy-content {
        padding: var(--space-md);
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .btn,
    .footer-newsletter,
    .map-section {
        display: none;
    }
    
    body,
    .footer {
        background-color: #fff !important;
        color: #000 !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
        page-break-after: avoid;
    }
    
    p, ul, ol {
        orphans: 3;
        widows: 3;
    }
    
    img {
        max-width: 100% !important;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
}