/* home.css - Style specyficzne dla strony głównej MediHub Theme */
/* Lokalizacja: /user/themes/medihub-theme/css/home.css */

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 70px;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 70%;
    background-color: rgba(117, 169, 249, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background-color: rgba(243, 156, 18, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    text-align: center;
    position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 2.4rem;
    color: #FF9500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 149, 0, 0.3);
    animation: fadeIn 0.5s ease-out;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--off-white);
    max-width: 100%;
    text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--blue-light);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--blue-light);
  color: white;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-image {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 70%;
    border-radius: var(--radius);
}

/* Hero slideshow - tylko CSS, bez JS */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30,86,160,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.7) blur(0px);
    opacity: 0;
    animation: heroSlideshow 20s infinite;
    z-index: -1;
}

/* Staggered delays dla 4 zdjęć */
.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 5s; }
.hero-slideshow img:nth-child(3) { animation-delay: 10s; }
.hero-slideshow img:nth-child(4) { animation-delay: 15s; }

/* Dla większej liczby zdjęć - dynamiczne delays */
.hero-slideshow img:nth-child(5) { animation-delay: 20s; }
.hero-slideshow img:nth-child(6) { animation-delay: 25s; }

/* Keyframes dla fade effect */
@keyframes heroSlideshow {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    24%  { opacity: 1; }
    28%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Prefers reduced motion - accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-slideshow img {
        animation: none;
        opacity: 1;
    }
    
    .hero-slideshow img:not(:first-child) {
        opacity: 0;
    }
}

/* Karuzela usług */
.carousel-container {
    position: relative;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0px 30px 15px;
    display: flex;
    justify-content: center;
}

.carousel .service-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--orange);
    transition: var(--transition);
}

.carousel .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon-container {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 45px;
    height: 45px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--blue-dark);
}

.service-card p {
    font-size: 16px;
    color: #666;
}

/* Nawigacja karuzeli */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 100;
}

.carousel-control {
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    margin: 0 15px;
}

.carousel-control:hover {
    background-color: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-control:active {
    transform: translateY(0);
}

.carousel-control svg {
    width: 24px;
    height: 24px;
    fill: var(--blue-dark);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--blue-dark);
    transform: scale(1.2);
}

/* Sekcja problemów - kompaktowe kafle */
.problems {
    background-color: var(--gray-light);
    padding: 15px 15px;
}

.problems-container {
    margin-bottom: 20px;
}

.problems-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.problem-tile {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-left: 3px solid var(--blue-light);
}

.problem-tile:hover, .problem-tile.active {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    border-left: 3px solid var(--orange);
}

.problem-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    transition: var(--transition);
}

.problem-tile:hover .problem-icon, .problem-tile.active .problem-icon {
    background-color: var(--orange);
}

.problem-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--blue-dark);
    transition: var(--transition);
}

.problem-tile:hover .problem-icon svg, .problem-tile.active .problem-icon svg {
    fill: var(--white);
}

.problem-content {
    flex: 1;
}

.problem-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.3;
    transition: var(--transition);
}

.problem-tile:hover .problem-title, .problem-tile.active .problem-title {
    color: var(--orange);
}

.problem-description {
    height: 0;
    max-height: 0;
    font-size: 0.8rem;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
    color: #64748B;
}

.problem-tile:hover .problem-description, .problem-tile.active .problem-description {
    height: auto;
    max-height: 100px;
    font-size: 0.8rem;
    opacity: 1;
    margin-top: 5px;
    line-height: 1.4;
}

/* Solutions Section */
.solutions {
    background-color: var(--white);
    padding: 30px 0;
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solutions-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.solutions-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 86, 160, 0.3) 0%, 
        rgba(243, 156, 18, 0.07) 50%,
        rgba(243, 156, 18, 0.15) 75%,
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    border-radius: var(--radius-lg);
}

.solutions-image-container img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    z-index: 0;
}

