@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-green: #2d5f4f;
    --secondary-green: #4a8068;
    --accent-coral: #ff6b6b;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --font-sans: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    --font-serif: "Playfair Display", "Georgia", serif;
    --button-bg: var(--primary-green);
    --button-bg-hover: var(--secondary-green);
    --button-text: #ffffff;
    --button-outline: var(--primary-green);
}

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

body {
    margin-top: 67px;
    /* To account for fixed navbar */
    color: var(--dark-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
}

.btn-warning {
    background: var(--accent-coral);
    border: none;
    color: white;
        padding: 12px 30px;
        border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    letter-spacing: 0.2px;
}

.page-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-coral);
    border-radius: 2px;
}

.read-more {
    color: var(--secondary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(45, 95, 79, 0.05);
}

.read-more:hover {
    background: var(--primary-green);
    color: white;
    gap: 12px;
    transform: translateX(5px);
}

.read-more::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Styles */
.navbar {
    background: #f3f5f7 !important;
    padding: 10px 0;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar .container {
    column-gap: 24px;
}

.navbar-brand {
    font-size: 1.0rem;
    font-weight: bold;
    color: #000 !important;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.navbar-brand img {
    height: 34px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.navbar-nav {
    gap: 12px;
}

.navbar-nav .nav-link {
    font-size: 0.92rem;
    color: var(--dark-text) !important;
    font-weight: 500;
    margin: 0;
    padding: 6px 12px !important;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
    border-top: 0.45em solid var(--dark-text);
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    opacity: 0.9;
}

.navbar-nav .nav-link:hover {
    background: transparent;
    color: var(--accent-coral) !important;
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(45, 95, 79, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
    z-index: 11000;
}

.back-to-top:hover {
    background: var(--secondary-green);
    transform: translateY(-12px);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 80px;
        width: 40px;
        height: 40px;
    }
}

.dropdown-menu {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background: var(--accent-coral);
    color: white !important;
}

.btn-quote {
    background: var(--button-bg);
    border: 2px solid var(--button-bg);
    color: var(--button-text);
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: var(--button-bg-hover);
    border-color: var(--button-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 95, 79, 0.35);
    color: var(--button-text);
}

@media (max-width: 991px) {
    .btn-quote-mobile {
        width: 100%;
        margin-top: 1rem;
    }

    .btn-quote-desktop {
        display: none;
    }
}

@media (min-width: 992px) {
    .btn-quote-mobile {
        display: none;
    }
}

/* Navigation Styles ends */

/* Category Navigation Styles */
.category-link {
    text-decoration: none;
    text-align: center;
}

.image-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #2d5f4f;
    padding: 4px;
    background: #fff;
    transition: 0.3s;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-name {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-green);
    transition: 0.3s;
}

/* Hover */
.category-link:hover .image-wrapper {
    border-color: #ff6b6b;
    transform: translateY(-3px);
}

.category-link:hover .category-name {
    color: #ff6b6b;
}

/* Mobile sizing */
@media (max-width: 576px) {
    .image-wrapper {
        width: 100px;
        height: 100px;
    }

    .category-name {
        font-size: 14px;
    }
}

/* Category Navigation Styles ends */

/* About Section */
.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--secondary-green);
    margin-bottom: 20px;
}

.about-stats {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

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

.about-img {
    width: 600px;
    height: 500px;
}

@media (max-width: 992px) {
    .about-img {
        width: 100%;
        height: auto;
    }
}

.rounded-lg {
    border-radius: 20px !important;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.why-choose-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid transparent;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-green);
}

.choose-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.why-choose-card:hover .choose-icon {
    transform: scale(1.1) rotate(5deg);
}

.choose-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.choose-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-coral);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.blog-date {
    color: #666;
}

.blog-category {
    background: var(--accent-coral);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--accent-coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.btn-outline-primary {
    color: var(--button-outline);
    border-color: var(--button-outline);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 95, 79, 0.3);
}

