/*
Theme Name: Weronika ACT Therapy
Description: Profesjonalny motyw dla terapeutki ACT z pełną funkcjonalnością bloga
Version: 1.0
Author: Weronika Babiec
*/

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-cream: #f8f5f1;
    --white: #ffffff;
    --accent: #e8e2db;
    --primary-green: #7fb069;
    --primary-green-dark: #6a9c56;
    --primary-green-darker: #5a8a46;
    
    /* Typography */
    --primary-font: 'Cormorant Garamond', serif;
    --body-font: 'Inter', -apple-system, sans-serif;
    --logo-font: 'Dancing Script', cursive;
    --secondary-font: 'Raleway', sans-serif;
    
    /* Spacing */
    --nav-height: 80px;
    --container-max-width: 1200px;
    --container-wide-max-width: 1400px;
    --section-padding: 3rem;
    --section-padding-mobile: 1.5rem;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-green: 0 4px 20px rgba(127, 176, 105, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
}

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a:hover {
    opacity: 0.7;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    color: var(--text-dark);
    line-height: 1.3;
}

/* Main section headings */
.info-section h2,
.benefits-section h2,
.about-section h2,
.testimonials-section h2,
.areas-section h2,
.contact-section h2,
.faq-section h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Smaller section headings */
.about-act-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
    text-align: left;
    font-style: normal;
}

.about-act-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
}

/* ===================================
   LAYOUT & CONTAINERS
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

.container-wide {
    max-width: var(--container-wide-max-width);
    margin: 0 auto;
    padding: 0 3rem;
    overflow: visible;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ===================================
   NAVIGATION
   =================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: var(--container-wide-max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--logo-font);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1001;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
}

/* ===================================
   BUTTONS
   =================================== */
.cta-button {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-green);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green-darker) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(127, 176, 105, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

/* Secondary CTA button style for navigation */
.nav-links .cta-button,
.mobile-nav-links .cta-button {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-green);
    box-shadow: none;
    font-size: 0.9rem;
    padding: 0.7rem 1.8rem;
}

.nav-links .cta-button:hover,
.mobile-nav-links .cta-button:hover {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* gap: 2rem; */
    position: relative;
    z-index: 1;
    min-height: 70vh;
    width: 100%;
    max-width: var(--container-max-width);
	gap: unset;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    width: auto;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 1;
    order: 2;
}

.hero-content a.cta-button {
    display: inline-block;
    margin-top: 1rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
}

.hero-headline {
    font-family: var(--primary-font);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    position: relative;
    white-space: nowrap;
    overflow: visible;
    z-index: 10;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    width: 100%;
}

.hero-headline .static-text {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}

.hero-headline .txt-wrapper {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    width: 320px;
    text-align: left;
    flex-shrink: 0;
    margin-left: 0.5rem;
    overflow: visible;
}

.hero-headline .txt-type {
    font-style: italic;
    display: inline-block;
    white-space: nowrap;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    overflow: visible;
	padding-left: 8px;
}

/* Typing cursor animation */
.txt-type::after {
    content: '|';
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--text-dark);
    font-weight: 200;
    opacity: 0.8;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-bg {
    position: relative;
    /* width: 200px; */
	width: 300px;
    height: auto;
    z-index: 1;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    order: 1;
}

.hero-bg img {
    /* width: 100%; */
    height: auto;
    object-fit: contain;
    /* max-width: 200px; */
	max-width: 300px;
}

/* ===================================
   MAIN SECTIONS
   =================================== */

/* Info Section */
.info-section {
    background: var(--bg-cream);
    padding: var(--section-padding);
}

.intro-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--secondary-font);
    font-weight: 400;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.questions-list {
    list-style: none;
    padding-left: 0;
}

.questions-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 400;
}

.questions-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-dark);
}

.act-description {
    text-align: center;
    margin: 1rem auto 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--secondary-font);
    font-weight: 400;
    font-style: italic;
    max-width: 100%;
    display: block;
    line-height: 1.5;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    border: 1px solid rgba(127, 176, 105, 0.2);
    position: relative;
}

.highlight-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.highlight-icon svg,
.highlight-icon img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(127, 176, 105, 0.2));
}