.solutions-image-container img:hover {
    transform: scale(1.02);
}

.solutions-content-wrapper {
    order: 2;
}

.solutions-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.solution-item {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border-left: 4px solid var(--orange);
}

.solution-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.solution-header {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.solution-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--blue-light);
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.solution-item:hover .solution-icon {
    background-color: var(--orange);
}

.solution-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--blue-dark);
    transition: var(--transition);
}

.solution-item:hover .solution-icon svg {
    fill: white;
}

.solution-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-dark);
    transition: var(--transition);
    margin: 0;
}

.solution-content {
    max-height: 0;
    opacity: 0;
    padding: 0 16px 0 60px;
    transition: var(--transition);
    overflow: hidden;
}

.solution-item:hover .solution-content {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 16px;
    padding-top: 16px;
}

.solution-description {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.solution-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--blue-light);
    transition: var(--transition);
}

.solution-item:hover::before {
    width: 5px;
    background-color: var(--orange);
}

/* CTA for solutions */
.solutions .cta-container {
    text-align: center;
    padding: 0px 0;
}

.solutions .cta-text {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #4A5568;
}

/* Mobile Layout */
@media (max-width: 992px) {
    .solutions-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .solutions-image-container {
        display: none;
    }
    
    .solutions-content-wrapper {
        position: relative;
        min-height: 80vh;
        padding: 2rem 1rem;
        border-radius: var(--radius-lg);
        overflow: hidden;
        background-image: var(--mobile-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .solutions-content-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(30, 86, 160, 0.6) 0%, 
            rgba(243, 156, 18, 0.5) 50%,
            rgba(0, 0, 0, 0.4) 100%);
        z-index: 1;
    }
    
    .solutions-content-wrapper > * {
        position: relative;
        z-index: 2;
    }
    
    .solutions-content-wrapper .header h1 {
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    
    .solutions-content-wrapper .header h1::after {
        background-color: white;
    }
    
    .solutions-content-wrapper .header p {
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
    
    .solutions-content-wrapper .cta-text {
        color: white !important;
        text-shadow: 0 2px 6px rgba(0,0,0,0.8);
        font-weight: 700 !important;
        font-size: 1.2rem !important;
        background: rgba(0,0,0,0.3);
        padding: 15px 20px;
        border-radius: 10px;
        margin: 20px 0 !important;
        text-align: center;
    }
    
    .solution-item {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-left-color: var(--blue-dark);
    }
}

/* Desktop - bez background */
@media (min-width: 993px) {
    .solutions-content-wrapper {
        background-image: none !important;
    }
}

@media (max-width: 768px) {
    .solutions-layout {
        min-height: 70vh;
    }

    .solutions-content-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* Process Section */
.process {
    background-color: var(--gray-light);
    position: relative;
    padding: 15px 15px;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), var(--gray-light));
}

.process-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 15px;
    color: var(--gray-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(to bottom, var(--blue-light), var(--blue-medium), var(--blue-dark));
    border-radius: 1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 2rem);
}

.timeline-content {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--blue-dark);
    box-shadow: 0 0 0 3px rgba(61, 130, 211, 0.3);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* Animacje dla sekcji procesu */
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.hint-interactive .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item.hint-interactive .timeline-dot {
    background-color: var(--blue-dark);
    box-shadow: 0 0 0 3px rgba(61, 130, 211, 0.3);
}

