/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --primary: #2c3e50;
    --accent: #27ae60;
    /* Divona Green */
    --accent-dark: #1e8449;
    --bg-light: #fdfbf7;
    /* Hafif krem */
    --bg-white: #ffffff;
    --text-dark: #222222;
    --text-light: #666666;
    --border: #e1e1e1;
    --font-main: 'Jost', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-weight: 300;
    /* Figtree Light */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Responsive Utilities --- */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* --- Top Bar --- */
.top-bar {
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 10px 0;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #ccc;
    margin-right: 20px;
}

.top-bar a:hover {
    color: #fff;
}

.top-right a {
    margin-left: 20px;
    margin-right: 0;
}

/* --- Header Re-design --- */
header {
    background: var(--bg-white);
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 100;
}

.header-inner {
    padding-top: 35px !important;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
}

.logo-accent {
    color: #27ae60;
    border: 1px solid #27ae60;
    border-radius: 50%;
    padding: 0 6px;
    margin-left: 4px;
    font-size: 1.4rem;
    vertical-align: middle;
}

.site-logo {
    max-height: 80px;
    /* Increased from 50px */
    width: auto;
    display: block;
}

.footer-logo {
    max-height: 80px;
    /* Increased from 50px */
    width: auto;
    display: block;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
}

.search-bar form {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    padding: 14px 20px 14px 50px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #555;
    position: relative;
    z-index: 101;
}

/* Search Autocomplete */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.search-result-info h6 {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    font-family: var(--font-main);
}