.highlight-box p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 500;
    font-family: var(--primary-font);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.highlight-box .cta-button {
    position: relative;
    z-index: 2;
}

/* Benefits Section */
.benefits-section {
    padding: var(--section-padding);
    background: var(--bg-cream);
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefit-text {
    color: var(--text-light);
    line-height: 1.8;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 400;
}

.benefit-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 4rem var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(127, 176, 105, 0.3);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition-fast);
}

.about-image:hover img {
    transform: translateY(-5px);
}

.about-image:hover::before {
    top: 25px;
    left: 25px;
    border-color: rgba(127, 176, 105, 0.5);
}

.about-content {
    max-width: none;
    text-align: left;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem var(--section-padding);
    background: var(--bg-cream);
    position: relative;
}

.testimonials-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-nav {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
    font-size: 1.2rem;
    z-index: 10;
}

.testimonials-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 176, 105, 0.4);
}

.testimonials-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(127, 176, 105, 0.2);
}

.testimonials-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
    touch-action: pan-x;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(127, 176, 105, 0.1);
    position: relative;
    transition: var(--transition-smooth);
    flex: 0 0 350px;
    min-height: 280px;
    min-width: 300px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(127, 176, 105, 0.2);
    font-family: var(--primary-font);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(127, 176, 105, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    font-family: var(--secondary-font);
    font-style: italic;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.star {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Areas Section */
.areas-section {
    padding: 6rem var(--section-padding);
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    align-items: stretch;
}

.area-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid rgba(127, 176, 105, 0.1);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100px;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.05) 0%, rgba(127, 176, 105, 0.02) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.area-card:hover:not(.expanded) {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(127, 176, 105, 0.3);
}

.area-card:hover::before {
    opacity: 1;
}

.area-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.2rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
    gap: 0.5rem;
}

.area-card h3 .arrow {
    flex-shrink: 0;
    font-size: 0.9rem;
}

.area-card .arrow {
    transition: transform 0.3s ease;
    transform-origin: center;
    display: inline-block;
}

.area-card.expanded {
    z-index: 10;
}

.area-card.expanded .arrow {
    transform: rotate(180deg);
}

.area-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    font-family: var(--secondary-font);
    font-size: 1.05rem;
    font-weight: 400;
}

.area-card.expanded .area-description {
    max-height: 1000px;
    opacity: 1;
}

/* About ACT Section */
.about-act-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-act-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-act-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    font-weight: 400;
}

.about-act-content h2:first-of-type,
.about-act-content h3:first-of-type {
    margin-top: 0;
}

/* FAQ Section */
.faq-section {
    padding: 2rem var(--section-padding);
    background: var(--bg-cream);
}

.faq-section h2 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 1rem;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(127, 176, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-item:first-of-type {
    margin-top: 0;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(127, 176, 105, 0.1), transparent);
    transition: left 0.5s;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(127, 176, 105, 0.3);
}

.faq-question {
    font-family: var(--primary-font);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-arrow {
    transition: transform 0.3s ease;
    transform-origin: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-left: 0.8rem;
}

.faq-item.expanded .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.faq-item.expanded .faq-answer {
    max-height: 400px;
    opacity: 1;
    margin-top: 0.8rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
}

.faq-item h3 {
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(127, 176, 105, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(127, 176, 105, 0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: var(--secondary-font);
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.contact-button:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 176, 105, 0.4);
}

.contact-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20b856 100%);
}

