/* =====================================================
   GOLBA UBEZPIECZENIA - STYL LEADENHALL
   Kolor wiodący: #84ab3b (zielony)
   Kolor dodatkowy: #3660ad (niebieski)
===================================================== */

:root {
    --primary-color: #84ab3b;
    --primary-dark: #6d8f31;
    --primary-light: #9ec755;
    --primary-gradient: linear-gradient(135deg, #84ab3b 0%, #a5c969 100%);
    --secondary-color: #3660ad;
    --secondary-dark: #2a4d8a;
    --secondary-light: #4a7ac9;
    --secondary-gradient: linear-gradient(135deg, #3660ad 0%, #5a8fd4 100%);
    --accent-color: #f39c12;
    --text-color: #2c3e50;
    --text-light: #6c7a89;
    --text-muted: #95a5a6;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --bg-card: #ffffff;
    --bg-dark: #1a1f36;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

/* Blokada scrolla body gdy modal jest otwarty */
body.body-no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* =====================================================
   ANNOUNCEMENT BAR - Pasek ogłoszeń
===================================================== */
.announcement-bar {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 12px 0;
    position: relative;
    z-index: 1001;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.announcement-content > i {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.announcement-text strong {
    font-weight: 700;
}

.announcement-text a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.announcement-text a:hover {
    opacity: 0.85;
}

.announcement-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.announcement-bar.hidden {
    display: none;
}

/* Navbar adjustment when announcement bar is visible */
body:has(.announcement-bar:not(.hidden)) .hero {
    padding-top: 180px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    color: var(--text-light);
}

/* =====================================================
   NAWIGACJA - MINIMALISTYCZNA
===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-gradient) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-xl) !important;
    font-weight: 600 !important;
    -webkit-text-fill-color: var(--white) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 171, 59, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* =====================================================
   HERO SECTION - LEADENHALL STYLE
===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(132, 171, 59, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(54, 96, 173, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 640px;
    width: 100%;
}

.hero-badge {
    display: none;
    /*display: inline-flex;*/
    align-items: center;
    gap: 8px;
    background: rgba(132, 171, 59, 0.1);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--primary-color);
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text-color);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero centered layout */
.hero-content-centered {
    display: block;
    text-align: center;
}

.hero-text-full {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text-full .hero-buttons {
    justify-content: center;
}

/* Hero Stats Inline */
.hero-stats-inline {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =====================================================
   TEAM SECTION - Nasi Doradcy
===================================================== */
.team-section {
    background: var(--white);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(132, 171, 59, 0.3);
}

.team-name {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--bg-section);
}

.team-contact a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.team-contact a i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.team-contact a:hover i {
    color: var(--white);
}

.hero-advisor {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    border: 1px solid rgba(132, 171, 59, 0.1);
}

.hero-advisor-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-section);
}

.hero-advisor-header h3 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
}

.hero-advisor-header h3 strong {
    color: var(--primary-color);
}

.hero-advisor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.hero-advisor-name {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.hero-advisor-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-advisor-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-advisor-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.hero-advisor-contact a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-advisor-contact a i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-advisor-contact a:hover i {
    color: var(--white);
}

/* =====================================================
   BUTTONS - LEADENHALL STYLE
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(132, 171, 59, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(132, 171, 59, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(54, 96, 173, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(54, 96, 173, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn i {
    font-size: 1.1em;
}

/* =====================================================
   SECTIONS
===================================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: none;
    /*display: inline-flex;*/
    align-items: center;
    gap: 8px;
    background: rgba(132, 171, 59, 0.1);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   FEATURES SECTION - LEADENHALL STYLE
===================================================== */
.features {
    background: var(--bg-section);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================================================
   SERVICES SECTION - CARD GRID
===================================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(132, 171, 59, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(132, 171, 59, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   PARTNERS CAROUSEL - 3 ROWS
===================================================== */
.partners-carousel-section {
    margin-top: 60px;
    text-align: center;
}

.partners-title {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.partners-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partners-carousel-wrapper::before,
.partners-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.partners-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

/* Rząd 1 - przewija w lewo */
.partners-track-left {
    animation: partnersScrollLeft 35s linear infinite;
}

/* Rząd 2 - przewija w prawo */
.partners-track-right {
    animation: partnersScrollRight 40s linear infinite;
}

/* Rząd 3 - przewija w lewo szybciej */
.partners-track-left-fast {
    animation: partnersScrollLeft 30s linear infinite;
}

@keyframes partnersScrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes partnersScrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
}

/* Partner bez logo - kwadracik z nazwą */
.partner-logo.partner-logo-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5799 100%);
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
    filter: none;
    opacity: 0.85;
}

.partner-logo.partner-logo-text:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo.partner-logo-text span {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   HOW IT WORKS SECTION
===================================================== */
.how-it-works {
    background: var(--bg-section);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto 24px;
    position: relative;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   ABOUT SECTION - TWO COLUMNS
===================================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-badge {
    margin-bottom: 16px;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text > p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* About Illustration - zamiast zdjęcia */
.about-illustration {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f5e9 50%, #e3f2fd 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(132, 171, 59, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(54, 96, 173, 0.1) 0%, transparent 40%);
}

.illustration-icons {
    position: absolute;
    inset: 0;
}

.illus-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 4s ease-in-out infinite;
}

.illus-icon-1 {
    top: 15%;
    left: 10%;
    background: linear-gradient(135deg, #84ab3b, #6b9a2e);
    animation-delay: 0s;
}

.illus-icon-2 {
    top: 10%;
    right: 20%;
    background: linear-gradient(135deg, #3660ad, #2a4f8f);
    animation-delay: 0.5s;
}

.illus-icon-3 {
    top: 45%;
    left: 5%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation-delay: 1s;
}

.illus-icon-4 {
    bottom: 20%;
    left: 15%;
    background: linear-gradient(135deg, #f39c12, #d68910);
    animation-delay: 1.5s;
}

.illus-icon-5 {
    top: 25%;
    right: 5%;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    animation-delay: 2s;
}

.illus-icon-6 {
    bottom: 15%;
    right: 10%;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.illus-center {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(132, 171, 59, 0.2);
}

.illus-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.about-stats {
    position: absolute;
    bottom: -40px;
    right: -40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-stat {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =====================================================
   NEWS SECTION - COMPACT LIST
===================================================== */
.news-compact {
    background: var(--white);
    padding: 60px 0;
}

.news-compact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-compact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--bg-section);
}

.news-compact-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-compact-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.news-compact-title h3 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin: 0;
}

.news-compact-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.news-compact-all:hover {
    gap: 10px;
}

.news-compact-list {
    display: flex;
    flex-direction: column;
}

.news-compact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-compact-item:last-child {
    border-bottom: none;
}

.news-compact-item:hover {
    background: var(--white);
}

.news-compact-date {
    min-width: 50px;
    text-align: center;
    padding: 10px 8px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-section);
}

.news-compact-item:hover .news-compact-date {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.news-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.news-compact-item:hover .news-day {
    color: var(--white);
}

.news-month {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.news-compact-item:hover .news-month {
    color: rgba(255, 255, 255, 0.8);
}

.news-compact-content {
    flex: 1;
    min-width: 0;
}

.news-compact-content h4 {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-compact-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-new-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-compact-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.news-compact-item:hover .news-compact-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Stare style news (zachowane dla news.php) */
.news {
    background: var(--bg-section);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 28px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

.no-news {
    text-align: center;
    color: var(--text-light);
    grid-column: 1 / -1;
    padding: 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

/* =====================================================
   FAQ SECTION - ACCORDION STYLE
===================================================== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(132, 171, 59, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(132, 171, 59, 0.05);
}

.faq-question h4 {
    font-size: 1.05rem;
    color: var(--text-color);
    font-weight: 600;
    flex: 1;
    padding-right: 16px;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: rgba(132, 171, 59, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 28px 24px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact {
    background: var(--bg-section);
}

/* Locations Grid - karty lokalizacji */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.location-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-section);
}

.location-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.location-icon-blue {
    background: linear-gradient(135deg, var(--secondary-color), #2a4f8f);
}

.location-icon-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.location-header h4 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.location-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(132, 171, 59, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-badge-blue {
    background: rgba(54, 96, 173, 0.1);
    color: var(--secondary-color);
}

.location-badge-purple {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.location-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.location-item a:hover {
    color: var(--primary-color);
}

/* Social bar */
.contact-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-social-bar span {
    color: var(--text-muted);
    font-weight: 500;
}

.social-links-inline {
    display: flex;
    gap: 12px;
}

.social-link-bar {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 1px solid #84ab3b;
}

.social-link-bar:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact form wrapper */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: var(--primary-gradient);
    padding: 48px;
    border-radius: var(--radius-lg);
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--bg-section);
    background: var(--white);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(132, 171, 59, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Required field indicator */
.form-group label .required {
    color: #dc3545;
    font-weight: bold;
}

.form-group label .optional {
    color: #6c757d;
    font-weight: normal;
    font-size: 0.85em;
}

/* File Upload Area */
.file-upload-area {
    position: relative;
    border: 2px dashed #ccd0d5;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(132, 171, 59, 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.file-upload-content p {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 500;
}

.file-upload-hint {
    display: block;
    font-size: 0.85em;
    color: #6c757d;
}

/* File List */
.file-list {
    margin-top: 15px;
}

.file-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-list-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.file-list-item .file-name {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-list-item .file-size {
    font-size: 0.8rem;
    color: #6c757d;
}

.file-list-item .file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.file-list-item .file-remove:hover {
    transform: scale(1.2);
}

/* File Error */
.file-error {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    font-size: 0.9rem;
    display: none;
}

.file-error.visible {
    display: block;
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
    background: var(--secondary-gradient);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo span {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer ul a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* =====================================================
   RESPONSIVE
===================================================== */

/* Zapobieganie overflow na mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-advisor {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        position: static;
        margin-top: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Announcement Bar Mobile */
    .announcement-bar {
        padding: 10px 0;
    }
    
    .announcement-content {
        gap: 8px;
    }
    
    .announcement-content > i {
        display: none;
    }
    
    .announcement-text {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .announcement-text a {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
    
    .announcement-close {
        width: 28px;
        height: 28px;
    }
    
    body:has(.announcement-bar:not(.hidden)) .hero {
        padding-top: 160px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        display: none;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Hero Stats Mobile */
    .hero-stats-inline {
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .hero-stat-label {
        font-size: 0.8rem;
    }

    /* Team Section Mobile */
    .team-section {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        padding: 28px 20px;
    }
    
    .team-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }

    
    .hero-advisor-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-advisor-name {
        font-size: 1.1rem;
    }
    
    .hero-advisor-contact a {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Steps Mobile */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Partners Carousel Mobile */
    .partners-carousel-section {
        margin-top: 40px;
    }
    
    .partners-title {
        font-size: 0.85rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .partners-carousel-wrapper {
        gap: 15px;
    }
    
    .partners-carousel-wrapper::before,
    .partners-carousel-wrapper::after {
        width: 40px;
    }
    
    .partner-logo {
        width: 100px;
        height: 50px;
        margin: 0 12px;
    }
    
    .partner-logo img {
        max-height: 40px;
    }
    
    .partner-logo.partner-logo-text {
        padding: 6px;
    }
    
    .partner-logo.partner-logo-text span {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }
    
    .partners-track-left {
        animation-duration: 25s;
    }
    
    .partners-track-right {
        animation-duration: 28s;
    }
    
    .partners-track-left-fast {
        animation-duration: 22s;
    }
    
    /* About Mobile */
    .about-content {
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
    }
    
    .about-text > p {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-content: center;
    }
    
    .about-stat {
        padding: 16px 12px;
    }
    
    .about-stat-number {
        font-size: 1.5rem;
    }
    
    .about-stat-label {
        font-size: 0.75rem;
    }
    
    /* About Illustration Mobile */
    .about-illustration {
        aspect-ratio: 1/1;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .illus-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .illus-center {
        width: 100px;
        height: 100px;
    }
    
    .illus-logo {
        width: 60px;
    }

    /* News Compact Mobile */
    .news-compact {
        padding: 40px 0;
    }
    
    .news-compact-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .news-compact-item {
        padding: 14px 20px;
        gap: 14px;
    }
    
    .news-compact-date {
        min-width: 44px;
        padding: 8px 6px;
    }
    
    .news-day {
        font-size: 1.1rem;
    }
    
    .news-compact-content h4 {
        font-size: 0.9rem;
    }
    
    .news-compact-content p {
        display: none;
    }

    /* News Mobile (stare) */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.05rem;
    }
    
    /* FAQ Mobile */
    .faq-list {
        padding: 0;
    }
    
    .faq-question {
        padding: 18px 16px;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 12px;
    }
    
    .faq-answer-content {
        padding: 0 16px 18px;
        font-size: 0.95rem;
    }
    
    /* CTA Mobile */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Contact Mobile */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .location-card {
        padding: 20px;
    }
    
    .location-header {
        margin-bottom: 18px;
        padding-bottom: 16px;
    }
    
    .location-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .location-header h4 {
        font-size: 1.05rem;
    }
    
    .contact-social-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .contact-wrapper {
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        padding: 28px 20px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.25rem;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-item h4 {
        font-size: 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer h4 {
        margin-bottom: 16px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* =====================================================
   ALERT MESSAGES
===================================================== */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(132, 171, 59, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(132, 171, 59, 0.2);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #c62828;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* =====================================================
   ADMIN STYLES
===================================================== */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: var(--secondary-gradient);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 1.8rem;
    color: var(--white);
}

.admin-nav {
    display: flex;
    gap: 15px;
}

.admin-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--white);
    color: var(--primary-color);
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.admin-card-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--bg-section);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.admin-card-body {
    padding: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--bg-section);
}

.admin-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
}

.admin-table tr:hover {
    background: var(--bg-light);
}

.admin-table img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

/* =====================================================
   ADMIN PANEL RESPONSIVE STYLES
===================================================== */

/* Badge w nawigacji */
.admin-nav .badge {
    display: inline-flex !important;
    background: #dc3545 !important;
    color: white !important;
    padding: 2px 8px !important;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-left: 5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Wrapper dla tabeli */
.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .admin-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .admin-nav a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .admin-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .admin-table img {
        width: 60px;
        height: 40px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .admin-container {
        padding: 15px;
    }
    
    .admin-header {
        padding: 20px;
    }
    
    .admin-header h1 {
        font-size: 1.4rem;
    }
    
    .admin-nav a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .admin-card-body {
        padding: 20px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .admin-table .btn-sm {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .admin-container {
        padding: 10px;
    }
    
    .admin-header {
        padding: 15px;
        border-radius: var(--radius-md);
    }
    
    .admin-header h1 {
        font-size: 1.2rem;
    }
    
    .admin-header h1 i {
        display: none;
    }
    
    .admin-nav {
        gap: 8px;
    }
    
    .admin-nav a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    /* Ukryj tekst, zostaw tylko ikony na bardzo małych ekranach */
    .admin-nav a span {
        display: none;
    }
    
    .admin-card {
        border-radius: var(--radius-md);
    }
    
    .admin-card-header {
        padding: 15px;
    }
    
    .admin-card-header h2 {
        font-size: 1.1rem;
    }
    
    .admin-card-body {
        padding: 15px;
    }
    
    /* Tabela staje się bardziej kompaktowa */
    .admin-table th,
    .admin-table td {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .admin-table img {
        width: 50px;
        height: 35px;
    }
    
    /* Stack przycisków */
    .admin-table .btn-sm {
        padding: 4px 8px;
        font-size: 0.7rem;
        display: inline-block;
        margin: 2px;
    }
}

/* Extra Small (max-width: 400px) */
@media (max-width: 400px) {
    .admin-nav a {
        padding: 5px 8px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .admin-table th:nth-child(n+3),
    .admin-table td:nth-child(n+3) {
        /* Można ukryć niektóre kolumny jeśli potrzeba */
    }
}

/* =====================================================
   EXTRA SMALL DEVICES (max-width: 480px)
===================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 1rem;
        gap: 8px;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-advisor {
        padding: 20px 16px;
    }
    
    /* Hero Stats Extra Small */
    .hero-stats-inline {
        gap: 15px;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    /* Team Section Extra Small */
    .team-card {
        padding: 24px 16px;
    }
    
    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .team-name {
        font-size: 1rem;
    }
    
    .team-role {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .team-contact a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    }
    
    .hero-advisor-name {
        font-size: 1rem;
    }
    
    .hero-advisor-contact a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .step-card h3 {
        font-size: 1rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .about-stat-number {
        font-size: 1.25rem;
    }
    
    .faq-question {
        padding: 14px 12px;
    }
    
    .faq-question h4 {
        font-size: 0.9rem;
    }
    
    .faq-answer-content {
        padding: 0 12px 14px;
        font-size: 0.9rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 24px 16px;
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.1rem;
    }
    
    .contact-item-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .cta-section h2 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 40px 0 16px;
    }
    
    .footer h4 {
        font-size: 0.95rem;
    }
    
    .footer ul a,
    .footer-brand p,
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        gap: 12px;
    }
}

/* =====================================================
   TOAST NOTIFICATIONS - Pływające powiadomienia
===================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.toast.toast-hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast.toast-info .toast-icon {
    background: rgba(54, 96, 173, 0.1);
    color: var(--secondary-color);
}

.toast.toast-promo .toast-icon {
    background: rgba(132, 171, 59, 0.1);
    color: var(--primary-color);
}

.toast.toast-warning .toast-icon {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
}

.toast.toast-promo {
    border-left-color: var(--primary-color);
}

.toast.toast-info {
    border-left-color: var(--secondary-color);
}

.toast.toast-warning {
    border-left-color: var(--accent-color);
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
}

.toast-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.toast-link:hover {
    gap: 10px;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    transition: var(--transition);
    line-height: 1;
}

.toast-close:hover {
    color: var(--text-color);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    animation: toastProgress 8s linear forwards;
}

.toast.toast-info .toast-progress {
    background: var(--secondary-color);
}

.toast.toast-warning .toast-progress {
    background: var(--accent-color);
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Toast Mobile */
@media (max-width: 480px) {
    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    
    .toast {
        padding: 16px;
    }
    
    .toast-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .toast-title {
        font-size: 0.9rem;
    }
    
    .toast-message {
        font-size: 0.8rem;
    }
}

/* =====================================================
   NEWS MODAL - Modal z aktualnościami
===================================================== */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.news-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.news-modal-overlay.active .news-modal {
    transform: scale(1) translateY(0);
}

.news-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--bg-section);
    flex-shrink: 0;
}

.news-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-modal-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.news-modal-title h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 0;
}

.news-modal-close {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.news-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.news-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.news-modal-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-modal-item:last-child {
    border-bottom: none;
}

.news-modal-item:hover {
    background: var(--bg-light);
}

.news-modal-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(132, 171, 59, 0.3);
}

.news-modal-item:hover .news-modal-item-icon {
    transform: scale(1.05);
}

.news-modal-item-content {
    flex: 1;
    min-width: 0;
}

.news-modal-item-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-modal-item-date i {
    color: var(--primary-color);
}

.news-modal-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.news-modal-item h4 {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.4;
}

.news-modal-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-modal-item-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.news-modal-item:hover .news-modal-item-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Divider i dokumenty w modalu */
.news-modal-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin: 10px 0;
}

.news-modal-divider::before,
.news-modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bg-section), transparent);
}

.news-modal-divider span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-modal-divider span i {
    color: var(--secondary-color);
}

.news-modal-item-doc .doc-icon {
    background: linear-gradient(135deg, var(--secondary-color), #5a8fd8);
}

.news-modal-item-doc:hover .doc-icon {
    background: linear-gradient(135deg, #5a8fd8, var(--secondary-color));
    transform: scale(1.05);
}

.news-modal-item-doc .news-modal-item-arrow {
    color: var(--secondary-color);
}

.news-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--bg-section);
    flex-shrink: 0;
    background: var(--bg-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.news-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-modal-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* News Modal Mobile */
@media (max-width: 600px) {
    .news-modal-overlay {
        padding: 12px;
    }
    
    .news-modal {
        max-height: 90vh;
    }
    
    .news-modal-header {
        padding: 16px;
    }
    
    .news-modal-title h3 {
        font-size: 1.1rem;
    }
    
    .news-modal-body {
        padding: 12px;
    }
    
    .news-modal-item {
        padding: 12px;
        flex-wrap: wrap;
    }
    
    .news-modal-item-img {
        width: 100%;
        height: 120px;
        margin-bottom: 8px;
    }
    
    .news-modal-item-arrow {
        display: none;
    }
    
    .news-modal-footer {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .news-modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   FLOATING NEWS BUTTON
   ============================================ */
.news-floating-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(132, 171, 59, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.news-floating-btn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(20px);
}

.news-floating-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 25px rgba(132, 171, 59, 0.5);
}

.news-floating-btn:active {
    transform: scale(0.95);
}

.news-floating-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ============================================
   FLOATING CTA BUTTON (Zapytaj o ofertę)
   ============================================ */
.cta-floating-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 52px;
    padding: 0 24px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(54, 96, 173, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cta-floating-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-floating-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(54, 96, 173, 0.5);
    color: var(--white);
}

.cta-floating-btn:active {
    transform: scale(0.98);
}

.cta-floating-btn i {
    font-size: 1.1rem;
}

.cta-floating-btn .cta-text {
    white-space: nowrap;
}

/* Mobile adjustment for floating buttons */
@media (max-width: 600px) {
    .news-floating-btn {
        left: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .news-floating-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .cta-floating-btn {
        right: 16px;
        bottom: 16px;
        height: 48px;
        padding: 0 18px;
        font-size: 0.85rem;
    }
    
    .cta-floating-btn .cta-text {
        display: none;
    }
    
    .cta-floating-btn {
        width: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}

/* ============================================
   DOCUMENT PREVIEW MODAL (Index page)
   Identyczny styl jak w dokumenty.php
   ============================================ */
.doc-preview-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 20px 20px;
}

.doc-preview-modal-overlay.active {
    display: flex;
}

.doc-preview-modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.doc-preview-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-preview-modal-header .doc-preview-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.doc-preview-modal-header .doc-preview-title i {
    color: var(--primary-color);
}

.doc-preview-modal-header button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-preview-modal-header button:hover {
    background: #e0e0e0;
}

.doc-preview-modal-body {
    flex-grow: 1;
    overflow: auto;
    background: #f5f5f5;
    -webkit-user-select: none;
    user-select: none;
}

.doc-gallery-scroll {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
}

.doc-gallery-image {
    width: 100%;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.doc-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 600px) {
    .doc-preview-modal-overlay {
        padding: 20px 0 0 0;
    }
    
    .doc-preview-modal {
        width: 100vw;
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 0;
    }
    
    .doc-preview-modal-header {
        padding: 15px;
    }
    
    .doc-preview-modal-header .doc-preview-title {
        font-size: 1rem;
    }
    
    .doc-gallery-scroll {
        padding: 8px;
    }
}