/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
}


/* Slider Styles - Mobile Optimized */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 0px;
    z-index: 1;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 500px;
}

#userSlider {
    width: 100%;
    height: 100%;
}

#userSlider .slick-slide {
    height: calc(100vh - 80px);
    min-height: 500px;
}

.slider-item {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: flex-end;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Slick Slider Custom Styles */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
}

.hero-slider .slick-prev {
    left: 30px;
}

.hero-slider .slick-next {
    right: 30px;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: var(--secondary-color);
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    font-size: 18px;
    color: white;
}

.hero-slider .slick-dots {
    bottom: 30px;
    z-index: 100;
}

.hero-slider .slick-dots li {
    margin: 0 5px;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: var(--white);
    opacity: 1;
}

/* MOBILE RESPONSIVE STYLES */
/* Slider Styles - Mobile Optimized */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 80px;
    z-index: 1;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 500px;
}

#userSlider {
    width: 100%;
    height: 100%;
}

#userSlider .slick-slide {
    height: calc(100vh - 80px);
    min-height: 500px;
}

.slider-item {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: flex-end;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Slick Slider Custom Styles */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
}

.hero-slider .slick-prev {
    left: 30px;
}

.hero-slider .slick-next {
    right: 30px;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: var(--secondary-color);
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    font-size: 18px;
    color: white;
}

.hero-slider .slick-dots {
    bottom: 30px;
    z-index: 100;
}

.hero-slider .slick-dots li {
    margin: 0 5px;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: var(--white);
    opacity: 1;
}

/* MOBILE RESPONSIVE STYLES */

/* Tablets (less than 992px) */
@media (max-width: 991.98px) {
    .slider-container {
        height: 500px;
        min-height: 500px;
    }
    
    #userSlider .slick-slide {
        height: 500px;
        min-height: 500px;
    }
    
    .slider-item {
        height: 500px;
        min-height: 500px;
        background-size: cover;
        background-position: center;
        align-items: flex-end;
    }
    
    .slider-content {
        text-align: left;
        padding: 40px 20px;
    }
}

/* Mobile devices (less than 768px) */
@media (max-width: 767.98px) {
    .slider-container {
        height: 450px;
        min-height: 450px;
    }
    
    #userSlider .slick-slide {
        height: 450px;
        min-height: 450px;
    }
    
    .slider-item {
        height: 450px;
        min-height: 450px;
        background-size: cover;
        background-position: center;
        align-items: flex-end;
    }
    
    .slider-content {
        text-align: left;
        padding: 30px 20px;
    }
    
    /* Mobile navigation arrows */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider .slick-prev {
        left: 15px;
    }
    
    .hero-slider .slick-next {
        right: 15px;
    }
    
    .hero-slider .slick-prev:before,
    .hero-slider .slick-next:before {
        font-size: 16px;
    }
    
    /* Mobile dots */
    .hero-slider .slick-dots {
        bottom: 20px;
    }
    
    .hero-slider .slick-dots li {
        margin: 0 3px;
    }
    
    .hero-slider .slick-dots li button:before {
        font-size: 10px;
    }
}

/* Small mobile devices (less than 576px) */
@media (max-width: 575.98px) {
    .slider-container {
        height: 400px;
        min-height: 400px;
    }
    
    #userSlider .slick-slide {
        height: 400px;
        min-height: 400px;
    }
    
    .slider-item {
        height: 400px;
        min-height: 400px;
        background-size: cover;
        background-position: center;
        align-items: flex-end;
    }
    
    .slider-content {
        text-align: left;
        padding: 25px 15px;
    }
    
    /* Very small navigation elements */
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .hero-slider .slick-prev {
        left: 10px;
    }
    
    .hero-slider .slick-next {
        right: 10px;
    }
    
    .hero-slider .slick-prev:before,
    .hero-slider .slick-next:before {
        font-size: 14px;
    }
    
    .hero-slider .slick-dots {
        bottom: 15px;
    }
}
/* Categories Section Styles - FIXED */
.categories-section {
    padding: 30px 0;
    background-color: var(--light-gray);
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.category-count {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.category-count i {
    margin-right: 8px;
}

.section-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
    margin-bottom: 50px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.category-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-decoration: none;
}

.category-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.explore-btn {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-card:hover .explore-btn {
    transform: translateY(0);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.category-content {
    padding: 25px;
    text-align: center;
    background: white;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.no-categories {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    grid-column: 1 / -1;
}

.no-categories i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.no-categories h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.no-categories p {
    color: #666;
    margin-bottom: 0;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
   
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header {
        font-size: 2rem;
    }
    
    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 10px 25px;
    }
    
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .categories-section {
        padding: 60px 0;
    }
    
    .category-image-container {
        height: 200px;
    }
    
    .card-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
  
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .slider-content {
        padding: 60px 0;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .section-header {
        font-size: 1.8rem;
    }
    
    .category-content {
        padding: 20px;
    }
}
