/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #5A0E20;
    color: white;
    padding: 15px 20px;
    z-index: 1001;
    display: block;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.cookie-content a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #FFF;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-decline,
.cookie-accept {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-accept {
    background: #FFD700;
    color: #5A0E20;
    border: 1px solid #FFD700;
}

.cookie-accept:hover {
    background: #FFC107;
    border-color: #FFC107;
}

.navbar {
    background: #8B1538;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.flag-icon {
    width: 16px;
    height: 12px;
    margin-right: 5px;
    vertical-align: middle;
    border: none;
    background: transparent !important;
    object-fit: cover;
    box-shadow: none;
}

.language-switcher a img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher .nav-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.language-switcher .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-switcher .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.cookie-content a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-close {
    background: white;
    color: #5D1A1A;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-close:hover {
    background: #f0f0f0;
}

/* Navigation */
.navbar {
    background: #5D1A1A;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: top 0.3s;
}

body.cookie-banner-visible .navbar {
    top: 60px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .company-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* Individual tab colors matching original */
.nav-item:nth-child(1) .nav-link {
    background: #8B1538; /* Elegant red for Home */
}

.nav-item:nth-child(2) .nav-link {
    background: #8B1538; /* Elegant red for Products */
}

.nav-item:nth-child(3) .nav-link {
    background: #8B1538; /* Elegant red for About Us */
}

.nav-item:nth-child(4) .nav-link {
    background: #8B1538; /* Elegant red for EN */
}

.nav-item:nth-child(5) .nav-link {
    background: #8B1538; /* Elegant red for PL */
}

.nav-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.language-switcher .nav-link {
    padding: 8px 12px;
    border-radius: 20px;
}

.flag {
    width: 16px;
    height: 12px;
    margin-right: 5px;
    vertical-align: middle;
    border: none;
    background: transparent;
    object-fit: cover;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #5D1A1A;
    color: white;
    padding: 100px 0 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #5D1A1A;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-logo-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5D1A1A;
    margin-bottom: 20px;
}

.about h3 {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.highlight-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    border-left: 5px solid #5D1A1A;
    text-align: center;
}

.highlight-section h3 {
    color: #5D1A1A;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5D1A1A;
    margin-bottom: 20px;
}

.why-choose h3 {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 60px;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #5D1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5D1A1A;
    margin-bottom: 60px;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-category {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

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

.category-image {
    position: relative;
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.poultry .category-content h3 {
    background: #FF8C00;
    border: 3px solid #FF8C00;
}

.beef .category-content h3 {
    background: #228B22;
    border: 3px solid #228B22;
}

.pork .category-content h3 {
    background: #DC143C;
    border: 3px solid #DC143C;
}

.offals .category-content h3 {
    background: #4169E1;
    border: 3px solid #4169E1;
}

.category-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-subcategory {
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 5px solid #5D1A1A;
}

.product-subcategory h4 {
    font-size: 1.3rem;
    color: #5D1A1A;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-list {
    margin-bottom: 20px;
}

.product-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
}

.product-list li {
    padding: 8px 12px;
    background: white;
    border-radius: 5px;
    border-left: 3px solid #5D1A1A;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.product-list li:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.catalog-download {
    display: inline-block;
    background: #5D1A1A;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(139, 21, 56, 0.3);
}

.catalog-download:hover {
    background: #5D1A1A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 21, 56, 0.4);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #5D1A1A;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #5D1A1A;
}

.contact-item.owners {
    grid-column: 1 / -1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #5D1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: #5D1A1A;
    margin-bottom: 15px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.owner-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.owner {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid #5D1A1A;
}

.owner h5 {
    color: #5D1A1A;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.owner p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #5D1A1A;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #bdc3c7;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #5D1A1A;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #5D1A1A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    background: #5D1A1A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner {
        padding: 20px;
    }
    
    body.cookie-banner-visible .navbar {
        top: 120px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo-img {
        max-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-category {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-image img {
        height: 200px;
    }
    
    .product-list ul {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .owner-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .about h2,
    .why-choose h2,
    .products h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .product-subcategory {
        padding: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles for catalogs */
@media print {
    .navbar,
    .cookie-banner,
    .back-to-top {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}


/* Product Categories Dropdown Styles */
.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: #5D1A1A;
    color: white;
    transition: background-color 0.3s ease;
}

.category-header:hover {
    background: #4A1515;
}

.category-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.dropdown-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.category-description {
    padding: 0 1.5rem 1rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.category-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

.subcategory-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #5D1A1A;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.subcategory-button:hover {
    background: #4A1515;
    transform: translateX(5px);
}

.subcategory-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.subcategory-arrow.rotated {
    transform: rotate(90deg);
}

.product-list-container {
    margin: 1rem 0;
    border-left: 3px solid #5D1A1A;
    padding-left: 1rem;
}

.scrollable-product-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.scrollable-product-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-product-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.scrollable-product-list::-webkit-scrollbar-thumb {
    background: #5D1A1A;
    border-radius: 3px;
}

.scrollable-product-list::-webkit-scrollbar-thumb:hover {
    background: #4A1515;
}

.scrollable-product-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scrollable-product-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    font-size: 0.9rem;
}

.scrollable-product-list li:last-child {
    border-bottom: none;
}

.catalog-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #5D1A1A;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.catalog-download:hover {
    background: #4A1515;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 26, 26, 0.3);
}

.catalog-download svg {
    width: 18px;
    height: 18px;
}

.products-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin: 1rem 0 0;
}

/* Animation for smooth expand/collapse */
.category-content,
.product-list-container {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Responsive adjustments for dropdowns */
@media (max-width: 768px) {
    .product-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .category-header h3 {
        font-size: 1.3rem;
    }
    
    .category-content {
        padding: 0 1rem 1rem;
    }
    
    .subcategory-button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .scrollable-product-list {
        max-height: 150px;
        padding: 0.75rem;
    }
}


/* Policy Page Language Toggle */
.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #8B1538;
    background: transparent;
    color: #8B1538;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: #8B1538;
    color: white;
}

.lang-btn.active {
    background: #8B1538;
    color: white;
}

@media (max-width: 768px) {
    .policy-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .language-toggle {
        align-self: flex-end;
    }
}


/* Policy Page Styling to Match Design */
.policy-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
}

/* Force ALL text to be black except links and headings - STRONGEST OVERRIDE */
.policy-page *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(a) {
    color: #000000 !important;
}

/* Ultra-specific override for all text content */
.policy-page p,
.policy-page p *,
.policy-page div,
.policy-page div *,
.policy-page span,
.policy-page span *,
.policy-page strong,
.policy-page em,
.policy-page i,
.policy-page li,
.policy-page li *,
.policy-page ul,
.policy-page ol,
.policy-page td,
.policy-page th,
.policy-page blockquote,
.policy-page .last-updated {
    color: #000000 !important;
    text-align: left !important;
    line-height: 1.6;
    font-weight: normal !important;
}

.policy-page,
.policy-page p,
.policy-page div,
.policy-page span,
.policy-page strong,
.policy-page em,
.policy-page i,
.policy-page li,
.policy-page ul,
.policy-page ol,
.policy-page td,
.policy-page th,
.policy-page blockquote,
.policy-page .last-updated,
.policy-page p strong,
.policy-page div strong,
.policy-page span strong {
    color: #000000 !important;
    text-align: left !important;
    line-height: 1.6;
}

/* Main heading styling */
.policy-page h1 {
    color: #5D1A1A !important;
    font-size: 2rem;
    font-weight: bold;
    text-align: left !important;
    margin: 20px 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #5D1A1A;
}

/* Section headings - clean styling without red border by default */
.policy-page h2 {
    color: #5D1A1A !important;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 30px 0 15px 0;
    text-align: left !important;
    border-left: none;
    padding-left: 0;
}

/* Only main section headers get red left border */
.policy-page h2.main-section {
    padding-left: 15px;
    border-left: 4px solid #8B1538;
}

.policy-page h3 {
    color: #5D1A1A !important;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 25px 0 10px 0;
    text-align: left !important;
}

.policy-page h4 {
    color: #5D1A1A !important;
    font-size: 1rem;
    font-weight: bold;
    margin: 20px 0 10px 0;
    text-align: left !important;
}

/* Links styling - more specific to override default blue */
.policy-page a,
.policy-page a:link,
.policy-page a:visited,
.policy-page a:active {
    color: #8B1538 !important;
    text-decoration: underline !important;
}

.policy-page a:hover {
    color: #6B1028 !important;
    text-decoration: underline !important;
}

/* Override any remaining blue link styles */
.policy-page a[href] {
    color: #8B1538 !important;
}

.policy-page a[href]:visited {
    color: #8B1538 !important;
}

.policy-page a[href]:link {
    color: #8B1538 !important;
}

/* Paragraph styling */
.policy-page p {
    margin: 15px 0;
    line-height: 1.6;
}

/* List styling */
.policy-page ul,
.policy-page ol {
    margin: 15px 0;
    padding-left: 20px;
}

/* Table styling */
.policy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.policy-page table td,
.policy-page table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.policy-page table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Numbered section headings (like "1. OUR SERVICES") */
.policy-page h3[id],
.policy-page h4[id],
.policy-page p strong:first-child {
    color: #000000 !important;
    font-weight: normal !important;
    margin: 25px 0 10px 0;
    padding-left: 0;
    border-left: none;
    display: block;
}

/* Clean styling for numbered sections - no red borders */
.policy-page p:has(strong:first-child) {
    color: #000000 !important;
    font-weight: normal !important;
    margin: 25px 0 10px 0;
    padding-left: 0;
    border-left: none;
}

/* Better paragraph spacing and alignment */
.policy-page p {
    margin: 15px 0;
    padding: 0;
    text-align: left;
    line-height: 1.6;
}

.policy-page p + p {
    margin-top: 15px;
}

/* Section headings should be burgundy but normal text black */
.policy-page h1,
.policy-page h2,
.policy-page h3,
.policy-page h4 {
    color: #5D1A1A !important;
}

/* Ensure numbered sections are properly styled - BLACK TEXT, NOT BOLD */
.policy-page p strong:first-child {
    color: #000000 !important;
    font-weight: normal !important;
    display: inline;
}

.policy-page ul, .policy-page ol {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-page li {
    margin: 8px 0;
}

.policy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.policy-page table th,
.policy-page table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.policy-page table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #8B1538;
}

.policy-page .table-of-contents {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.policy-page .table-of-contents h2 {
    margin-top: 0;
}

.policy-page .table-of-contents ol {
    margin: 0;
    padding-left: 20px;
}

.policy-page .table-of-contents a {
    color: #8B1538;
    text-decoration: none;
}

.policy-page .table-of-contents a:hover {
    text-decoration: underline;
}

.policy-page .last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.policy-page strong {
    font-weight: bold;
}

.policy-page em {
    font-style: italic;
}

/* Back to Home Link Styling */
.back-to-home {
    display: inline-block;
    color: #8B1538;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 15px;
    border: 2px solid #8B1538;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background-color: #8B1538;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-page {
        padding: 0 15px;
    }
    
    .policy-page h1 {
        margin: 0 -15px 20px -15px;
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .policy-page h2 {
        font-size: 1.2rem;
    }
    
    .policy-page h3 {
        font-size: 1rem;
    }
    
    .policy-page table {
        font-size: 0.9rem;
    }
    
    .policy-page table th,
    .policy-page table td {
        padding: 8px;
    }
}