/* Blog Listing Page */
.blog-listing {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    background: var(--light-bg);
    min-height: 100vh;
}

.blog-listing .blog-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blog-listing .search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.blog-listing .search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.blog-listing .search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 95, 79, 0.1);
}

.blog-listing .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

.blog-listing .view-toggle {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-listing .view-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-listing .view-btn.active {
    background: var(--primary-green);
    color: white;
}

.blog-listing .view-btn:hover:not(.active) {
    background: #f8f9fa;
}

.blog-listing .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

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

.blog-listing .articles-grid.list-view {
    grid-template-columns: 1fr;
}

.blog-listing .article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.blog-listing .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-coral), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-listing .article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-listing .article-card:hover::before {
    transform: scaleX(1);
}

.blog-listing .articles-grid.list-view .article-card {
    flex-direction: row;
    max-height: 280px;
}

.blog-listing .articles-grid.list-view .article-image-container {
    width: 350px;
    min-width: 350px;
    height: auto;
}

.blog-listing .articles-grid.list-view .article-image,
.blog-listing .articles-grid.list-view .article-image-placeholder {
    height: 100%;
}

.blog-listing .article-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.blog-listing .article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-listing .article-card:hover .article-image {
    transform: scale(1.08);
}

.blog-listing .article-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.5s ease;
}

.blog-listing .article-card:hover .article-image-placeholder {
    transform: scale(1.08) rotate(5deg);
}

.blog-listing .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.blog-listing .article-card:hover .image-overlay {
    opacity: 1;
}

.blog-listing .overlay-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-listing .article-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-listing .article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #6c757d;
    flex-wrap: wrap;
    align-items: center;
}

.blog-listing .article-category {
    background: linear-gradient(135deg, var(--accent-coral), #ff6b6b);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.blog-listing .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-listing .article-content h3 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-listing .article-card:hover h3 {
    color: var(--secondary-green);
}

.blog-listing .article-excerpt {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1.05rem;
}

.blog-listing .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.blog-listing .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-listing .author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-listing .author-name {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.95rem;
}

.blog-listing .article-card:hover .read-more::after {
    transform: translateX(3px);
}

.blog-listing .featured-article {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
    margin-bottom: 20px;
}

.blog-listing .featured-article .article-image-container {
    height: 100%;
}

.blog-listing .featured-article .article-content {
    padding: 40px;
}

.blog-listing .featured-article h3 {
    font-size: 2.2rem;
}

.blog-listing .featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-coral);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.blog-listing .no-articles {
    text-align: center;
    padding: 100px 20px;
    color: #6c757d;
    font-size: 1.3rem;
    grid-column: 1 / -1;
}

.blog-listing .no-articles-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .blog-listing .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .blog-listing .featured-article {
        grid-template-columns: 1fr;
    }

    .blog-listing .featured-article .article-image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .blog-listing .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-listing .search-box {
        min-width: 100%;
    }

    .blog-listing .view-toggle {
        justify-content: center;
    }

    .blog-listing .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-listing .articles-grid.list-view .article-card {
        flex-direction: column;
        max-height: none;
    }

    .blog-listing .articles-grid.list-view .article-image-container {
        width: 100%;
        height: 250px;
    }

    .blog-listing .article-image-container {
        height: 240px;
    }

    .blog-listing .article-content {
        padding: 25px;
    }

    .blog-listing .featured-article .article-content {
        padding: 30px;
    }

    .blog-listing .featured-article h3 {
        font-size: 1.8rem;
    }
}

/* Blog Detail Page */

