:root {
    --primary: #1A3626;       /* Forest Green */
    --primary-dark: #0F2116;
    --accent: #D4AF37;        /* Harvest Gold */
    --accent-hover: #B8932E;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
html[data-theme="dark"] {
    --primary: #1A3626;       /* Keep forest green for branding */
    --primary-dark: #0F2116;
    --accent: #D4AF37;        /* Keep gold for accent */
    --accent-hover: #B8932E;
    --text-dark: #E0E0E0;     /* Light text for dark background */
    --text-light: #A0A0A0;    /* Light gray for secondary text */
    --bg-light: #0F172A;      /* Dark background */
    --white: #1E293B;         /* Dark card background */
    --border: #334155;        /* Dark border */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Global transitions for dark mode */
*, *::before, *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body { 
    font-family: 'Inter', system-ui, sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
    background: var(--bg-light); 
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; }

.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.main-nav a:hover {
    color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
}
.main-nav a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    box-shadow: 0 5px 14px rgba(184, 147, 46, 0.28);
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 5px;
    left: 10px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.75);
}
.main-nav a.active:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(184, 147, 46, 0.36);
}

.header-actions { display: flex; gap: 15px; align-items: center; }

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.theme-toggle-btn i {
    transition: transform 0.3s ease;
}

.btn { padding: 10px 24px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Hero Section */
.hero { background: linear-gradient(rgba(26, 54, 38, 0.85), rgba(26, 54, 38, 0.9)), url('../images/hero-bg.jpg'); background-size: cover; background-position: center; color: var(--white); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: #CBD5E1; max-width: 700px; margin: 0 auto 30px; }

/* Sections */
.section { padding: 80px 0; }
.section-bg { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; }
.section-title p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* Product Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.product-card-img { height: 220px; overflow: hidden; background: #F8FAFC; display: flex; align-items: center; justify-content: center; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }

/* Dark mode fix for product card image */
@media (prefers-color-scheme: dark) {
    .product-card-img { background: #334155; }
}

/* Product Details */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }
.product-detail-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.product-detail-info h1 { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.product-meta { display: flex; gap: 20px; margin-bottom: 20px; color: var(--text-light); font-size: 0.9rem; }
.product-price { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.product-description { color: var(--text-dark); line-height: 1.8; margin-bottom: 30px; }

/* Footer */
.site-footer { background: var(--primary); color: #CBD5E1; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .main-nav { display: none; } /* Add mobile menu JS later */
    .product-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .hero h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}


/* About Hero */
.about-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.3rem;
    color: #CBD5E1;
    max-width: 700px;
    margin: 0 auto;
}

/* Story Section */
.story-grid {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.story-text p {
    margin-bottom: 20px;
}

/* Mission, Vision, Values */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid var(--border);
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mvv-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mvv-content {
    padding: 30px;
    text-align: center;
}

.mvv-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.mvv-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.mvv-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 30px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.timeline-item.left .timeline-marker {
    right: -25px;
}

.timeline-item.right .timeline-marker {
    left: -25px;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.timeline-year {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .mvv-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: 5px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .mvv-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
}


/* Page Hero */
.page-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--accent);
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero-excerpt {
    font-size: 1.2rem;
    color: #CBD5E1;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Content */
.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-content-wrapper.template-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
}

.page-content-wrapper.template-full-width {
    max-width: 100%;
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.page-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content a {
    color: var(--accent);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--accent-hover);
}

/* Sidebar */
.page-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.sidebar-widget ul li a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
    .page-content-wrapper.template-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-excerpt {
        font-size: 1rem;
    }
}



/* ============================================
   SERVICES FRONTEND STYLES
   ============================================ */

/* Services Hero */
.services-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.services-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.services-hero-subtitle {
    font-size: 1.2rem;
    color: #CBD5E1;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Card */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 38, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card-content {
    padding: 24px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-top: -40px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-card:not(.featured) .service-card-icon {
    margin-top: 0;
}

.service-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 12px;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #F59E0B);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.category-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 0 5px 0;
}

.category-header p {
    color: var(--text-light);
    margin: 0;
}

/* Service List Item */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-list-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-list-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-list-content {
    flex: 1;
}

.service-list-content h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 5px 0;
}

.service-list-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Service Hero (Detail Page) */
.service-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.service-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent);
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-hero-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-hero-description {
    font-size: 1.2rem;
    color: #CBD5E1;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Content Wrapper */
.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
}

.service-main-content {
    min-width: 0;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.service-description h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.service-description h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.service-description p {
    margin-bottom: 20px;
}

.service-description ul, .service-description ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.service-description li {
    margin-bottom: 10px;
}

/* Features Grid */
.service-features {
    margin-bottom: 40px;
}

.service-features h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features h2 i {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Benefits Grid */
.service-benefits {
    margin-bottom: 40px;
}

.service-benefits h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-benefits h2 i {
    color: var(--accent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #F59E0B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 0;
}

/* Process Timeline */
.service-process {
    margin-bottom: 40px;
}

.service-process h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-process h2 i {
    color: var(--accent);
}

.process-timeline {
    position: relative;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-number {
    position: absolute;
    left: -40px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.process-step-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.process-step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
}

.sidebar-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sidebar-cta p {
    color: #CBD5E1;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sidebar-cta .btn-block {
    width: 100%;
    justify-content: center;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget h3 i {
    color: var(--accent);
}

.other-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-services-list li {
    margin-bottom: 10px;
}

.other-services-list li a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.other-services-list li a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.other-services-list li a i {
    font-size: 0.9rem;
    color: var(--accent);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-info p i {
    color: var(--accent);
    width: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .services-hero-title,
    .service-hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list-item {
        flex-direction: column;
        text-align: center;
    }
}



/* ============================================
   NEWS FRONTEND STYLES
   ============================================ */

/* News Hero */
.news-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}

.news-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.news-hero-subtitle {
    font-size: 1.2rem;
    color: #CBD5E1;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured News Section */
.featured-news-section {
    padding: 60px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.featured-main {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-main:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.category-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.breaking-tag {
    padding: 6px 14px;
    background: #EF4444;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    animation: pulse 2s infinite;
}

.featured-content {
    padding: 30px;
}

.featured-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-content h2 a:hover {
    color: var(--accent);
}

.featured-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--accent);
}

/* Featured Side */
.featured-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-side-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    transition: transform 0.3s ease;
}

.featured-side-item:hover {
    transform: translateX(5px);
}

.featured-side-image {
    width: 120px;
    flex-shrink: 0;
}

.featured-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-content {
    padding: 16px;
    flex: 1;
}

.category-tag-sm {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-side-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 8px 0;
    line-height: 1.4;
}

.featured-side-content h3 a {
    color: inherit;
    text-decoration: none;
}

.featured-side-content h3 a:hover {
    color: var(--accent);
}

.article-meta-sm {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.article-meta-sm span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Categories Filter */
.categories-filter-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.categories-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Search Section */
.news-search-section {
    padding: 30px 0;
}

.news-search-form {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-search {
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-search:hover {
    background: var(--accent-hover);
}

.btn-clear {
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Articles Grid */
.articles-section {
    padding: 40px 0 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.article-breaking {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: #EF4444;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.article-body {
    padding: 24px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--accent);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Empty State */
.empty-articles {
    text-align: center;
    padding: 80px 20px;
}

.empty-articles i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-articles h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.empty-articles p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.pagination-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-numbers {
    display: flex;
    gap: 6px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-number.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 0 8px;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: #fff;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #CBD5E1;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */

/* Article Hero */
.article-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px;
}

.article-hero-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.article-hero-breaking {
    display: inline-block;
    padding: 6px 16px;
    background: #EF4444;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-left: 8px;
    margin-bottom: 16px;
}

.article-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.article-hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #CBD5E1;
}

.article-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-hero-meta i {
    color: var(--accent);
}

/* Article Layout */
.article-section {
    padding: 60px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.article-main {
    min-width: 0;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 30px 0;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

/* Tags */
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.article-tags h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-tags h4 i {
    color: var(--accent);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Share Buttons */
.article-share {
    margin-top: 30px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
}

.article-share h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy-link { background: var(--primary); }

/* Author Box */
.author-box {
    margin-top: 40px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget h3 i {
    color: var(--accent);
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.related-item:hover {
    background: var(--bg-light);
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-placeholder {
    width: 80px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.related-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.related-date {
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background: var(--bg-light);
}

.category-list li a .count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
}

.newsletter-widget h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.newsletter-widget h3 i {
    color: var(--accent);
}

.newsletter-widget p {
    color: #CBD5E1;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sidebar-newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.sidebar-newsletter-form .btn-block {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .featured-news-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-side {
        flex-direction: row;
    }
    
    .featured-side-item {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .news-hero-title,
    .article-hero-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-side {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-hero-meta {
        flex-direction: column;
        gap: 12px;
    }
}