/* Industry Grid */
.industry-grid {
    display: grid;
    gap: 2em;
    margin: 2em 0;
}

.industry-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.industry-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.industry-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Industry Cards */
.industry-card {
    padding: 1.5em;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.industry-card h3 {
    margin: 0 0 0.5em;
    color: #333;
}

.industry-card .industry-code {
    color: #666;
    margin: 0 0 1em;
}

/* Industry Content */
.industry-content {
    max-width: 800px;
    margin: 2em auto;
    padding: 0 1em;
}

.industry-content h1 {
    margin-bottom: 1em;
    text-align: center;
}

.content-section {
    margin-bottom: 2em;
}

.content-section h2 {
    color: #333;
    margin-bottom: 0.5em;
}

.section-content {
    line-height: 1.6;
    color: #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Industry Listing Page */
.industry-listing-page {
    padding: 2rem 0;
}

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

/* Alphabet Navigation */
.alphabet-nav {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.letter-link {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    margin: 0.2rem;
    background: #fff;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.letter-link:hover {
    background: #007bff;
    color: #fff;
}

/* Search Box */
.industry-search {
    margin: 2rem 0;
    text-align: center;
}

#industrySearch {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Letter Sections */
.letter-section {
    margin: 3rem 0;
}

.letter-heading {
    font-size: 2rem;
    color: #007bff;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.industry-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.industry-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.industry-title a {
    color: #333;
    text-decoration: none;
}

.industry-title a:hover {
    color: #007bff;
}

.industry-meta {
    margin-bottom: 1rem;
}

.industry-code {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

.industry-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #0056b3;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .alphabet-nav {
        padding: 0.5rem;
    }

    .letter-link {
        padding: 0.3rem 0.5rem;
        margin: 0.1rem;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}
.accordion-button {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease;
}

.accordion-button.active, .accordion-button:hover {
    background-color: #ccc;
}

.accordion-content {
    padding: 0 10px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
}

.content_details {
    max-height: 100px; /* Adjust this height as needed */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.content_details.expanded {
    max-height: none;
}

.toggle-content {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

.toggle-content:hover {
    background-color: #005177;
}

.read_more_ind {
    font-weight: bold;
    font-size: medium;
}