.article-hero {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    color: white;
    padding: 80px 20px 60px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-hero .article-category {
    background: var(--accent-coral);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.article-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.article-hero .article-meta {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-hero .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-hero .author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.article-hero .reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.blog-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
    margin-top: -30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.blog-article .article-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.blog-article .article-image-container:hover {
    transform: scale(1.01);
}

.blog-article .article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.blog-article .article-image-container:hover .article-image {
    transform: scale(1.05);
}

.blog-article .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-article .article-image-container:hover .image-overlay {
    opacity: 1;
}

.blog-article .image-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.blog-article .image-action-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-article .image-action-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoom-close:hover {
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.blog-article .article-body h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin: 42px 0 18px;
    line-height: 1.35;
    scroll-margin-top: 100px;
}

.blog-article .article-body h3 {
    color: var(--secondary-green);
    font-size: 1.5rem;
    margin: 30px 0 14px;
    line-height: 1.4;
    scroll-margin-top: 100px;
}

.blog-article .article-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.95;
    color: #2f3a45;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-article .article-body p {
    margin-bottom: 1.1em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.blog-article .article-body blockquote {
    border-left: 4px solid var(--accent-coral);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--secondary-green);
}

.blog-article .article-body ul,
.blog-article .article-body ol {
    margin: 20px 0 20px 30px;
}

.blog-article .article-body li {
    margin-bottom: 12px;
    font-size: 1.06rem;
    line-height: 1.8;
    color: #2f3a45;
}

.blog-article .article-body a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.blog-article .article-body a:hover {
    color: var(--secondary-green);
}

.blog-article .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.blog-article .article-body strong,
.blog-article .article-body b {
    color: #1f2a35;
}

.blog-article .article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    display: block;
    overflow-x: auto;
}

.blog-article .article-body table th,
.blog-article .article-body table td {
    border: 1px solid #d6dde3;
    padding: 10px 12px;
    text-align: left;
}

.blog-article .article-body table th {
    background: #f6f8fa;
    color: #1f2a35;
}

.blog-article .share-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
}

.blog-article .share-title {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-article .share-buttons {
    display: flex;
    gap: 15px;
}

.blog-article .share-btn {
    padding: 12px 24px;
    border: 2px solid var(--button-outline);
    background: transparent;
    color: var(--button-outline);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-article .share-btn:hover {
    background: var(--button-bg);
    color: var(--button-text);
    transform: translateY(-2px);
}

.related-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.related-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
}

.related-articles .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-articles .related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.related-articles .related-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-articles .related-content {
    padding: 20px;
}

.related-articles .related-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.related-articles .related-content p {
    color: #4a5568;
    font-size: 0.95rem;
}

.related-articles .read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 20px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(45, 95, 79, 0.25);
    background: rgba(45, 95, 79, 0.06);
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.related-articles .related-card:hover .read-more-btn {
    background: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(45, 95, 79, 0.25);
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background: var(--accent-coral);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-hero .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-article .article-image-container {
        height: 300px;
    }

    .blog-article .article-body {
        max-width: 100%;
        font-size: 1.03rem;
        line-height: 1.8;
    }

    .blog-article .article-body h2 {
        font-size: 1.5rem;
    }

    .blog-article .article-body h3 {
        font-size: 1.25rem;
    }

    .blog-article .share-buttons {
        flex-wrap: wrap;
    }

    .related-articles .related-grid,
    .related-products .related-grid,
    .related-section .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Certificates Section */
.certificates-section {
    padding: 30px 0;
    background: var(--light-bg);
}

.certificate-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    text-align: left;
    transition: all 0.25s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 1px solid #efe7df;
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    border-color: #e2d6cb;
}

.certificate-badge {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-badge img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
}

.certificate-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.certificate-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Countries Section */
.countries-export-section .carousel-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    animation: none;
}

.countries-export-section .country-item {
    flex: 0 0 auto;
    width: 220px;
    margin-bottom: 0;
}

.countries-export-section .country-card {
    gap: 12px;
}

.countries-export-section .country-flag {
    width: 200px;
    height: 120px;
    object-fit: contain;
}

.country-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .countries-export-section .carousel-track {
        gap: 18px;
    }

    .countries-export-section .country-item {
        width: 190px;
    }

    .countries-export-section .country-flag {
        width: 180px;
        height: 108px;
    }
}

