/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #fdfdf8 0%, #f8faf6 50%, #f3f8f1 100%);
    color: #2d3e2f;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

/* Hero Section */
.hero {
    background-image: url('https://via.placeholder.com/1920x600?text=Grădina+Ta+Perfectă');
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    backdrop-filter: blur(2px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(185, 204, 178, 0.3) 0%, rgba(212, 222, 207, 0.4) 50%, rgba(167, 186, 161, 0.3) 100%);
    backdrop-filter: blur(1px);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    z-index: 1;
    margin-bottom: 24px;
    font-weight: 200;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.2s ease-out;
}

.hero p {
    font-size: clamp(18px, 2.5vw, 24px);
    z-index: 1;
    margin-bottom: 36px;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1.6s ease-out;
}

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

.cta-button {
    z-index: 1;
    background: linear-gradient(135deg, #b9ccb2 0%, #a3bba1 100%);
    color: #fff;
    padding: 18px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(163, 187, 161, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #a3bba1 0%, #8fa896 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(163, 187, 161, 0.4);
}

/* Improved Top Products Section */
.carousel-section {
    padding: 100px 10px;
    text-align: center;
    position: relative;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(212, 222, 207, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(185, 204, 178, 0.1) 0%, transparent 50%);
}

.carousel-section h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 24px;
    color: #4a6b4f;
    position: relative;
    display: inline-block;
    font-weight: 300;
    letter-spacing: -0.5px;
    z-index: 1;
}

.carousel-section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #b9ccb2, #d4dece);
    border-radius: 1px;
}

.carousel {
    position: relative;
    margin: 50px auto;
    overflow: hidden;
    z-index: 1;
}

.carousel-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* Prevent wrapping of carousel items */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%; /* Ensure the inner container takes full width */
}
.carousel-item {
    flex: 0 0 100%; /* Each slide takes full width of the carousel */
    display: flex;
    flex-direction: row; /* Ensure product cards are horizontal */
    flex-wrap: nowrap; /* Prevent product cards from wrapping */
    justify-content: center;
    gap: 32px;
    padding: 20px;
    box-sizing: border-box;
    align-items: stretch; /* Face cardurile să aibă aceeași înălțime */
}

.product-card {
    background: white;
    border-radius: 24px;
    max-width: 320px; /* Ensure consistent width */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(212, 222, 207, 0.3);
    display: flex; /* Adăugat */
    flex-direction: column; /* Adăugat */
    height: 100%;
}

.precard {
    background: rgba(0, 128, 0, 0.28);
    border-radius: 24px;
    overflow: hidden;
    flex: 0 0 320px; /* Fixed width for product cards */
    max-width: 320px; /* Ensure consistent width */
    position: relative;
    border: 1px solid rgba(212, 222, 207, 0.3);
    display: flex; /* Adăugat */
    flex-direction: column; /* Adăugat */
}

.product-card:hover {
    transform: translateY(-25px) scale(1.02);
    box-shadow: 0 12px 40px rgba(74, 107, 79, 0.15);
    border-color: rgba(185, 204, 178, 0.5);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0; /* Adăugat - imaginea nu se comprimă */
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card .product-info {
    padding: 20px 20px; /* Modificat de la 5px 5px */
    text-align: center;
    display: flex; /* Adăugat */
    flex-direction: column; /* Adăugat */
    flex-grow: 1; /* Adăugat - ocupă spațiul disponibil */
}

.product-card h3 {
    font-size: 1.5em;
    color: #4a6b4f;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.product-card p {
    color: #6b7a6e;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
    flex-grow: 1; /* Adăugat - descrierea ocupă spațiul disponibil */
}

.product-card .price {
    font-size: 20px;
    font-weight: 500;
    color: #3d5a44;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.product-card .add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #b9ccb2 0%, #a8bda0 100%);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(185, 204, 178, 0.2);
    margin: 0 auto;
}
.product-card .add-to-cart:hover {
    background: linear-gradient(135deg, #a8bda0 0%, #9bb095 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(185, 204, 178, 0.3);
}

.product-card .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #d4dece 0%, #c7d4c1 100%);
    color: #4a6b4f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(74, 107, 79, 0.1);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(185, 204, 178, 0.9) 0%, rgba(167, 186, 161, 0.9) 100%);
    color: #fff;
    border: none;
    padding: 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background: linear-gradient(135deg, rgba(167, 186, 161, 0.95) 0%, rgba(155, 176, 149, 0.95) 100%);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #e8ede5 0%, #dde5da 100%);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(185, 204, 178, 0.3);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #b9ccb2 0%, #a8bda0 100%);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(185, 204, 178, 0.3);
}

/* Categories Section */
.categories {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fdfdf8 0%, #f8faf6 100%);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, rgba(240, 236, 229, 0.4) 0%, transparent 60%);
}

.categories h2 {
    font-size: 3.5em;
    margin-bottom: 50px;
    color: #4a6b4f;
    font-weight: 300;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 220px × 2 */
    gap: 64px; /* 32px × 2 */
    max-width: 2400px; /* 1200px × 2 */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.category-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px; /* 20px × 2 */
    padding: 64px 48px; /* 32px × 2, 24px × 2 */
    text-align: center;
    box-shadow: 0 8px 40px rgba(74, 107, 79, 0.06); /* 4px × 2, 20px × 2 */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(212, 222, 207, 0.3); /* 1px × 2 */
    position: relative;
    overflow: hidden;
}

/* Overlay pentru blur effect */
.category-card::before {
    content: '';
    position: absolute;
    top: -20px; /* -10px × 2 */
    left: -20px; /* -10px × 2 */
    width: calc(100% + 40px); /* 20px × 2 */
    height: calc(100% + 40px); /* 20px × 2 */
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(0.7px); /* 1.5px × 2 */
    z-index: 0;
}

/* Overlay pentru opacitate/contrast */
.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 250, 246, 0.16) 100%);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02); /* -6px × 2 */
    box-shadow: 0 24px 64px rgba(74, 107, 79, 0.12); /* 12px × 2, 32px × 2 */
    border-color: rgba(185, 204, 178, 0.5);
}

