/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.flex{
    display: flex;
}
.flex-justify-end{
    justify-content: flex-end;
}
.flex1{
    flex: 1;
}

body {
    font-family: "Arial", "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    margin: 0 auto;
    padding: 0 135px;
}

/* Hero Section - Full Image Carousel */
.hero {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.hero-slide.active {
    transform: translateX(0);
    z-index: 2;
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero CTA Button */
.hero-cta-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: inline-block;
    padding: 12px 32px;
    background-color: #00a86b;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.hero-cta-btn:hover {
    background-color: #008f5b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

.hero-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 168, 107, 0.3);
}

/* Carousel Controls - Bottom Left */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.carousel-btn img {
    width: 40px;
    height: 40px;
    display: block;
}

/* Dots Indicator */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dots .dot.active {
    background-color: #00a86b;
    border-color: #fff;
    transform: scale(1.2);
}

.hero-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 46px;
    color: #484848;
    margin-bottom: 70px;
}

.categories-grid {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 534px);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 366px;
    cursor: pointer;
}

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

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

.category-btn {
    position: absolute;
    bottom: 25px;
    right: 16px;
    width: 207px;
    height: 56px;
    background: #188f5b;
    box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
    border-radius: 10px 10px 10px 10px;
    font-family: Poppins, Poppins;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    line-height: 56px;
    text-align: center;
}

.category-btn:hover {
    background-color: #008f5b;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }

    .carousel-controls {
        bottom: 15px;
        left: 15px;
    }

    .carousel-btn img {
        width: 30px;
        height: 30px;
    }

    .hero-cta-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 24px;
        font-size: 12px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}