@media (max-width: 576px) {
    .countries-export-section .carousel-track {
        gap: 14px;
    }

    .countries-export-section .country-item {
        width: 165px;
    }

    .countries-export-section .country-flag {
        width: 155px;
        height: 96px;
    }

    .country-name {
        font-size: 1rem;
    }
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-green);
}

.product-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-green);
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--secondary-green);
    color: white;
    transform: scale(1.1);
}

.products-section .product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3d32 100%);
    color: #fff;
    padding: 3rem 1rem 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-coral), var(--secondary-green), var(--accent-coral));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
    align-items: start;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-coral);
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer-cta p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-coral);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact p::before {
    content: '●';
    color: var(--accent-coral);
    font-size: 0.6rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--accent-coral);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.footer-cta .libutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    text-align: center;
    outline: none;
    text-decoration: none;
    color: #ffffff;
    width: 100%;
    max-width: 240px;
    height: 36px;
    border-radius: 18px;
    background-color: #0A66C2;
    font-family: "SF Pro Text", Helvetica, sans-serif;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-coral);
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .footer-section h3::after {
        left: 0;
        transform: none;
    }

    .footer-links a {
        justify-content: left;
    }

    .footer-contact p {
        justify-content: left;
    }

    .social-links {
        justify-content: left;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Contact us page specific styles */
#contact {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

#contact-header {
    text-align: center;
    margin-bottom: 50px;
}

#contact-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    margin-top: 20px;
}

#contact-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-green);
}

#contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Details Section */
#contact-details {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#details-title {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.detail-item {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.detail-icon {
    color: var(--accent-coral);
    font-size: 1.5rem;
    min-width: 30px;
}

.detail-content {
    flex: 1;
}

.detail-item h3 {
    color: var(--secondary-green);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

#contact-address,
#contact-email,
#contact-phone,
#contact-hours {
    color: var(--dark-text);
    font-size: 1rem;
}

/* Form Section */
#contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#form-title {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-green);
    font-weight: 600;
}

#name-input,
#email-input,
#subject-input,
#message-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

#name-input:focus,
#email-input:focus,
#subject-input:focus,
#message-input:focus {
    outline: none;
    border-color: var(--secondary-green);
}

#message-input {
    resize: vertical;
    min-height: 120px;
}

#submit-button {
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 14px 40px;
    border: 2px solid var(--button-bg);
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

#submit-button:hover {
    background-color: var(--button-bg-hover);
    border-color: var(--button-bg-hover);
}

@media (max-width: 768px) {
    #contact-container {
        grid-template-columns: 1fr;
    }
}

/* End of contact us page specific styles */

/* About us page specific styles */
#about-us {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
}

#about-header {
    text-align: center;
    margin-bottom: 50px;
}

#about-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

#about-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-green);
    max-width: 700px;
    margin: 0 auto;
}

#about-content {
    margin-bottom: 50px;
}

/* End of about us page specific styles */

/* Products page specific styles */
.product-detail-container {
    max-width: 1400px;
    margin-top: 0;
    margin-bottom: 50px;
}


.product-info-heading {
    margin-bottom: 30px;
    color: var(--dark-text);
}

.product-detail {
    border-radius: 0;
   
    margin-bottom: 0;
    overflow: hidden;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

/* Image Gallery */
.product-gallery {
    padding: 40px;
    background: var(--light-bg);
    min-width: 0;
}

#product-detail .main-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: zoom-in;
}

.breadcrumb{
    font-size: 0.9rem;
    background-color: var(--accent-coral);
    min-height: 40px;
    height: auto;
    display: flex;
    align-items: center;
    margin: -28px 0 0 !important;
    padding: 0 !important;
    border-radius: 0;
    overflow: hidden;
}

.breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;}

