/* SLR SPECIFIC STYLES */

:root {
    --navy-primary: #1a3a52;
    --navy-dark: #0f2333;
    --navy-light: #2d4a62;
    --turquoise-accent: #2dd4a3;
    --turquoise-muted: #26b88a;
    --gray-light: #f8f9fa;
    --gray-text: #6c757d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #212529;
}

/* NAVBAR */
.bg-navy {
    background-color: var(--navy-primary);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* HERO SECTION */
.hero-section {
    padding: 120px 0 60px;  /* padding-top teraz kompensuje navbar */
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    color: white;
    margin-top: 0; /* usuwam margin-top całkowicie */
    padding-top: 120px; /* 77px (navbar) + 43px (spacing) */
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--turquoise-accent);
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.hero-trust-signal {
    font-size: 14px;
    opacity: 0.9;
}

.hero-image-wrapper {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 36px;
    }
    .hero-subheadline {
        font-size: 20px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
}

/* BUTTONS */
.btn-primary {
    background: var(--turquoise-accent);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(45, 212, 163, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--turquoise-muted);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 163, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--navy-primary);
    transform: translateY(-2px);
}

/* SECTION HEADERS */
.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.section-header .lead {
    font-size: 20px;
    color: var(--gray-text);
}

/* PROBLEM SECTION */
.problem-section {
    padding: 80px 0;
}

.problem-card {
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.problem-icon {
    margin-bottom: 20px;
}

.problem-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.problem-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* SOLUTION SECTION */
.solution-section {
    padding: 80px 0;
}

.solution-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.solution-icon {
    margin-bottom: 25px;
}

.solution-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 8px 0;
    color: var(--gray-text);
}

/* ROI BANNER */
.roi-banner-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--turquoise-accent) 0%, var(--turquoise-muted) 100%);
}

.roi-banner {
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.roi-banner h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 10px;
}

.roi-banner .lead {
    color: var(--gray-text);
    margin-bottom: 0;
}

.roi-banner .btn-light {
    background: white;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
    font-weight: 600;
    padding: 14px 32px;
}

.roi-banner .btn-light:hover {
    background: var(--navy-primary);
    color: white;
    transform: translateY(-2px);
}

/* INDUSTRY SECTION */
.industry-section {
    padding: 80px 0;
}

.industry-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.industry-icon {
    margin-bottom: 20px;
}

.industry-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.industry-subtitle {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.industry-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.industry-card strong {
    color: var(--navy-primary);
}

/* FEATURES SECTION */
.features-section {
    padding: 80px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateX(4px);
}

.feature-icon-small {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 212, 163, 0.1);
    border-radius: 8px;
    font-size: 24px;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
    line-height: 1.6;
}

/* PROCESS SECTION */
.process-section {
    padding: 80px 0;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--turquoise-accent);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--turquoise-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 212, 163, 0.3);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .process-step {
        gap: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .process-step::after {
        left: 25px;
    }
}

/* FINAL CTA SECTION */
.final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
}

.cta-box {
    padding: 60px 40px;
    color: white;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-box .lead {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-reassurance {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   DASHBOARD MODAL CAROUSEL
   ============================================ */

/* Modal sizing */
#dashboardModal .modal-xl {
    max-width: 1140px;
}

#dashboardModal .modal-content {
    background: #f8f9fa;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

#dashboardModal .modal-header {
    padding: 25px 30px;
    background: white;
}

#dashboardModal .modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-primary);
}

#dashboardModal .modal-body {
    background: #f8f9fa;
}

/* Carousel in modal */
#dashboardCarousel {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#dashboardCarousel .carousel-inner {
    border-radius: 12px;
}

#dashboardCarousel img {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Custom caption (pod obrazkiem) */
.carousel-caption-custom {
    position: relative;
    background: white;
    padding: 20px;
    margin-top: 15px;
    border-radius: 8px;
    text-align: left;
    color: var(--navy-primary);
}

.carousel-caption-custom h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.carousel-caption-custom p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
}

.carousel-caption-custom i {
    color: var(--turquoise-accent);
}

/* Carousel controls (arrows) in modal */
#dashboardCarousel .carousel-control-prev,
#dashboardCarousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background: var(--navy-primary);
    border-radius: 50%;
    opacity: 0.9;
    top: 45%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

#dashboardCarousel .carousel-control-prev {
    left: 15px;
}

#dashboardCarousel .carousel-control-next {
    right: 15px;
}

#dashboardCarousel .carousel-control-prev:hover,
#dashboardCarousel .carousel-control-next:hover {
    background: var(--turquoise-accent);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#dashboardCarousel .carousel-control-prev-icon,
#dashboardCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel indicators (dots) in modal */
#dashboardCarousel .carousel-indicators {
    bottom: -45px;
    margin-bottom: 0;
}

#dashboardCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-text);
    opacity: 0.4;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#dashboardCarousel .carousel-indicators .active {
    background-color: var(--turquoise-accent);
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* Smooth transitions */
#dashboardCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Modal footer styling */
#dashboardModal .modal-footer {
    padding: 20px 30px;
    background: white;
}

#dashboardModal .modal-footer .btn-primary {
    padding: 10px 24px;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #dashboardModal .modal-xl {
        max-width: 100%;
        margin: 10px;
    }
    
    #dashboardCarousel .carousel-control-prev,
    #dashboardCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    #dashboardCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #dashboardCarousel .carousel-control-next {
        right: 10px;
    }
    
    .carousel-caption-custom {
        padding: 15px;
        margin-top: 10px;
    }
    
    .carousel-caption-custom h5 {
        font-size: 16px;
    }
    
    .carousel-caption-custom p {
        font-size: 13px;
    }
    
    /* Na mobile - 2 ekrany mobilne obok siebie są za małe, pokazuj jeden */
    .carousel-item .row .col-md-5:last-child {
        display: none;
    }
    
    .carousel-item .row .col-md-5:first-child {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* FOOTER */
.footer {
    background: var(--navy-dark);
    margin-top: 0;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--turquoise-accent) !important;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* UTILITY CLASSES */
.text-primary {
    color: var(--turquoise-accent) !important;
}

.bg-primary {
    background-color: var(--turquoise-accent) !important;
}

.text-navy {
    color: var(--navy-primary) !important;
}

.bg-navy {
    background-color: var(--navy-primary) !important;
}

/* TESTIMONIALS CAROUSEL */
.testimonials-section {
    padding: 80px 0;
    position: relative;
}

/* Carousel container */
#testimonialsCarousel {
    padding: 0 60px; /* Space for arrows */
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Quote styling */
.testimonial-quote {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-quote i {
    color: var(--turquoise-accent);
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.testimonial-quote p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-text);
    font-style: italic;
    margin: 0;
}

/* Author styling */
.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

/* Avatar with initials */
.avatar-initials {
    background: var(--turquoise-accent); /* jednolity kolor */
}

.avatar-initials.bg-primary {
    background: linear-gradient(135deg, #2dd4a3, #26b88a);
}

.avatar-initials.bg-success {
    background: linear-gradient(135deg, #28a745, #20873a);
}

.avatar-initials.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.avatar-initials.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.testimonial-author strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 5px;
}

.testimonial-author span {
    display: block;
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.4;
}

/* Carousel Controls (arrows) */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--navy-primary);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--turquoise-accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators (dots) */
.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-text);
    opacity: 0.5;
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--turquoise-accent);
    opacity: 1;
    width: 32px;
    border-radius: 6px;
}

/* Carousel animation smoothness */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    #testimonialsCarousel {
        padding: 0 20px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -5px;
    }
    
    .carousel-control-next {
        right: -5px;
    }
    
    .testimonial-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    /* Na mobile pokazuj 1 cytat na raz */
    .carousel-item .col-lg-6:last-child {
        display: none;
    }
}

@media (max-width: 576px) {
    .testimonial-quote p {
        font-size: 15px;
    }
    
    .avatar-initials {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
    
    .carousel-indicators {
        margin-bottom: -40px;
    }
}

/* --- Hero Eyebrow (mała etykieta nad H1) --- */
.hero-eyebrow {
    display: inline-block;
    color: var(--accent-color, #2dd4a3);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(45, 212, 163, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(45, 212, 163, 0.3);
}
 
 
/* --- FAQ Section --- */
.faq-section {
    background: var(--bg-light, #f8fafc);
}
 
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
 
.faq-section .accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(26, 58, 82, 0.04);
}
 
.faq-section .accordion-item:hover {
    box-shadow: 0 4px 16px rgba(26, 58, 82, 0.08);
}
 
.faq-section .accordion-header {
    margin: 0;
}
 
.faq-section .accordion-button {
    background: transparent;
    color: var(--primary-color, #1a3a52);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
    line-height: 1.4;
}
 
.faq-section .accordion-button:not(.collapsed) {
    background: rgba(45, 212, 163, 0.05);
    color: var(--primary-color, #1a3a52);
    box-shadow: none;
}
 
.faq-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}
 
/* Strzałka - zmieniamy kolor i animację */
.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232dd4a3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}
 
.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232dd4a3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
 
.faq-section .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted, #64748b);
    font-size: 1rem;
    line-height: 1.7;
}
 
 
/* --- Responsywność FAQ - mobile --- */
@media (max-width: 768px) {
    .faq-section .accordion-button {
        font-size: 1.05rem;
        padding: 1rem 1.25rem;
    }
    
    .faq-section .accordion-body {
        padding: 0 1.25rem 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-eyebrow {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
}

/* --- Testimonials carousel - stała wysokość slajdów --- */
#testimonialsCarousel .carousel-item {
    min-height: 500px !important;
}

@media (max-width: 991px) {
    #testimonialsCarousel .carousel-item {
        min-height: auto !important;
    }
}