.contact-button.whatsapp:hover {
    background: linear-gradient(135deg, #20b856 0%, #1a9e4a 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact-button.profile {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.contact-button.profile:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* CTA Sections */
.cta-section {
    padding: 4rem var(--section-padding);
    background: linear-gradient(135deg, var(--bg-cream) 0%, #ede8e0 100%);
    text-align: center;
    position: relative;
}

.cta-section .cta-button {
    font-size: 1.2rem;
    padding: 1.3rem 3rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.cta-section h3 {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===================================
   BLOG STYLES
   =================================== */
.blog-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem;
    padding-top: calc(var(--nav-height) + 2rem);
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.page-title {
    font-family: var(--primary-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.posts-grid {
    display: grid;
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Blog Post thumbnail START */


.post-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
}

.post-thumbnail.placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
	position: relative;
}

.post-thumbnail.placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.post-thumbnail.placeholder::before {
    content: '📝';
    font-size: 3rem;
    color: #a0aec0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through to the link */
}

.post-thumbnail.placeholder img {
    display: none;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail a:hover {
    opacity: 1 !important;
}



.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Blog Post thumbnail END */

.post-content {
    padding: 1.5rem;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.7rem;
    margin: 0.5rem 0;
	margin-bottom: 16px;
}

.post-excerpt {
	margin-bottom: 16px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
	font-size: 1rem;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(4px);
}

.single-post {
    /* max-width: var(--container-max-width); /* 1200px zamiast 100% */ */
    margin: 0 auto;
    /* padding: 2rem; /* Przywróć padding */
    padding-top: calc(var(--nav-height) + 2rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* ZMIEŃ z center na stretch */
}

.post-single {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    overflow: visible;
    border: 1px solid #f0f0f0;
    position: relative;
    margin-bottom: 2rem;
    width: 100%; /* ZMAŃ z 700px na 100% */
    max-width: none; /* USUŃ max-width */
}

/* Featured image placeholder for single post */
.post-header {
    position: relative;
}

.post-header::before {
    content: '';
    display: block;
    height: 250px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-header::after {
    content: '📝';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #a0aec0;
    z-index: 1;
    top: 125px; /* Half of the 250px height */
}

/* Post header content */
.post-header {
    padding: 2rem 3rem 1rem; /* Zwiększ padding po bokach */
    max-width: 900px; /* Dodaj max-width */
    margin: 0 auto; /* Wyśrodkuj */
}

.post-single .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
	margin-top: 2rem; /* Space below the placeholder image */
    color: var(--text-dark);
    font-family: var(--primary-font);
}

/* Post meta styling to match blog cards */
.post-single .post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.post-single .post-date {
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-single .post-date::before {
    content: '📅';
    font-size: 0.9rem;
}

.post-single .post-author {
    color: #718096;
    font-size: 0.85rem;
}

.post-single .post-category {
    margin-left: 0; /* Override the existing margin-left: 5px */
}

.post-single .post-category a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
	background-color: #deebff; /* Light blue background */
	border: 1px solid #004bc4; /* Dark blue border */
	border-radius: 12px; /* Rounded corners */
	padding: 2px 6px; /* Small padding: 2px top/bottom, 6px left/right */
}

/* Post content styling */
.post-single .post-content {
    padding: 0 3rem 2rem; /* Zwiększ padding z 2rem na 3rem */
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px; /* Dodaj max-width dla czytelności */
    margin: 0 auto; /* Wyśrodkuj treść */
}

.post-single .post-content h2,
.post-single .post-content h3 {
    margin: 0 0 1rem;
    color: var(--text-dark);
    font-family: var(--primary-font);
}

.post-single .post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.post-single .post-content p {
    margin-bottom: 1.5rem;
    font-family: var(--secondary-font);
}

.single-post-header .post-title {
	font-size: 38px;
	margin: 1rem 0;
}

/* Post footer */
.post-footer {
    padding: 2rem 3rem 3rem; /* Zwiększ padding po bokach */
    border-top: 1px solid #f0f0f0;
    margin-top: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    box-sizing: border-box;
    width: 100%;
    margin-left: unset;
    margin-right: unset;
    left: unset;
    right: unset;
    max-width: 900px; /* Dodaj max-width */
    margin-left: auto; /* Wyśrodkuj */
    margin-right: auto; /* Wyśrodkuj */
}


.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h2,
.post-content h3 {
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.post-category {
	margin-left: 5px;
}

.post-category a {
	background-color: #deebff; /* Light blue background */
	border: 1px solid #004bc4; /* Dark blue border */
	border-radius: 12px; /* Rounded corners */
	padding: 2px 6px; /* Small padding: 2px top/bottom, 6px left/right */
}

/* Featured Image Styles */
.post-featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0; /* No border radius since it's inside the card */
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-featured-image.placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: #a0aec0;
}

/* Post Navigation */
/*
.post-navigation {
    margin-top: 1rem;
    position: relative;
    width: 100%;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block !important;
    position: relative !important;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-fast);
    border: 1px solid rgba(127, 176, 105, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.post-navigation a:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation a:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.8);
}
*/



/* Ensure navigation stays in post footer */
/*
.single-post .post-navigation {
    position: relative !important;
    float: none !important;
    clear: both !important;
}

.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--primary-font);
}
*/

/* NEW POST NAVIGATION START */
/* Post Navigation */

.post-navigation {
    position: relative;
    width: 100%;
    overflow: hidden;  /* ← ADD THIS LINE */
    z-index: 1;  /* ← ADD THIS LINE */
	background: none;
}

/* Hide the screen reader text */
.post-navigation .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

/* Style the nav-links container */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
	max-width: 100%; /* ← ENSURE container doesn't exceed width */
    box-sizing: border-box; /* ← INCLUDE padding in width calculation */
}

.post-navigation .nav-links .nav-previous,
.post-navigation .nav-links .nav-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 1;
    max-width: calc(50% - 0.5rem); /* ← ACCOUNT for gap */
    min-width: 0; /* ← ALLOW shrinking */
}

.post-navigation .nav-links .nav-previous {
    text-align: left;
}

.post-navigation .nav-links .nav-next {
    text-align: right;
}

.post-navigation .nav-links a {
    display: block !important;
    position: relative !important;
    padding: 1rem 1.2rem; /* ← REDUCED padding */
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-fast);
    border: 1px solid rgba(127, 176, 105, 0.2);
    width: 100%;
    box-sizing: border-box; /* ← CRITICAL for width calculation */
    overflow: hidden; /* ← Prevent text overflow */
    word-wrap: break-word; /* ← Handle long titles */
}

.post-navigation .nav-links a:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.7rem; /* ← REDUCED font size */
    color: var(--text-light);
    margin-bottom: 0.3rem; /* ← REDUCED margin */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation .nav-links a:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Ensure navigation stays in post footer */
.single-post .post-navigation {
    position: relative !important;
    float: none !important;
    clear: both !important;
}

.post-navigation .nav-title {
    display: block;
    font-size: 0.9rem; /* ← REDUCED font size */
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--primary-font);
    overflow: hidden; /* ← Prevent overflow */
    text-overflow: ellipsis; /* ← Show ... for long titles */
    white-space: nowrap; /* ← Keep on one line */
}
/* NEW POST NAVIGATION END */

.post-tags {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-tags a {
    color: var(--primary-green);
    text-decoration: none;
    margin-right: 0.5rem;
}

.post-tags a:hover {
    text-decoration: underline;
}

/* Back to articles link - enhanced link style */
.back-to-articles {
    margin-bottom: 2rem;
    padding-top: 1rem;
    text-align: left;        /* ← ADD this line */
    align-self: stretch;     /* ← ADD this line */
}

.back-to-articles-bottom {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    text-align: left;
    align-self: stretch;     /* ← ADD this line */
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #004bc4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.back-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #033e9c;
    transition: width 0.3s ease;
}

.back-link:hover {
    color: #033e9c;
    transform: translateX(-2px);
}

.back-link:hover::before {
    width: 100%;
}

.back-link:active {
    transform: translateX(-1px);
}


.blog-sidebar {
    /* background: var(--bg-cream);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
	*/
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ===================================
   ENHANCED BLOG POST STYLES
   =================================== */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: calc(var(--nav-height) + 23px); /* Position it so it overlaps the bottom of nav */
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    z-index: 1001; /* Make sure it's above nav shadow but below nav content */
    transition: width 0.2s ease;
}

/* Remove the placeholder image from single posts */
.single-post-wrapper .post-header::before {
    display: none !important;
}

.single-post-wrapper .post-header::after {
    display: none !important;
}

/* ===================================
   SIMPLIFIED POST HEADER STYLES
   Replace the old .single-post-wrapper .post-header styles with these
   =================================== */

/* Post header now directly targets without wrapper */
.post-header {
    /* Simple full-width - no complex positioning needed! */
    width: 100vw;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f7f8fa 100%);
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    position: relative;
}

/* Container inside post-header for content constraint */
.post-header .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* Single post wrapper starts after header */
.single-post-wrapper {
    background: var(--white);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible; /* No need for hidden since header is outside */
}

/* Post container alignment */
.single-post-wrapper .post-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 4rem 3rem;
    box-sizing: border-box;
}

.single-post-header{
    background: linear-gradient(135deg, #fafbfc 0%, #f7f8fa 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: calc(var(--nav-height) + 2rem) 0 2rem;
	padding: 20px 0 20px;
}

.post-meta-top{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
	font-size: 12px;
}

.post-title {
    font-family: var(--primary-font);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 1.5rem 0;
    line-height: 1.2;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
font-size: 14px;
}

.single-post-header .breadcrumb {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.breadcrumb a:hover {
    color: var(--primary-green);
    opacity: 1;
}

.breadcrumb .separator {
    color: #cbd5e0;
}

/* Enhanced Post Title */
.post-header .post-title {
    font-family: var(--primary-font);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 1.5rem 0;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Enhanced Post Meta */
.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Enhanced Category Badge */
.post-header .post-category a {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.post-header .post-category a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 176, 105, 0.3);
    opacity: 1;
}

/* Reading Time */
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: var(--text-light);
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-avatar img,
.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-dark);
}

.post-date {
    font-size: 8px;
    color: var(--text-light);
}

/* Share Buttons */
.share-buttons-hero {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* Main Content Layout */
.post-container {
    padding: 4rem 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

/* Enhanced Featured Image */
.post-container .post-featured-image {
    width: calc(100% + 6rem);
    margin: 0 -3rem 3rem -3rem;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

.post-container .post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-container .post-featured-image.placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Content Styling */
.post-content-wrapper {
    max-width: 750px;
}

.post-content.enhanced {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
}

.post-content.enhanced p {
    margin-bottom: 2rem;
    font-family: var(--secondary-font);
}

.post-content.enhanced h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
    font-family: var(--primary-font);
}

.post-content.enhanced h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    border-radius: 2px;
}

.post-content.enhanced h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    font-family: var(--primary-font);
}

.post-content.enhanced ul,
.post-content.enhanced ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.post-content.enhanced li {
    margin-bottom: 0.75rem;
}

.post-content.enhanced blockquote {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.post-content.enhanced blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: var(--primary-font);
}

/* Enhanced Images */
.enhanced-image {
    margin: 2rem 0;
    text-align: center;
}

.enhanced-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.enhanced-image figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    max-height: calc(100vh - var(--nav-height) - 4rem);
    /* overflow-y: auto; */
}

/* Enhanced Widget Styling */
.sticky-sidebar .widget {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.sticky-sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--primary-font);
}

/* Table of Contents */
.table-of-contents {
    font-size: 0.95rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.table-of-contents a:hover,
.table-of-contents a.active {
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    background: rgba(127, 176, 105, 0.05);
    opacity: 1;
}

/* Vertical Share Buttons */
.share-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-buttons-vertical .share-btn {
    width: 100%;
    height: auto;
    padding: 0.75rem;
    border-radius: 12px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
    font-size: 0.9rem;
    font-weight: 500;
}

.share-buttons-vertical .share-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Tags Section */
.post-tags-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag-item {
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-block;
}

.tag-item:hover {
    background: var(--primary-green);
    color: white;
}

/* Author Bio Section */
.author-bio-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 16px;
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.author-bio-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--primary-font);
}