.breadcrumb-current {
    color: #fff;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#product-detail .main-image-wrapper.zoomed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    cursor: zoom-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
}

#product-detail .main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

#product-detail .main-image:hover {
    transform: scale(1.05);
}

#product-detail .main-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#product-detail .main-image-wrapper.zoomed .main-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.product-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-coral);
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

#product-detail .thumbnail-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    min-height: 106px;
    align-items: center;
    scrollbar-gutter: stable;
}

#product-detail .thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#product-detail .thumbnail:hover,
#product-detail .thumbnail.active {
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

#product-detail .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Info */
.product-info-section {
    padding: 50px;
    min-width: 0;
}

#product-detail .product-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.product-price {
    font-size: 2rem;
    color: var(--accent-coral);
    font-weight: 700;
    margin-bottom: 30px;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

#product-detail .product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Key Features */
.key-features {
    margin-bottom: 30px;
}

.key-features h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 30px;
}



.btn-whatsapp:hover {
    border-color: var(--button-bg-hover);
}

/* Product Meta */
.product-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    font-weight: 700;
    color: var(--primary-green);
}

.meta-value {
    color: #666;
}

/* Tabs Section */
.product-tabs {
    background: white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--light-bg);
}

.tab-btn {
    padding: 20px 40px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-green);
}

.tab-btn.active {
    color: var(--primary-green);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-coral);
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.tab-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.specifications-table tr {
    border-bottom: 1px solid var(--light-bg);
}

.specifications-table td {
    padding: 15px 20px;
    font-size: 1rem;
}

.specifications-table td:first-child {
    font-weight: 700;
    color: var(--primary-green);
    width: 40%;
}

.specifications-table td:last-child {
    color: #666;
}

/* Certifications */
.certifications {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cert-badge {
    padding: 15px 25px;
    background: var(--light-bg);
    border-left: 4px solid var(--accent-coral);
    font-weight: 600;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-badge i {
    color: var(--accent-coral);
    font-size: 1.5rem;
}

/* Related Products */
.related-products {
    margin-top: 50px;
}

.related-image-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.related-products .related-grid,
.related-section .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.related-products .related-card,
.related-section .related-card {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-products .related-card:hover,
.related-section .related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-products .related-image,
.related-section .related-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-products .related-card:hover .related-image,
.related-section .related-card:hover .related-image {
    transform: scale(1.1);
}

.related-products .related-info,
.related-section .related-info {
    padding: 25px;
}

.related-products .related-info h4,
.related-section .related-info h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.related-products .related-info p,
.related-section .related-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.view-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--button-bg);
}

.view-btn:hover {
    background: var(--button-bg-hover);
    border-color: var(--button-bg-hover);
}

/* Product detail page extras */
#product-detail .video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

#product-detail .video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#product-detail .video-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(45, 95, 79, 0.85);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding-left: 2px;
}

#product-detail .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

#product-detail .lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#product-detail .lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

#product-detail .lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#product-detail .lightbox-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

#product-detail .lightbox-prev,
#product-detail .lightbox-next {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
}

#product-detail .action-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 15px;
}

#product-detail .btn-primary,
#product-detail .btn-warning,
#product-detail .btn-whatsapp {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    padding: 14px;
    border: 2px solid var(--button-bg);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    white-space: normal;
}

#product-detail .action-buttons .btn-text {
    display: block;
    min-width: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#product-detail .features-tags {
    max-width: 900px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

#product-detail .tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff5f0;
    color: #666;
    border-radius: 30px;
    font-size: 13px;
    border: 1px solid #ffe8dd;
}

#product-detail .product-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

#product-detail .meta-item {
    margin-bottom: 10px;
}

#product-detail .meta-label {
    font-weight: 600;
    color: #666;
    margin-right: 8px;
}

#product-detail .product-details-accordion {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

#product-detail .accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

#product-detail .accordion-item:last-child {
    border-bottom: none;
}

#product-detail .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