.search-result-info span {
    font-size: 0.85rem;
    color: var(--accent);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #222;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.login-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-link {
    font-size: 1.2rem;
    color: #222;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #27ae60;
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --- Navigation Menu (Desktop) --- */
.nav-container {
    border-top: 1px solid #f5f5f5;
    background: #fff;
    margin-top: 20px;
    padding-top: 10px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.nav-menu a {
    display: block;
    padding: 18px 0;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: #333;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s, text-shadow 0.3s;
}

/* HOVER EFFECT FIXED */
.nav-menu a:hover {
    color: #27ae60;
    /* Green Hover */
    text-shadow: 0 1px 3px rgba(39, 174, 96, 0.25);
    /* Subtle Shadow */
    font-weight: 600;
    /* Keep weight same to prevent resize */
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.drawer-content {
    padding: 20px;
    overflow-y: auto;
}

.drawer-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.drawer-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller Desktop (1024px and down) */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

    /* Reduce font size to fit */
    .search-bar {
        max-width: 300px;
    }
}

/* Mobile (768px and down) */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Top Bar */
    .top-bar {
        display: none;
    }

    /* Header Layout */
    .header-inner {
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-toggle {
        display: block;
        margin-right: 15px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-accent {
        font-size: 1.1rem;
    }

    /* Header Actions */
    .header-actions {
        gap: 15px;
    }

    .icon-link {
        font-size: 1.2rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Product Grid */
    .grid-banners {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    footer {
        padding: 40px 0;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }
}

/* --- Home Banner --- */
.home-banner-section {
    padding: 20px 0;
}

.banner-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.home-banner-img {
    width: 100%;
    height: 180px;
    /* Fixed banner height like reference */
    object-fit: cover;
    /* Crop to fit, don't distort */
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .home-banner-img {
        height: 120px;
        /* Smaller on mobile */
    }
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #f4f4f4;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 10;
    opacity: 0.7;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    opacity: 1;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease forwards;
}

.slide-content h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-hero:hover {
    background: var(--accent);
    color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Product Sections --- */
.section-products {
    padding: 20px 0;
    background-color: #f6f7f9;
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    /* Slightly larger title */
    font-weight: 600;
    color: #222;
}

.section-link {
    font-size: 0.9rem;
    color: #666;
    display: inline-block;
    /* Show 'See All' */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid transparent;
}

.section-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.product-carousel-wrapper {
    position: relative;
    overflow: visible;
    /* Allow buttons to sit possibly outside */
    padding: 0;
    /* Remove padding to let buttons sit flush or outside */
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.product-item {
    width: 260px;
    /* Increased to 260px */
    min-width: 260px;
    background: #fff;
    border: 1px solid #e1e1e1;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.product-item-img {
    width: 100%;
    height: 260px;
    /* Square 260px */
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-item:hover .product-item-img img {
    transform: scale(1.05);
}

.product-item-info {
    padding: 15px;
    text-align: left;
    background: #fff;
    flex-grow: 1;
    /* Fill remaining space */
}

.product-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    /* Prevent wrapping implies scrolling */
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
    margin: 0;
}

.product-old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: 400;
}

.btn-whatsapp-small {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 0;
    font-size: 0.75rem;
    color: var(--accent);
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    /* Larger hit area */
    height: 45px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    /* Ensure on top */
    border: 1px solid #eee;
    color: #333;
    font-size: 1rem;
    opacity: 0.9;
    /* More visible default */
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--accent);
    color: #fff;
    opacity: 1;
    border-color: var(--accent);
}

.carousel-prev {
    left: -22px;
}

/* Pull out slightly */
.carousel-next {
    right: -22px;
}

@media (max-width: 1440px) {

    /* If screen is smaller, pull buttons inside */
    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

.btn-whatsapp-small:hover {
    background: var(--accent);
    color: white;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h5 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #fff;
}

color: #999;
}

/* --- Product Accordion --- */
.product-accordion {
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
    font-family: var(--font-main);
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--accent);
    /* Greenish icon color */
}

.accordion-toggle-icon {
    font-size: 0.9rem;
    color: #999;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-toggle-icon {
    transform: rotate(45deg);
    /* Turn + to x or rotate chevron */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    /* Large enough */
    opacity: 1;
    visibility: visible;
    margin-bottom: 20px;
}

.accordion-body {
    padding-left: 30px;
    /* Indent body to align with text */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding-top: 10px;
}

.accordion-body img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* --- Gallery Navigation & Zoom --- */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    transition: 0.3s;
}

.gallery-nav:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}



/* --- Customer Reviews Section --- */
.reviews-section {
    padding: 30px 0;
}

.reviews-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Summary Card */
.review-summary-card {
    flex: 0 0 250px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.average-rating {
    text-align: center;
    margin-bottom: 20px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.average-rating .stars {
    color: #f1c40f;
    font-size: 1rem;
    margin: 8px 0;
}

.average-rating .total-count {
    color: #888;
    font-size: 0.8rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
    font-size: 0.75rem;
    color: #666;
}

.star-label {
    width: 25px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-label i {
    color: #f1c40f;
    font-size: 0.6rem;
}

.bar-bg {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #f1c40f;
    border-radius: 3px;
}

.count-label {
    width: 25px;
    text-align: right;
}

/* Reviews Grid */
.reviews-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-stars {
    color: #f1c40f;
    font-size: 0.8rem;
}

.review-date {
    font-size: 0.75rem;
    color: #999;
}

.review-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    flex: 1;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f9f9f9;
    padding-top: 10px;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-details .name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
}

.reviewer-details .verified {
    font-size: 0.7rem;
    color: #27ae60;
}

.points-badge {
    margin-left: auto;
    background: #e6f9ed;
    color: #27ae60;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.review-product-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    transition: 0.2s;
}

.review-product-link:hover {
    background: #eee;
}

.review-product-link img {
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 3px;
}

.review-product-link .no-img-placeholder {
    width: 25px;
    height: 25px;
    background: #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #888;
}

.review-footer {
    padding-top: 5px;
}

.btn-helpful {
    background: none;
    border: none;
    color: #27ae60;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #e6f9ed;
    border-radius: 15px;
}

@media (max-width: 900px) {
    .reviews-container {
        flex-direction: column;
    }

    .review-summary-card {
        width: 100%;
        flex: none;
    }
}

/* --- Blog Section --- */
.blog-section {
    padding-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.blog-image {
    height: 180px;
    position: relative;
    background: #f9f9f9;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image .no-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
    margin-top: auto;
}

.blog-read-more:hover {
    gap: 8px;
    color: #000;
}

.btn-all-blogs {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
    background: #fff;
}

.btn-all-blogs:hover {
    background: #f9f9f9;
    border-color: #ccc;
    color: #333;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Blog Detail Styles */
.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #95a5a6;
    text-decoration: none;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #34495e;
}

.blog-hero {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-content {
    padding: 40px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: white;
}

.hero-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    gap: 20px;
}

.hero-meta i {
    margin-right: 5px;
}

.summary-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 30px;
}

.blog-content-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
}

.blog-content-body p {
    margin-bottom: 20px;
}

.blog-content-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.blog-footer-tags {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #333;
}

.tag-badge {
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 20px;
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.tag-badge:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Sidebar Widgets */
.widget-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f1f1;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
    transition: 0.2s;
}

.btn-share i {
    margin-right: 10px;
}

.btn-share.facebook {
    background: #1877f2;
}

.btn-share.twitter {
    background: #000;
}

.btn-share.whatsapp {
    background: #25d366;
}

.btn-share:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-2px);
}

.dark-widget {
    background: #1e272e;
    color: white;
    border: none;
}

.dark-widget .widget-title {
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-subscribe {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-weight: 600;
    padding: 10px;
}

.btn-subscribe:hover {
    background: white;
    color: #1e272e;
}

.latest-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f9fa;
}

.latest-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lp-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.lp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.lp-info h6 {
    font-size: 0.95rem;
    color: #34495e;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: 0.2s;
}

.latest-post-item:hover h6 {
    color: var(--secondary);
}

.lp-date {
    font-size: 0.8rem;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .blog-hero {
        height: 300px;
        border-radius: 0;
        margin: 0 -15px;
        width: calc(100% + 30px);
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* Grid System for Blog Detail */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

/* Breadcrumb Styling */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    border-radius: 0.25rem;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

@media (max-width: 991px) {

    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
}