.category-card:hover::before {
    filter: blur(2px); /* 1px × 2 */
}

.category-card a {
    position: relative;
    z-index: 2;
    text-decoration: none;
    display: block;
}

.category-card i {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
}

.category-card:hover i {
    color: #2d4031;
    text-shadow: 0 4px 6px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* About Us Section */
.about-us {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfc 100%);
    position: relative;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 70%, rgba(212, 222, 207, 0.2) 0%, transparent 60%);
}

.about-us h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 28px;
    color: #4a6b4f;
    font-weight: 300;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #5a6b5d;
    font-weight: 300;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Reviews Section */
.reviews {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8faf6 0%, #f3f8f1 100%);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(240, 236, 229, 0.3) 0%, transparent 50%);
}

.reviews h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 50px;
    color: #4a6b4f;
    font-weight: 300;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.review-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfc 100%);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(74, 107, 79, 0.06);
    position: relative;
    border: 1px solid rgba(212, 222, 207, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(74, 107, 79, 0.1);
    border-color: rgba(185, 204, 178, 0.4);
}

.review-card::before {
    content: '"';
    font-size: 40px;
    color: #d4dece;
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: 'Georgia', serif;
    opacity: 0.7;
}

.review-card p {
    font-style: italic;
    color: #5a6b5d;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    padding-left: 20px;
}

.review-card .author {
    font-weight: 500;
    color: #4a6b4f;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.2px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #f0ece5 0%, #e8ede5 100%);
    padding: 40px 20px;
    text-align: center;
    color: #4a6b4f;
    font-weight: 300;
    border-top: 1px solid rgba(212, 222, 207, 0.3);
}

/* Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 65vh;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .product-card h3 {
        font-size: 1rem;
    }

    .product-card img {
        width: 100%;
        height: 200px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .carousel-item {
        flex: 0 0 100%; /* Ensure full width for slide */
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .product-card {
        flex: 0 0 300px; /* Adjust card width for smaller screens */
        max-width: 300px;
    }

    .carousel-prev, .carousel-next {
        width: 40px;
        height: 40px;
        padding: 12px;
    }

    .categories, .about-us, .reviews, .carousel-section {
        padding: 60px 20px;
    }
}


@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%; /* Ensure full width for slide */
        flex-direction: row;
        gap: 12px;
        padding: 10px;
        justify-content: center;
    }

    .product-card {
        flex: 0 0 280px; /* Further adjust card width */
        max-width: 280px;
    }

    .carousel-prev, .carousel-next {
        display: none; /* Hide arrows on very small screens */
    }
}