#product-detail .accordion-header:hover {
    background: #f8f9fa;
}

#product-detail .accordion-header.active {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-green);
}

#product-detail .accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
}

#product-detail .accordion-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    border-radius: 8px;
}

#product-detail .accordion-toggle i {
    transition: transform 0.3s ease;
}

#product-detail .accordion-header.active .accordion-toggle i {
    transform: rotate(180deg);
}

#product-detail .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}

#product-detail .accordion-content.active {
    max-height: 2000px;
    padding: 0 25px 25px;
}

#product-detail .specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

#product-detail .specifications-table tr {
    border-bottom: 1px solid #f0f0f0;
}

#product-detail .specifications-table td {
    padding: 12px 8px;
    font-size: 14px;
}

#product-detail .specifications-table td:first-child {
    color: #666;
    width: 40%;
    font-weight: 500;
}

#product-detail .certifications-grid {
    margin: 20px 0;
}

#product-detail .cert-item {
    color: var(--dark-text);
    font-size: 0.95rem;
}

#product-detail .cert-item i {
    color: var(--primary-green);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.product-query-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.product-query-modal.show {
    display: flex !important;
}

.product-query-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-query-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.product-query-form-group {
    margin-bottom: 20px;
}

.product-query-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.product-query-form-group input,
.product-query-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.product-query-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--button-bg);
}

#product-detail .related-products-carousel {
    position: relative;
}

#product-detail .related-products-carousel .carousel-inner {
    padding: 0 48px;
}

#product-detail .related-products-carousel .carousel-control-prev,
#product-detail .related-products-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: rgba(45, 95, 79, 0.9);
    border-radius: 50%;
}

#product-detail .related-products-carousel .carousel-control-prev {
    left: 0;
}

#product-detail .related-products-carousel .carousel-control-next {
    right: 0;
}

#product-detail .related-products-carousel .carousel-control-prev-icon,
#product-detail .related-products-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

@media (min-width: 769px) {
    #product-detail .related-products .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    #product-detail .related-products .related-image,
    #product-detail .related-products .related-image-wrapper {
        height: 180px;
    }

    #product-detail .related-products .related-info {
        padding: 14px;
    }

    #product-detail .related-products .related-info h4 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    #product-detail .related-products .related-info p {
        font-size: 0.86rem;
        margin-bottom: 12px;
    }

    #product-detail .related-products .view-btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 992px) {
    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        padding: 30px;
    }

    .product-info-section {
        padding: 30px;
    }

    #product-detail .main-image-wrapper {
        max-height: 420px;
    }

    #product-detail .product-title {
        font-size: 2rem;
    }

    #product-detail .action-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.82rem;
    }

    .breadcrumb a {
        padding: 0 8px;
    }

    .breadcrumb-separator {
        margin: 0 3px;
    }

    .action-buttons {
        flex-direction: column;
    }

    #product-detail .product-info-section {
        padding: 24px 16px;
    }

    #product-detail .product-title {
        font-size: clamp(1.45rem, 7vw, 1.95rem);
        line-height: 1.2;
    }

    #product-detail .action-buttons .btn-warning,
    #product-detail .action-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        padding: 10px 12px;
        font-size: 13.5px;
        min-height: 46px;
        justify-content: center;
        gap: 8px;
    }

    #product-detail .features-tags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin: 16px 0 0;
    }

    #product-detail .tag {
        width: 100%;
        margin: 0;
        justify-content: center;
        text-align: center;
    }

    #product-detail .features-tags .tag:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 70%;
        justify-self: center;
    }

    .product-meta {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-content {
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .related-products .related-image,
    .related-section .related-image,
    .related-image-wrapper {
        height: 140px;
    }

    .related-products .related-info,
    .related-section .related-info {
        padding: 12px;
    }

    .related-products .related-info h4,
    .related-section .related-info h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .related-products .related-info p,
    .related-section .related-info p {
        font-size: 0.82rem;
        margin-bottom: 10px;
        line-height: 1.45;
    }

    .related-products .view-btn,
    .related-section .view-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    #product-detail .related-products-carousel .carousel-inner {
        padding: 0 8px;
    }

    #product-detail .related-products-carousel .carousel-control-prev,
    #product-detail .related-products-carousel .carousel-control-next {
        width: 34px;
        height: 34px;
    }

    #product-detail .thumbnail {
        width: 65px;
        height: 65px;
    }

    #product-detail .thumbnail-gallery {
        min-height: 71px;
        gap: 10px;
    }

    #product-detail .accordion-header {
        padding: 16px 18px;
    }

    #product-detail .accordion-title {
        font-size: 16px;
    }

    #product-detail .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    body.product-mobile-actions-fixed {
        padding-bottom: 90px;
    }

    #product-detail .action-buttons.mobile-fixed-visible {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        margin: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #ffffff;
        box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.12);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #product-detail .action-buttons.mobile-fixed-visible .btn-warning,
    #product-detail .action-buttons.mobile-fixed-visible .btn-whatsapp {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    #product-detail .action-buttons .btn-warning,
    #product-detail .action-buttons .btn-whatsapp {
        padding: 9px 10px;
        font-size: 13px;
        min-height: 44px;
        gap: 6px;
    }

    #product-detail .action-buttons .btn-text {
        font-size: 13px;
        line-height: 1.2;
    }

    #product-detail .action-buttons .btn-warning i,
    #product-detail .action-buttons .btn-whatsapp i {
        font-size: 12px;
    }
}