/* CTA Button */
.cta-container {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cta-text {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(243, 156, 18, 0.3);
    min-height: 50px;
    box-sizing: border-box;
    vertical-align: top;
}

.cta-button:hover {
    background-color: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(243, 156, 18, 0.4);
}

/* Media responsiveness */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .problems-wrapper {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide {
        padding: 15px;
    }
    
    .carousel-control {
        width: 36px;
        height: 36px;
        margin: 0 8px;
    }
    
    .carousel-control svg {
        width: 20px;
        height: 20px;
    }

    .hero-slideshow img {
    filter: blur(10%);
    object-fit: cover;
    object-position: center center;
    animation-duration: 16s;
    }
    
    .hero-slideshow img:nth-child(1) { animation-delay: 0s; }
    .hero-slideshow img:nth-child(2) { animation-delay: 4s; }
    .hero-slideshow img:nth-child(3) { animation-delay: 8s; }
    .hero-slideshow img:nth-child(4) { animation-delay: 12s; }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-slideshow img {
    filter: blur(8%);
    }
}

/* Clients Section */
.clients {
    background-color: var(--off-white);
    padding: 30px 0;
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.clients-track {
    display: flex;
    gap: 100px;
    overflow: hidden;
    animation: clientsScroll 30s linear infinite;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    height: 100%;
    width: auto;
    max-width: 150px;
    /*opacity: 0.6;*/
    /*filter: grayscale(100%);*/
    transition: all 0.3s ease;
    object-fit: contain;
}

.client-logo img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Animation */
@keyframes clientsScroll {
    from { 
        transform: translateX(0); 
    }
    to { 
        transform: translateX(-55.55%); 
    }
}

/* Media queries */
@media (max-width: 768px) {
    .clients {
        padding: 30px 0;
    }
    
    .clients-track {
        gap: 100px;
        animation-duration: 20s; /* Faster on mobile */
    }
    
    .client-logo {
        height: 60px;
    }
    
    .client-logo img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .clients-track {
        gap: 70px;
        animation-duration: 20s; /* Even faster on small mobile */
    }
    
    .client-logo img {
        max-width: 180px;
    }
}

/* ---------- Case Studies Section ---------- */
.case-studies {
    background-color: var(--gray-light);
    padding: 30px 0;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), var(--gray-light));
}

/* Case Study Card - rozszerza istniejący .service-card */
.case-study-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    width: 100%;
    max-width: 350px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    text-align: center;
    border-top: 4px solid var(--blue-dark);
    transition: var(--transition);
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Case Study Image */
.case-study-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--gray-light);
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

/* Case Study Content */
.case-study-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Metric Badge */
.case-study-metric {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange), #e67e22);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 20px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.metric-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Case Study Title & Description - używa stylu jak .service-card */
.case-study-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--blue-dark);
    font-weight: 600;
    line-height: 1.3;
}

.case-study-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
    flex-grow: 1;
}

/* Case Study Link - stylizowany jak .read-more */
.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-medium);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
    font-size: 0.9rem;
}

.case-study-link:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.case-study-link svg {
    fill: currentColor;
    transition: var(--transition);
}

/* No Case Studies Message */
.no-case-studies {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.no-case-studies p {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* Case Studies Carousel Specifics */
.case-studies-carousel-container .carousel-slide {
    min-width: calc(100% / 3) !important;
    padding: 15px !important;
}

.case-studies-carousel-container .carousel-control {
    margin: 0 -22px;
}

/* Media Queries - rozszerza istniejące */
@media (max-width: 768px) {
    .case-studies {
        padding: 20px 0;
    }
    
    .case-study-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .case-study-image {
        height: 160px;
    }
    
    .case-study-metric {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .case-study-card h3 {
        font-size: 1.1rem;
    }
    
    .case-study-card p {
        font-size: 0.9rem;
    }

    .case-studies-carousel-container .carousel-slide {
        min-width: 100% !important;
        padding: 10px !important;
    }
}

@media (max-width: 992px) {
    .case-studies-carousel-container .carousel-slide {
        min-width: 50%;
    }
}

@media (max-width: 576px) {
    .case-study-image {
        height: 140px;
        margin-bottom: 15px;
    }
    
    .case-study-metric {
        margin-bottom: 15px;
    }
}

/* Tablet layout for case studies */
@media (max-width: 992px) and (min-width: 769px) {
    #case-studies-carousel-container .carousel-slide {
        min-width: 50% !important;
        padding: 12px !important;
    }
}