/* ========== HOME PAGE SPECIFIC STYLES ========== */

.content-wrapper {
    position: relative;
    background: #ffffff;
    z-index: 10;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.8rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 118, 210, 0.08);
}

.about-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.2rem;
}

/* ========== SPECIALTIES SECTION ========== */
.specialties-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
    padding: 5rem 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* ========== STATS SECTION ========== */
.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(25, 118, 210, 0.1);
}

.stat-item {
    text-align: center;
    min-width: 120px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1976d2;
    line-height: 1.2;
    font-family: monospace;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #0d47a1;
    text-shadow: 0 2px 10px rgba(25, 118, 210, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    color: #5a6e7c;
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #1976d2;
}

/* ========== FEATURED PRODUCTS SLIDER ========== */
.featured-products-section {
    padding: 5rem 0;
    background: #ffffff;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: #5a6e7c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.slider-container {
    position: relative;
    padding: 0 40px;
}

.featured-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1.5rem;
    align-items: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.featured-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.featured-slider::-webkit-scrollbar-track {
    background: transparent;
}

.featured-slider::-webkit-scrollbar-thumb {
    background: transparent;
}

.featured-slider .home-product-card-wrapper {
    flex: 0 0 auto;
    width: calc(25% - 1.125rem);
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #1976d2;
    border-color: #1976d2;
}

.slider-btn:hover i {
    color: white;
}

.slider-btn i {
    font-size: 1.4rem;
    color: #1976d2;
    transition: all 0.3s ease;
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* ========== HOME PRODUCT CARD - FIXED HEIGHT ========== */
.home-product-card-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-product-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-product-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(25, 118, 210, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.home-product-card-link:hover .home-product-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(25, 118, 210, 0.1);
    border-color: rgba(25, 118, 210, 0.2);
}

.home-product-card-link:hover .home-product-image img {
    transform: scale(1.05);
}

/* Home Product Badges */
.home-product-badge-sale,
.home-product-badge-featured {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-product-badge-sale {
    background: #e53935;
    color: white;
}

.home-product-badge-featured {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: white;
}

/* Home Product Image */
.home-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f5 100%);
}

.home-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

/* Home Product Info - Fixed Height for Uniform Cards */
.home-product-info {
    padding: 0.8rem 0.8rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-product-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem;
}

.home-product-short-desc {
    font-size: 0.7rem;
    color: #5a6e7c;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2rem;
}

.home-product-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
    min-height: 2rem;
}

.home-current-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1976d2;
}

.home-current-price.no-price {
    font-size: 0.65rem;
    color: #6c86a0;
}

.home-old-price {
    font-size: 0.65rem;
    color: #9aaebf;
    text-decoration: line-through;
}

.home-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: #f0f7ff;
    color: #1976d2;
    padding: 0.35rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
    min-height: 28px;
}

.home-product-link:hover {
    background: #1976d2;
    color: white;
}

/* ========== VIEW ALL BUTTON - IMPROVED ========== */
.view-all-btn {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border: 2px solid #1976d2;
    color: #1976d2;
    padding: 0.85rem 2.5rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view-all i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-view-all:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.25);
}

.btn-view-all:hover i:last-child {
    transform: translateX(-5px);
}

/* ========== HERO IMAGE ========== */
.hero-image-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fullscreen .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.hero-fullscreen .hero-content,
.hero-fullscreen .scroll-indicator {
    z-index: 2;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-slider .home-product-card-wrapper {
        width: calc(33.33% - 1rem);
    }
}

@media (max-width: 992px) {
    .slider-container {
        padding: 0 30px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
    }
    
    .slider-btn i {
        font-size: 1.2rem;
    }
    
    .slider-prev {
        left: -10px;
    }
    
    .slider-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .specialties-section {
        padding: 3rem 0;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .why-choose-us {
        padding: 3rem 0;
    }
    
    .featured-products-section {
        padding: 3rem 0;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-item {
        min-width: 90px;
    }
    
    .hero-image-img {
        object-position: center 30%;
    }
    
    .featured-slider .home-product-card-wrapper {
        width: calc(50% - 0.75rem);
        min-width: 200px;
    }
    
    .slider-container {
        padding: 0 25px;
    }
    
    .slider-btn {
        width: 34px;
        height: 34px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
    
    .slider-prev {
        left: -8px;
    }
    
    .slider-next {
        right: -8px;
    }
    
    .featured-slider {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .featured-slider::-webkit-scrollbar {
        display: none;
    }
    
    /* View All Button Responsive */
    .view-all-btn {
        margin-top: 2rem;
    }
    
    .btn-view-all {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
}

@media (max-width: 576px) {
    .featured-slider .home-product-card-wrapper {
        width: calc(85% - 0.5rem);
        min-width: 220px;
    }
    
    .slider-container {
        padding: 0 15px;
    }
    
    .slider-prev {
        left: -5px;
    }
    
    .slider-next {
        right: -5px;
    }
    
    .about-text {
        font-size: 0.85rem;
    }
    
    .hero-image-img {
        object-position: center 40%;
    }
    
    .home-product-title {
        font-size: 0.85rem;
    }
    
    .home-current-price {
        font-size: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .specialties-grid,
    .features-grid {
        gap: 1rem;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    
    .slider-btn i {
        font-size: 0.9rem;
    }
    
    .home-product-info {
        padding: 0.6rem 0.6rem 0.8rem;
    }
    
    .home-product-title {
        font-size: 0.8rem;
        min-height: 2rem;
    }
    
    .home-product-short-desc {
        font-size: 0.65rem;
        min-height: 1.8rem;
    }
    
    .home-current-price {
        font-size: 0.75rem;
    }
    
    .home-product-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
        min-height: 24px;
    }
    
    /* View All Button Responsive */
    .btn-view-all {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .btn-view-all i {
        font-size: 0.9rem;
    }
}