.author-bio-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.author-social a {
    width: 36px;
    height: 36px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.author-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 176, 105, 0.4);
    opacity: 1;
}

/* Related Posts */
.related-posts-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Ensure all containers inside full-width sections are constrained */
.related-posts-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: var(--primary-font);
}

/* UPDATED: Related posts grid for 3 columns */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
    gap: 1.5rem;
    justify-content: start; /* This aligns items to the left */
}

/* UPDATED: Constrain card width */
.related-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    max-width: 350px; /* Prevent cards from getting too wide */
    width: 100%; /* Ensure cards fill their grid cell */
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
    background: #f7f9fa;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content .post-category {
    font-size: 0.8rem;
}

.related-post-content h3 {
    margin: 0.75rem 0;
    font-size: 1.25rem;
}

.related-post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: var(--primary-green);
    opacity: 1;
}

.related-post-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Enhanced Post Navigation */
.post-navigation-enhanced {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.post-navigation-enhanced .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

.nav-posts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-post {
    position: relative;
}

.nav-post-link {
    display: block;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    height: 100%;
}

.nav-post-link:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    opacity: 1;
}

.nav-direction {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.nav-post-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-post-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.nav-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-post-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.nav-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Comments Section */
.comments-section-enhanced {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 0;
    background: #f8f9fa;
}

.comments-section-enhanced .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

.comments-wrapper {
    max-width: 750px;
    margin: 0 auto;
}



/* Mobile TOC Overlay */
.mobile-toc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toc {
    background: white;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.mobile-toc-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image loading animation */
.post-content img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.post-content img.loaded {
    opacity: 1;
}

/* Icons (using simple UTF-8 symbols) */
.icon::before {
    font-family: Arial, sans-serif;
}
.icon-clock::before { content: '⏰'; }
.icon-facebook::before { content: 'f'; font-weight: bold; }
.icon-twitter::before { content: 'X'; font-weight: bold; }
.icon-linkedin::before { content: 'in'; font-weight: bold; }
.icon-whatsapp::before { content: 'W'; font-weight: bold; }
.icon-link::before { content: '🔗'; }
.icon-check::before { content: '✓'; }
.icon-list::before { content: '☰'; }


/* Enhanced Mobile Responsive */
@media (max-width: 1200px) {
    .post-container .post-featured-image {
        width: 100%;
        margin: 0 0 3rem 0;
        border-radius: 16px;
    }
}

@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .sticky-sidebar {
        display: none;
    }
    
    .mobile-only {
        display: flex;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
        gap: 1.5rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .post-header {
        padding: calc(var(--nav-height) + 2rem) 0 2rem;
    }
    
    .post-header .container,
    .single-post-wrapper .post-container,
    .related-posts-section .container,
    .post-navigation-enhanced .container,
    .comments-section-enhanced .container {
        padding: 0 2rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .post-header .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-container .post-featured-image {
        height: 300px;
        margin-top: -1rem;
    }
    
    .share-buttons-hero {
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-posts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-post-content {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .post-container {
        padding: 2rem 0;
    }
    
    .post-content.enhanced {
        font-size: 1rem;
    }
    
    .post-content.enhanced h2 {
        font-size: 1.5rem;
    }
    
    .post-content.enhanced h3 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: calc(var(--nav-height) + 1.5rem) 0 1.5rem;
    }
    
    .post-header .container,
    .single-post-wrapper .post-container,
    .related-posts-section .container,
    .post-navigation-enhanced .container,
    .comments-section-enhanced .container {
        padding: 0 1rem;
    }
    
    .post-container .post-featured-image {
        height: 250px;
    }
    
    .related-posts-section,
    .post-navigation-enhanced,
    .comments-section-enhanced {
        padding: 3rem 0;
    }
    
    .related-posts-section .container,
    .post-navigation-enhanced .container,
    .comments-section-enhanced .container {
        padding: 0 1.5rem;
    }
    
    .author-bio-section {
        padding: 2rem 1.5rem;
    }
    
    .widget {
        padding: 1.5rem;
    }
	
	.reading-progress-bar {
    top: calc(var(--nav-height) - 3px);
	}
}

/* ===================================
   UTILITY COMPONENTS
   =================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-green);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(127, 176, 105, 0.5);
}

@keyframes pulse {
    0% { box-shadow: var(--shadow-green); }
    50% { box-shadow: 0 8px 30px rgba(127, 176, 105, 0.6); }
    100% { box-shadow: var(--shadow-green); }
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
    width: 100%;            /* ← CHANGE from 100vw to 100% */
    position: relative;
    left: 0;                /* ← CHANGE from 50% to 0 */
    right: 0;               /* ← CHANGE from 50% to 0 */
    margin-left: 0;         /* ← CHANGE from -50vw to 0 */
    margin-right: 0;        /* ← CHANGE from -50vw to 0 */
    flex-shrink: 0;
}

footer .footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 3rem;
}

/* ===================================
   MEDIA QUERIES
   =================================== */

/* Large screens */
@media (min-width: 1600px) {
    .hero-bg {
        width: 250px;
    }
    
    .hero-headline {
        font-size: 5rem;
    }
    
    .hero-grid {
       /* gap: 2rem; */
		gap: unset;
    }
}

@media (min-width: 1400px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-headline {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
	.hero-bg {
		width: 200px;
	}
}


@media (min-width: 968px) {
    .hero-headline {
        font-size: 3.5rem;
    }
    
    .area-card h3 {
        font-size: 1.35rem;
    }
	
	.hero-bg {
		width: 200px;
	}
}

@media (max-width: 1200px) {
	.hero-grid {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
    }
	
	.hero-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		flex-shrink: 1;
		order: 2;
	}
	
	.hero-headline {
		font-size: clamp(1.5rem, 5vw, 2.2rem);
        text-align: center;
        white-space: normal;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.hero-headline .static-text {
        white-space: normal;
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-headline .txt-wrapper {
        text-align: center;
        white-space: normal;
        width: auto;
        display: block;
        margin-left: 0;
    }
    
    .hero-headline .txt-type {
        text-align: center;
        width: auto;
    }
}

@media (max-width: 968px) {
	.hero-bg {
		width: 200px;
	}
	
	.hero-headline {
		font-size: clamp(1.5rem, 5vw, 2.2rem);
        text-align: center;
        white-space: normal;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.hero-headline .static-text {
        white-space: normal;
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-headline .txt-wrapper {
        text-align: center;
        white-space: normal;
        width: auto;
        display: block;
        margin-left: 0;
    }
    
    .hero-headline .txt-type {
        text-align: center;
        width: auto;
    }
}



/* Medium screens */
@media (min-width: 768px) and (max-width: 968px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .txt-type {
        min-width: 160px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 601px) and (max-width: 767px) {
    .hero-grid {
        gap: 1.5rem;
    }
    
    .hero-bg {
        max-width: 250px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
}

@media (min-width: 601px) {
    .hero-headline {
        white-space: nowrap;
        text-align: left;
    }
	
}

/* Tablet and small desktop */
@media (max-width: 968px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-container {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
	
	.hero-grid {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 800px;
        padding-right: 0;
    }
    
    .hero-bg {
        padding-left: 0;
    }
	
	.hero-headline {
		font-size: clamp(1.5rem, 5vw, 2.2rem);
        text-align: center;
        white-space: normal;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.hero-headline .static-text {
        white-space: normal;
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-headline .txt-wrapper {
        text-align: center;
        white-space: normal;
        width: auto;
        display: block;
        margin-left: 0;
    }
    
    .hero-headline .txt-type {
        text-align: center;
        width: auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-section,
    .about-section,
    .benefits-section,
    .areas-section,
    .about-act-section,
    .faq-section,
    .contact-section,
    .cta-section,
    .testimonials-section {
        padding: var(--section-padding-mobile) 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content p {
        text-align: left;
    }
    
    .about-image img,
    .about-image > div {
        height: 100%;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .area-card h3 {
        font-size: 1.15rem;
        font-weight: 600;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .highlight-box {
        max-width: 350px;
    }
    
    .highlight-icon svg,
    .highlight-icon img {
        width: 70px;
        height: 70px;
    }
    
    .faq-item {
        padding: 1.2rem;
    }
    
    .testimonials-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonials-track {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 2rem;
        min-height: 250px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sticky-cta {
        bottom: 15px;
        right: 15px;
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
        max-width: 100%;
    }
    
    .hero-bg {
        order: 1;
        width: 180px;
    }
	
	.hero-bg img {
		max-width: 250px;
	}
    
    .hero-headline {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        text-align: center;
        white-space: normal;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-headline .static-text {
        white-space: normal;
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-headline .txt-wrapper {
        text-align: center;
        white-space: normal;
        width: auto;
        display: block;
        margin-left: 0;
    }
    
    .hero-headline .txt-type {
        text-align: center;
        width: auto;
    }
	
	.cta-button {
		white-space: normal;
		padding:
	}
	
	.single-post {
        padding: 1rem;
        padding-top: calc(var(--nav-height) + 1rem);
    }
	
	.post-single {
        width: 100%; /* ← Add this rule */
        max-width: 100%; /* ← Add this rule */
    }
    
    .post-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .post-single .post-title {
        font-size: 2rem;
    }
    
    .post-single .post-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .post-footer {
        padding: 1rem 1.5rem 2.5rem;  /* ← CHANGE LAST VALUE FROM 1.5rem TO 2.5rem */
    }
    
    .post-single .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
	
	.back-to-articles {
        margin-bottom: 1.5rem;
    }
    
    .back-to-articles-bottom {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .back-link {
        font-size: 0.85rem;
    }
	
	/* NEW POST NAVIGATION START */
	.post-navigation .nav-links {
		flex-direction: column;
		gap: 1rem;
	}

	.post-navigation .nav-links .nav-previous,
	.post-navigation .nav-links .nav-next {
		max-width: 100%;
	}

	.post-navigation .nav-links a {
		padding: 1rem;
		text-align: center;
	}

	.post-navigation .nav-title {
		font-size: 0.9rem;
		white-space: normal;
	}
	/* NEW POST NAVIGATION END */
	
	.blog-grid {
		display: flex;
		flex-direction: column;
	}
	
	.blog-container {
		padding-top: calc(var(--nav-height) + 1rem);
	}
	
	.related-posts-grid {
        grid-template-columns: 1fr;
        justify-content: stretch; /* Full width on mobile */
    }
    
    .related-post-card {
        max-width: 100%; /* Full width on mobile */
    }
}

/* Small mobile */
@media (max-width: 600px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
        padding-right: 0;
    }
    
    .hero-bg {
        order: 1;
        max-width: 200px;
        margin: 0 auto;
    }
	
	.blog-container {
		padding-top: calc(var(--nav-height) + 1rem);
	}
	

}

@media (max-width: 480px) {
    .hero-bg {
        width: 150px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    body {
        font-size: 0.9rem;
    }
    
    .hero-headline {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-headline .txt-wrapper {
        width: auto;
    }
    
    .info-section h2,
    .about-section h2,
    .benefits-section h2,
    .areas-section h2,
    .about-act-section h2,
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    .faq-section h2 {
        font-size: 1.3rem;
    }
    
    .container,
    .container-wide {
        padding: 0 1rem;
    }
	

    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .info-section,
    .about-section,
    .benefits-section,
    .areas-section,
    .about-act-section,
    .faq-section,
    .contact-section,
    .cta-section,
    .testimonials-section {
        padding: var(--section-padding-mobile) 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
        flex: 0 0 260px;
        min-width: 260px;
        min-height: 220px;
    }
    
    .benefit-icon {
        font-size: 1.2rem;
    }
    
    .area-card {
        padding: 1.2rem;
    }
    
    .area-card h3 {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .faq-question {
        font-size: 1.05rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .contact-section .cta-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-section .cta-button {
        font-size: 1rem;
        padding: 1.1rem 2rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
	
	.blog-container {
		padding-top: calc(var(--nav-height) + 1rem);
	}
}

/* Extra small mobile */
@media (max-width: 380px) {
    .hero-bg {
        max-width: 120px;
    }
    
    .hero-headline {
        font-size: 1.5rem;
        margin-top: 0;
    }
    
    .txt-type {
        font-size: 0.9em;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
	
	.blog-container {
		padding-top: calc(var(--nav-height) + 1rem);
	}
	

}

@media (max-width: 360px) {
    .hero-headline {
        font-size: clamp(1rem, 7vw, 1.5rem);
    }
    
    .container-wide {
        padding: 0 1rem;
    }
    
    .hero-headline .txt-wrapper {
        min-width: 180px;
    }
	
	
	.blog-container {
		padding-top: calc(var(--nav-height) + 1rem);
	}
	
}
/* H1 SEKCJA - PÓŁ WIDOCZNA */
.h1-section {
    padding: 1rem 0 0.5rem 0;
    text-align: center;
}

.main-h1 {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(127, 176, 105, 0.5);
    margin: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .main-h1 {
        font-size: 1rem;
        opacity: 0.4;
    }
}