/* ========================================================
   homepage.css — PT Manunggal Agro Sejahtera (MAS)
   Styles for the public homepage (index.php)
   ======================================================== */

/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
body {
	font-family: 'Inter', 'Poppins', sans-serif;
	color: #1a1a1a;
	background: #fff;
	margin: 0;
}

/* ========== SLIDER ========== */
.slick-next { right: 25px; }
.slick-prev { z-index: 100; left: 25px; }
.slick-slide img { display: initial; }

.hero-slide {
	width: 100%;
	position: relative;
	overflow: hidden;
}
.hero-slide img {
	width: 100%;
	height: 85vh;
	object-fit: cover;
	display: block;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,30,15,0.72) 0%, rgba(10,30,15,0.25) 60%, transparent 100%);
	display: flex;
	align-items: center;
}
.hero-text {
	padding: 0 60px;
	max-width: 640px;
	color: white;
	animation: fadeSlideUp 0.8s ease both;
}
.hero-tag {
	display: inline-block;
	background: #65AD5E;
	color: white;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 6px 18px;
	border-radius: 30px;
	margin-bottom: 18px;
}
.hero-text h1 {
	font-family: 'Playfair Display', serif;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.15;
	margin: 0 0 16px;
	font-weight: 700;
}
.hero-text p {
	font-size: 16px;
	line-height: 1.7;
	opacity: 0.9;
	margin: 0 0 28px;
}
.hero-btn {
	display: inline-block;
	background: #65AD5E;
	color: white;
	padding: 14px 36px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.25s, transform 0.2s;
	border: 2px solid #65AD5E;
}
.hero-btn:hover {
	background: transparent;
	color: white;
	transform: translateY(-2px);
}
.hero-btn-outline {
	display: inline-block;
	color: white;
	padding: 14px 36px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid rgba(255,255,255,0.5);
	margin-left: 12px;
	transition: border-color 0.25s, background 0.25s;
}
.hero-btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }

/* ========== SECTION PATTERNS ========== */
.section { padding: 90px 0; width: 100%; }
.section-sm { padding: 60px 0; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #65AD5E;
	margin-bottom: 12px;
}
.section-title {
	font-size: clamp(24px, 3.5vw, 38px);
	font-weight: 800;
	color: #1a2e1a;
	margin: 0 0 16px;
	line-height: 1.2;
}
.section-title span { color: #4A6645; }
.section-desc {
	font-size: 15px;
	line-height: 1.8;
	color: #5a6872;
	max-width: 580px;
}
.divider-line {
	width: 56px;
	height: 4px;
	background: linear-gradient(90deg, #4A6645, #65AD5E);
	border-radius: 2px;
	margin: 16px 0 24px;
}
.divider-line.center { margin: 16px auto 24px; }

/* ========== ABOUT US ========== */
.about-section { background: #fff; width: 100%; }
.about-icon-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}
.about-icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	background: linear-gradient(135deg, #4A6645, #65AD5E);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.about-card {
	background: linear-gradient(135deg, #4A6645 0%, #2d6a4f 100%);
	border-radius: 20px;
	padding: 40px;
	color: white;
	position: relative;
	overflow: hidden;
}
.about-card::before {
	content: '';
	position: absolute;
	top: -40px; right: -40px;
	width: 200px; height: 200px;
	background: rgba(255,255,255,0.06);
	border-radius: 50%;
}
.about-card .stat {
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: #b8f5b0;
}
.about-card .stat-label {
	font-size: 13px;
	opacity: 0.8;
	margin-top: 4px;
}
.about-stat-row {
	display: flex;
	gap: 20px;
	margin-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.2);
	padding-top: 24px;
}
.about-stat-item { flex: 1; }

/* ========== HISTORY ========== */
.history-section { background: #f7faf7; width: 100%; }
.timeline-item {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: 32px;
}
.timeline-dot {
	min-width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #4A6645, #65AD5E);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 800;
	font-size: 11px;
	text-align: center;
	line-height: 1.2;
	flex-shrink: 0;
}
.timeline-content h5 {
	font-size: 16px;
	font-weight: 700;
	color: #1a2e1a;
	margin: 0 0 6px;
}
.timeline-content p {
	font-size: 14px;
	color: #5a6872;
	line-height: 1.7;
	margin: 0;
}

/* ========== POSITION SECTION ========== */
.position-section {
	background: linear-gradient(135deg, #1a2e1a 0%, #2d5a2d 50%, #4A6645 100%);
	color: white;
	position: relative;
	overflow: hidden;
	width: 100%;
}
.position-section::before {
	content: '';
	position: absolute;
	top: -100px; right: -100px;
	width: 400px; height: 400px;
	background: rgba(255,255,255,0.03);
	border-radius: 50%;
}
.position-section::after {
	content: '';
	position: absolute;
	bottom: -80px; left: -80px;
	width: 300px; height: 300px;
	background: rgba(255,255,255,0.03);
	border-radius: 50%;
}
.position-badge {
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.2);
	color: white;
	display: inline-block;
	padding: 8px 20px;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.position-highlight {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 20px;
	padding: 36px;
	backdrop-filter: blur(10px);
}

/* ========== MISSION CARDS ========== */
.mission-section { background: #fff; width: 100%; }
.mission-card {
	background: white;
	border-radius: 16px;
	padding: 32px 28px;
	height: 100%;
	box-shadow: 0 4px 24px rgba(0,0,0,0.06);
	border-top: 4px solid #4A6645;
	transition: transform 0.25s, box-shadow 0.25s;
	position: relative;
	overflow: hidden;
}
.mission-card:nth-child(2) { border-top-color: #65AD5E; }
.mission-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(74,102,69,0.15);
}
.mission-card-icon {
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, #e8f5e4, #c8e6c0);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 18px;
}
.mission-card h5 {
	font-size: 16px;
	font-weight: 700;
	color: #1a2e1a;
	margin: 0 0 12px;
}
.mission-card p {
	font-size: 13.5px;
	line-height: 1.8;
	color: #5a6872;
	margin: 0;
}

/* ========== STATS ========== */
.stats-section {
	background: linear-gradient(135deg, #4A6645 0%, #65AD5E 100%);
	color: white;
	width: 100%;
}
.stat-card {
	text-align: center;
	padding: 30px 20px;
}
.stat-number {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
	color: white;
}
.stat-number sup {
	font-size: 28px;
	font-weight: 700;
}
.stat-unit {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	opacity: 0.75;
	text-transform: uppercase;
	margin-top: 8px;
}
.stat-divider {
	width: 1px;
	background: rgba(255,255,255,0.2);
	height: 80px;
	align-self: center;
}

/* ========== COVERAGE ========== */
.coverage-section { background: #f7faf7; width: 100%; }
.principal-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: white;
	border: 1.5px solid #e0eede;
	border-radius: 50px;
	padding: 10px 24px;
	font-weight: 700;
	font-size: 15px;
	color: #2d5a2d;
	margin: 6px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.principal-pill:hover {
	border-color: #65AD5E;
	box-shadow: 0 4px 16px rgba(74,102,69,0.12);
}
.coverage-info {
	background: white;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.coverage-info h6 {
	font-size: 14px;
	font-weight: 700;
	color: #4A6645;
	margin: 0 0 8px;
}
.coverage-info p {
	font-size: 13.5px;
	color: #5a6872;
	line-height: 1.7;
	margin: 0;
}

/* ========== VISION ========== */
.vision-section { background: #1a2e1a; color: white; width: 100%; }
.vision-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 20px;
	padding: 40px 32px;
	text-align: center;
	height: 100%;
	transition: background 0.3s, transform 0.3s;
}
.vision-card:hover {
	background: rgba(255,255,255,0.1);
	transform: translateY(-4px);
}
.vision-card .icon {
	font-size: 44px;
	margin-bottom: 16px;
	display: block;
}
.vision-card h4 {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	margin: 0 0 14px;
	color: #b8f5b0;
}
.vision-card p {
	font-size: 13.5px;
	line-height: 1.8;
	opacity: 0.8;
	margin: 0;
}

/* ========== PRODUCTS ========== */
.products-section { background: #fff; width: 100%; }
.product-card {
	border-radius: 20px;
	padding: 36px 24px;
	text-align: center;
	color: white;
	text-decoration: none;
	display: block;
	transition: transform 0.28s, box-shadow 0.28s;
	position: relative;
	overflow: hidden;
}
.product-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.05);
	opacity: 0;
	transition: opacity 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.product-card:hover::before { opacity: 1; }
.product-card .icon { font-size: 44px; margin-bottom: 14px; display: block; }
.product-card h5 { font-size: 15px; font-weight: 800; letter-spacing: 1.5px; margin: 0 0 8px; }
.product-card span { font-size: 12px; opacity: 0.8; font-weight: 500; }
.pc-1 { background: linear-gradient(145deg, #2d6a4f, #52b788); }
.pc-2 { background: linear-gradient(145deg, #4A6645, #65AD5E); }
.pc-3 { background: linear-gradient(145deg, #1b4332, #40916c); }
.pc-4 { background: linear-gradient(145deg, #386641, #6a994e); }

/* ========== BUTTONS ========== */
.btn-primary-green {
	display: inline-block;
	background: #4A6645;
	color: white;
	padding: 14px 36px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid #4A6645;
	transition: all 0.25s;
}
.btn-primary-green:hover {
	background: transparent;
	color: #4A6645;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeSlideUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Fade-up animation - now handled by WOW.js + Animate.css */
/* Keeping for backward compatibility if needed */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
	.hero-text { padding: 0 24px; }
	.hero-text h1 { font-size: 28px; }
	.section { padding: 60px 0; }
}
/* ===================== PRODUCT PAGE STYLES ===================== */

/* Product Banner */
.banner-product {
    width: 100%;
    position: relative;
}

.banner-product img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.banner-overlay {
    background: transparent;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    padding: 20px;
    align-items: center;
    display: flex;
}

.banner-content {
    padding: 40px 20px;
    background: linear-gradient(45deg, #d9d9d9, #d9d9d900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
}

.banner-text h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.banner-text p {
    font-size: 16px;
    margin: 0;
    color: #666;
}

/* Product Categories */
.product-categories-section {
    width: 100%;
    padding: 40px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #4A6645;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid #65AD5E;
}

.category-info h3 {
    color: #4A6645;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 20px;
}

.category-info a {
    color: #65AD5E;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-info a:hover {
    color: #4A6645;
    text-decoration: none;
}

/* Product Recommendations */
.recommendations-section {
    background: linear-gradient(135deg, #65AD5E 0%, #4A6645 100%);
    padding: 40px 20px;
    margin-top: 50px;
}

.recommendations-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 350px;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
    color: #333;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
    font-size: 14px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    text-decoration: none;
}

.whatsapp-btn img {
    width: 20px;
    height: 20px;
}

/* Brand Sidebar */
.brand-sidebar {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.brand-sidebar h4 {
    font-size: 18px;
    font-weight: 700;
    color: #4A6645;
    margin-bottom: 20px;
}

.brand-item {
    background: white;
    border-radius: 25px;
    padding: 12px 20px;
    margin: 8px 0;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: block;
    color: #333;
    text-decoration: none;
}

.brand-item:hover {
    background: #65AD5E;
    color: white;
    border-color: #4A6645;
    text-decoration: none;
}

/* Product Grid */
.product-grid-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-grid-item:hover {
    border-color: #65AD5E;
    box-shadow: 0 4px 15px rgba(101, 173, 94, 0.2);
}

.product-grid-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-grid-item h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4A6645;
}

.product-grid-item p {
    font-size: 12px;
    margin: 2px 0;
}

.product-category {
    color: #666;
}

.product-brand {
    color: #65AD5E;
    font-weight: 500;
}

/* Slick Slider Customization for Product Page */
.product-page .slick-next {
    right: 25px;
    background: #65AD5E;
    border-radius: 100%;
}

.product-page .slick-prev {
    z-index: 100;
    left: 25px;
    background: #65AD5E;
    border-radius: 100%;
}

.product-page .slick-slide img {
    display: initial;
}

/* Responsive Design for Product Page */
@media (max-width: 768px) {
    .banner-content {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 14px;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-card {
        margin: 5px;
    }
    
    .brand-sidebar {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .product-categories-section {
        padding: 20px 10px;
    }
    
    .recommendations-section {
        padding: 30px 10px;
    }
    
    .banner-text h1 {
        font-size: 20px;
    }
    
    .category-info h3 {
        font-size: 18px;
    }
}
/* ===================== DETAIL PAGES STYLES ===================== */

/* Detail Header */
.detail-header {
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #65AD5E;
    margin-bottom: 30px;
}

.detail-header-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-header-icon {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #65AD5E;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.detail-header-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #4A6645;
}

.detail-header-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Detail Product Grid */
.detail-products-section {
    padding: 0 20px 40px;
}

.detail-product-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-product-card:hover {
    border-color: #65AD5E;
    box-shadow: 0 8px 25px rgba(101, 173, 94, 0.15);
    transform: translateY(-3px);
}

.detail-product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 10px;
}

.detail-product-info {
    padding: 10px 0;
}

.detail-product-name {
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #4A6645;
}

.detail-product-brand {
    color: #65AD5E;
    font-weight: 500;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.detail-product-category {
    color: #666;
    font-weight: 500;
    margin: 0 0 12px 0;
    font-size: 14px;
}

.detail-description-label {
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #4A6645;
    font-size: 14px;
}

.detail-product-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    margin-bottom: 20px;
}

.detail-whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

.detail-whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.detail-whatsapp-btn img {
    width: 20px;
    height: 20px;
}

/* Back Button */
.detail-back-btn {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.detail-back-btn:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
    transform: translateX(-3px);
}

/* No Products Message */
.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 40px 0;
}

.no-products-message h3 {
    color: #6c757d;
    font-size: 24px;
    margin-bottom: 15px;
}

.no-products-message p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Breadcrumb */
.detail-breadcrumb {
    background: transparent;
    padding: 15px 20px;
    margin-bottom: 0;
}

.detail-breadcrumb-item {
    color: #65AD5E;
    text-decoration: none;
    font-weight: 500;
}

.detail-breadcrumb-item:hover {
    color: #4A6645;
    text-decoration: none;
}

.detail-breadcrumb-separator {
    color: #6c757d;
    margin: 0 8px;
}

.detail-breadcrumb-current {
    color: #4A6645;
    font-weight: 600;
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
    .detail-header {
        padding: 20px 15px;
    }
    
    .detail-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-header-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 80px;
        height: 80px;
    }
    
    .detail-header-info h1 {
        font-size: 24px;
    }
    
    .detail-products-section {
        padding: 0 15px 30px;
    }
    
    .detail-product-card {
        margin-bottom: 20px;
    }
    
    .detail-product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .detail-header-info h1 {
        font-size: 20px;
    }
    
    .detail-header-info p {
        font-size: 12px;
    }
    
    .detail-product-image {
        height: 160px;
    }
    
    .detail-whatsapp-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}
/* ===================== HOMEPAGE PRODUCT SECTION ENHANCEMENTS ===================== */

/* Homepage Category Cards - Product Style Icons */
.category-card-homepage {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.category-card-homepage:hover {
    text-decoration: none;
    color: inherit;
}

.category-card-content {
    background: white;
    border-radius: 20px;
    padding: 40px 20px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #f0f0f0;
}

.category-card-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #65AD5E;
}

.category-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #65AD5E;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card-content:hover .category-icon-wrapper {
    transform: scale(1.1);
    border-color: #4A6645;
    box-shadow: 0 8px 25px rgba(101, 173, 94, 0.3);
}

.category-icon-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.category-card-content:hover .category-title {
    color: #65AD5E;
}

.category-link {
    font-size: 14px;
    color: #65AD5E;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.category-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: #65AD5E;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.category-card-content:hover .category-link::after {
    width: 100%;
}

/* Old product category icon styles - keep for backward compatibility but override */
.product-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #65AD5E;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
}

.product-category-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.product-card:hover .product-category-icon {
    transform: scale(1.1);
    border-color: #4A6645;
    box-shadow: 0 8px 20px rgba(101, 173, 94, 0.3);
}

/* Featured Products Section */
.featured-products-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.featured-product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.featured-product-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.featured-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-product-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #4A6645;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.featured-product-info .product-brand {
    font-size: 14px;
    color: #65AD5E;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.featured-product-info .product-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.featured-product-btn {
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.featured-product-btn:hover {
    background: #128C7E;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.featured-product-btn img {
    width: 16px;
    height: 16px;
}

/* Responsive adjustments for homepage products */
@media (max-width: 768px) {
    .featured-products-section {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .featured-product-image {
        height: 150px;
    }
    
    .featured-product-info h4 {
        font-size: 15px;
    }
    
    /* Category cards responsive */
    .category-card-content {
        height: 240px;
        padding: 30px 15px 25px;
    }
    
    .category-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
        border-width: 2px;
    }
    
    .category-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .category-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .featured-product-card {
        padding: 15px;
    }
    
    .featured-product-image {
        height: 130px;
    }
    
    .featured-product-info h4 {
        font-size: 14px;
    }
    
    .featured-product-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Category cards mobile */
    .category-card-content {
        height: 220px;
        padding: 25px 10px 20px;
    }
    
    .category-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
        border-width: 2px;
    }
    
    .category-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .category-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .category-link {
        font-size: 12px;
    }
}