/* Subtle Micro-animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8faf6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4dece 0%, #c7d4c1 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c7d4c1 0%, #b9ccb2 100%);
}

@media (max-width: 768px) {
    /* Carousel Section - Minimalist Row Layout */
    .carousel-section {
        padding: 20px 10px;
        background: #ffffff;
        max-width: 1200px;
        margin: 0 auto;
    }

    .carousel-section h2 {
        text-align: center;
        font-size: 24px;
        font-weight: 300;
        color: #333;
        margin-bottom: 25px;
        letter-spacing: 2px;
    }

    /* Main Carousel Container */
    .carousel {
        position: relative;
        overflow: hidden;
    }

    /* Carousel Inner Container */
    .carousel-inner {
        display: flex;
        transition: transform 0.3s ease;
        will-change: transform;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Individual Carousel Slide - Row Layout */
    .carousel-item {
        min-width: 100%;
        display: grid;
        gap: 15px;
        padding: 0 5px;
        align-items: start;
    }

    /* Responsive Grid - Adapts to content */
    @media (max-width: 580px) {
        .carousel-item {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    @media (min-width: 581px) and (max-width: 768px) {
        .carousel-item {
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
        }
    }

    /* Minimalist Product Card */
    .product-card {
        background: #fff;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .product-card:hover {
        transform: translateY(-2px);
    }

    .product-card:focus {
        outline: 1px solid #007bff;
        outline-offset: 2px;
    }

    .product-card .product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1;
        overflow: hidden;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .product-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.2s ease;
    }

    .product-card:hover .product-image img {
        transform: scale(1.02);
    }

    /* Minimalist Badge */
    .product-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: #000;
        color: white;
        padding: 4px 8px;
        border-radius: 2px;
        font-size: 10px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 2;
    }

    .product-badge.popular {
        background: #007bff;
    }

    .product-badge.nou {
        background: #28a745;
    }

    .product-badge.oferta {
        background: #dc3545;
    }

    /* Minimalist Product Content */
    .product-content {
        padding: 15px 0 0 0;
        text-align: left;
    }

    .product-title {
        font-size: 13px;
        font-weight: 400;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.4;
        min-height: auto;
        display: block;
    }

    .product-price {
        font-size: 15px;
        font-weight: 600;
        color: #000;
        margin: 0;
    }

    /* Minimalist Navigation Buttons */
    .carousel-prev,
    .carousel-next {
        display: none;
    }

    /* Minimalist Carousel Dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 25px 0 0 0;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .carousel-dot.active {
        background: #000;
        transform: scale(1.3);
    }

    .carousel-dot:hover:not(.active) {
        background: #999;
    }

    .carousel-dot:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    /* Extra Small Screens */
    @media (max-width: 400px) {
        .carousel-section {
            padding: 15px 8px;
        }

        .carousel-item {
            gap: 12px;
            padding: 0 3px;
        }

        .product-content {
            padding: 12px 0 0 0;
        }
    }

    /* Animation Classes */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

    /* Clean Loading State */
    .carousel-loading {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 200px;
        background: #fff;
    }

    .carousel-loading::after {
        content: '';
        width: 20px;
        height: 20px;
        border: 2px solid #f0f0f0;
        border-top-color: #000;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
}

.logo {
    padding-top: 10px;
}


.home-css-hero {
    margin-top: 147px;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    padding: 0 20px 0 20px;
}

.home-css-carousel {
    background-color: #d4cece;
    display: flex;
    width: 100%;
    height: 100%;
}

.home-css-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.home-css-carousel-slide.home-css-active {
    opacity: 1;
    position: relative;
}

/* Different animations for each slide */
.home-css-carousel-slide:nth-child(1).home-css-active {
    transform: translateX(0);
}

.home-css-carousel-slide:nth-child(1) {
    transform: translateX(100%);
}

.home-css-carousel-slide:nth-child(2).home-css-active {
    transform: scale(1);
}

.home-css-carousel-slide:nth-child(2) {
    transform: scale(0.8);
}

.home-css-carousel-slide:nth-child(3).home-css-active {
    transform: rotate(0deg);
}

.home-css-carousel-slide:nth-child(3) {
    transform: rotate(10deg);
}

.home-css-carousel-slide:nth-child(4).home-css-active {
    transform: translateY(0);
}

.home-css-carousel-slide:nth-child(4) {
    transform: translateY(100%);
}

.home-css-carousel-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.62);
}

.home-css-carousel-text p {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .home-css-carousel-text h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .home-css-carousel-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .home-css-carousel-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .home-css-carousel-text p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

.home-css-cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.home-css-cta-button:hover {
    background-color: #218838;
}

.home-css-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 60px;
    display: flex;
    gap: 10px;
}

.home-css-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.home-css-dot.home-css-active {
    background-color: white;
}