/* Category page specific styles */
.product-showcase {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.showcase-content {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 60px 50px 40px;
    color: white;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.showcase-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.showcase-btn {
    padding: 14px 35px;
    border: 2px solid var(--button-outline);
    background: transparent;
    color: var(--button-outline);
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.showcase-btn:hover {
    background: var(--button-bg);
    color: var(--button-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 95, 79, 0.3);
}

.showcase-btn i {
    font-size: 1.1rem;
}

/* Related Products Section */
.related-section {
    margin-top: 40px;
}

.section-header {
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 0;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.no-products {
    background: #d1ecf1;
    color: #0c5460;
    padding: 25px 30px;
    border-radius: 0;
    border-left: 5px solid #17a2b8;
    font-size: 1.1rem;
}

/* Product Grid for Related Items */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.products-grid .product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.products-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    /* makes it a square */
    overflow: hidden;
    background: var(--light-bg);
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-coral);
    color: white;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-tag {
    background: var(--light-bg);
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
    border: 1px solid rgba(45, 95, 79, 0.1);
}

.product-footer {
    display: flex;
    gap: 10px;
}

.inquiry-btn {
    flex: 1;
    padding: 12px;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inquiry-btn:hover {
    background: var(--button-bg-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .showcase-content {
        height: 400px;
    }

    .showcase-overlay {
        padding: 40px 25px 30px;
    }

    .showcase-title {
        font-size: 1.8rem;
    }

    .showcase-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .product-gallery {
        padding: 20px 16px;
    }

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

    .col-md-4 .bg-dark {
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .col-md-4 .bg-dark:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(255, 107, 107, 0.2);
    }

    .col-md-4 .bg-dark h6 {
        font-weight: 600;
        margin-bottom: 8px;
    }

    .col-md-4 .bg-dark p {
        flex-grow: 1;
        line-height: 1.5;
        color: #e0e0e0;
    }

    .col-md-4 .bg-dark .btn {
        margin-top: auto;
        width: fit-content;
        font-size: 0.85rem;
        padding: 6px 16px;
        transition: all 0.3s ease;
    }

    .col-md-4 .bg-dark .btn:hover {
        background-color: #ff6b6b;
        color: white;
        border-color: #ff6b6b;
    }

    .col-md-4.mb-2 {
        margin-bottom: 20px !important;
    }
}
