/* Additional styles to ensure consistency across all pages */

/* Header styling */
header .logo a {
    color: #4CAF50; /* Green color for company name */
    font-weight: bold;
    text-transform: none; /* Company name not in all caps */
}

/* Hide header on scroll */
header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

/* Ensure all topic headings are in ALL CAPS */
h2, h3.section-title {
    text-transform: uppercase;
}

/* Ensure company name is not in ALL CAPS */
.footer-column h3:first-child, header .logo a {
    text-transform: none;
}

/* Ensure add-on pricing is consistently green */
.addon-price, .add-on-price {
    color: #4CAF50;
    font-weight: bold;
}

/* Improve mobile visibility for alert banner */
.urgency-banner {
    position: relative; /* Changed from fixed to relative */
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
    background-color: #ff6b6b;
    color: white;
    font-weight: bold;
    display: block;
}

/* Position header below the banner */
header {
    position: relative; /* Changed from fixed to relative */
    width: 100%;
    z-index: 999;
    background-color: #1a1a1a;
    display: block;
    clear: both;
}

/* Remove padding from body since elements are no longer fixed */
body {
    padding-top: 0;
    margin: 0;
}

/* Ensure consistent industry card styling */
.industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.industry-image {
    height: 200px;
    overflow: hidden;
}

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

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

/* Logo alignment fix */
header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 60px; /* Increased logo size */
    margin-right: 10px;
}

/* Company name container styling */
.company-name-container {
    display: flex;
    flex-direction: column;
}

.company-name-line {
    line-height: 1.2;
    color: #4CAF50;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .urgency-banner {
        padding: 8px 5px;
        display: block;
        position: relative;
    }
    
    header {
        position: relative;
        display: block;
    }
    
    /* Ensure header is visible on mobile */
    header .logo {
        display: flex;
        align-items: center;
    }
    
    /* Ensure navigation is properly displayed */
    nav {
        clear: both;
    }
}

/* Sticky header functionality for desktop only */
@media (min-width: 769px) {
    .sticky-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .urgency-banner {
        position: sticky;
        top: 0;
        z-index: 1001;
    }
    
    header {
        position: sticky;
        top: 40px;
        z-index: 1000;
    }
}



/* Legal Page Specific Styling */
.legal-page-body .hero + .legal-content .container {
    padding-top: 40px; /* Add more space below the hero/header */
}

.legal-page-body .legal-content .container {
    max-width: 960px; /* Limit content width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px; /* Space from left edge */
    padding-right: 20px; /* Space from right edge */
    padding-bottom: 40px; /* Space at the bottom */
}

/* If hero section is completely removed, add top padding to legal-content itself */
.legal-page-body .legal-content {
    padding-top: 30px; /* Initial breathing room from header if no hero */
}

