/* base.css - Foundation Styles for CMS Website */

/* Google Fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================================================ */
/* GLOBAL FROSTED GLASS EFFECT - Reusable across all components               */
/* ============================================================================ */
.custom .frostedGlass {
    background: rgba(156, 173, 188, .3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Transition only for frosted glass elements that are clickable */
.custom a .frostedGlass,
.custom .frostedGlass:is(a) {
    transition: border 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.5s ease;
}

/* Hover effect only for frosted glass elements that are links or inside links */
.custom a .frostedGlass:hover,
.custom .frostedGlass:is(a):hover {
    background: rgba(165, 230, 205, .2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Global styling for all images in frosted glass cards */
.frostedGlass img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 1920x1080 aspect ratio */
    object-fit: cover;
    /* img-fluid properties */
    max-width: 100%;
    height: auto;
}

.custom .content-wrapper{
    background: rgba(255, 255, 255, .5)!important;
   
}
.custom .content-wrapper a{
    color:#006892!important;
   
}
.custom .content-wrapper a:hover{
    color:#00a693!important;
   
}

/* ============================================================================ */
/* GLOBAL HEADLINE STYLES                                                      */
/* ============================================================================ */

/* Default: All headlines are white with shadow */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Global rule: Headlines in cards - shadow only if white */
.frostedGlass h1, .frostedGlass h2, .frostedGlass h3,
.frostedGlass h4, .frostedGlass h5, .frostedGlass h6,
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3,
.content-wrapper h4, .content-wrapper h5, .content-wrapper h6,
.legal-content-wrapper h1, .legal-content-wrapper h2, .legal-content-wrapper h3,
.legal-content-wrapper h4, .legal-content-wrapper h5, .legal-content-wrapper h6,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    text-shadow: none !important; /* Default no shadow in cards */
}

/* White headlines in cards get shadow back */
.frostedGlass h1.text-white, .frostedGlass h2.text-white, .frostedGlass h3.text-white,
.frostedGlass h4.text-white, .frostedGlass h5.text-white, .frostedGlass h6.text-white,
.content-wrapper h1.text-white, .content-wrapper h2.text-white, .content-wrapper h3.text-white,
.content-wrapper h4.text-white, .content-wrapper h5.text-white, .content-wrapper h6.text-white,
.card h1.text-white, .card h2.text-white, .card h3.text-white,
.card h4.text-white, .card h5.text-white, .card h6.text-white,
.frostedGlass h1[style*="color: #ffffff"], .frostedGlass h2[style*="color: #ffffff"],
.frostedGlass h3[style*="color: #ffffff"], .frostedGlass h4[style*="color: #ffffff"],
.frostedGlass h5[style*="color: #ffffff"], .frostedGlass h6[style*="color: #ffffff"],
.content-wrapper h1[style*="color: #ffffff"], .content-wrapper h2[style*="color: #ffffff"],
.content-wrapper h3[style*="color: #ffffff"], .content-wrapper h4[style*="color: #ffffff"],
.content-wrapper h5[style*="color: #ffffff"], .content-wrapper h6[style*="color: #ffffff"],
.card h1[style*="color: #ffffff"], .card h2[style*="color: #ffffff"],
.card h3[style*="color: #ffffff"], .card h4[style*="color: #ffffff"],
.card h5[style*="color: #ffffff"], .card h6[style*="color: #ffffff"] {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Footer specific headline colors - black text */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.footer-section-title {
    color: #000000 !important;
    text-shadow: none !important; /* No shadow for black text */
}

/* ============================================================================ */
/* FROSTED GLASS CARD ANIMATIONS - Pure CSS Staggered Fade Up                 */
/* ============================================================================ */

/* Keyframes for fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to all frosted glass cards - no delay by default */
.custom .frostedGlass {
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0s;
}



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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    /* Typography styles from custom.css */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333);
    
    /* Flexbox layout for sticky footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* Layout styles from dynamic.css integration */
    position: relative;
    overflow-x: hidden;
    
    /* Transitions and effects */
    transition: all 0.3s ease;
    
    /* Note: background-color removed to allow dynamic.css 3-layer background system */
}

/* Main content area - flexbox push */
main {
    flex: 1 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    /* Color set globally to white - see line 28 */
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color, #555);
}

a {
    color: var(--link-color, #007bff);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color, #0056b3);
    text-decoration: underline;
}

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

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col {
    flex: 1;
    padding: 0 0.75rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.75rem;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.75rem;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 0.75rem;
}

/* Cards */
.card {
    position: relative;
    margin-bottom: 1.5rem;
    /* Note: Apply .frostedGlass class for glass effect */
}

/* Card Images - Match frosted glass border radius */
.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 9; /* 1920x1080 aspect ratio */
    object-fit: cover;
    border-radius: 16px 16px 0 0; /* Match frosted glass top corners */
    /* img-fluid properties */
    max-width: 100%;
    height: auto;
}

.card-header {
    background: var(--card-header-bg, #f8f9fa);
    border-bottom: 1px solid var(--card-border, #e9ecef);
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-body {
    padding: 1.5rem;
    position: relative;
}

.card-footer {
    background: var(--card-footer-bg, #f8f9fa);
    border-top: 1px solid var(--card-border, #e9ecef);
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--btn-primary-bg, #007bff);
    border-color: var(--btn-primary-border, #007bff);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover, #0056b3);
    border-color: var(--btn-primary-hover, #0056b3);
}

.btn-secondary {
    color: #ffffff;
    background-color: var(--btn-secondary-bg, #6c757d);
    border-color: var(--btn-secondary-border, #6c757d);
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover, #545b62);
    border-color: var(--btn-secondary-hover, #545b62);
}

/* Forms */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--form-text-color, #000000);
    background-color: var(--form-bg, #ffffff);
    border: 1px solid var(--form-border, #ced4da);
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--form-focus-border, #80bdff);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--label-color, #000000);
}

/* Content Areas */
.content-section {
    padding: 2rem 0;
}

.hero-section {
    padding: 4rem 0;
    background-color: var(--hero-bg, #f8f9fa);
    text-align: center;
}

/* Blog Specific Styles */
.blog-post {
    margin-bottom: 2rem;
}

.blog-title {
    color: var(--blog-title-color, #2c3e50);
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--blog-meta-color, #6c757d);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content {
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .col-md-6,
    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

/* ============================================================================ */
/* === LEGAL PAGE STYLES ===                                                   */
/* ============================================================================ */
/* Styles for legal.php including Terms, Privacy, and Cookie Policy sections   */

/* Legal content typography */
.legal-content h3 {
    /* Color handled by global white rule */
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--bs-primary, #0d6efd);
    padding-bottom: 0.5rem;
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--heading-color, #2c3e50);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Cookie policy specific styles */
.cookie-type {
    border-left: 4px solid var(--bs-primary, #0d6efd);
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-type h4 {
    margin-top: 0;
    color: var(--heading-color, #2c3e50);
}

/* Legal navigation bar */
.legal-nav {
    border-bottom: 1px solid #dee2e6;
    background-color: rgba(248, 249, 250, 0.95);
    /* Note: Apply .frostedGlass class for glass effect */
}

.legal-nav .btn {
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Legal section spacing */
.legal-section {
    padding: 3rem 0;
}

/* Legal footer */
.legal-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.legal-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.legal-footer a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Smooth scrolling offset for sticky navigation */
section[id] {
    scroll-margin-top: 100px;
}

/* Legal page responsive design */
@media (max-width: 768px) {
    .legal-nav .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .legal-nav .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .legal-content {
        font-size: 0.9rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .cookie-type {
        padding: 0.75rem;
    }
    
    .legal-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .legal-content p {
        text-align: left;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-nav {
        padding: 0.5rem 0;
    }
}

/* Print styles for legal pages */
@media print {
    .legal-nav,
    .legal-footer {
        display: none;
    }
    
    .legal-content h3 {
        /* Color handled by global white rule */
        border-bottom: 1px solid #000;
    }
    
    .cookie-type {
        border-left: 2px solid #000;
        background-color: #f9f9f9;
        box-shadow: none;
    }
}

/* Accessibility enhancements for legal content */
.legal-content a {
    text-decoration: underline;
    color: var(--bs-primary, #0d6efd);
}

.legal-content a:hover,
.legal-content a:focus {
    text-decoration-thickness: 2px;
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .legal-content h3 {
        border-bottom-width: 3px;
    }
    
    .cookie-type {
        border-left-width: 6px;
        background-color: #ffffff;
    }
    
    .legal-nav {
        background-color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .legal-nav .btn {
        transition: none;
    }
    
    .legal-nav .btn:hover {
        transform: none;
    }
}

/* ============================================================================ */
/* === END LEGAL PAGE STYLES ===                                              */
/* ============================================================================ */

/*optional footer logo background*/
footer .footer-logo img{background-color:#1e2529;padding: 10px;border-radius: 6px;}
/*optional footer logo background*/

/* ============================================================================ */
/* === CONTENT PAGE STYLES ===                                                */
/* ============================================================================ */

/* Content page headlines use primary color from color palette */
.content-header .content-title,
.hub-header h1,
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #1e2529; /* Dark color from palette */
    /* Text shadow handled by global rule at line 44-58 */
}

/* Category header uses white color */
.category-header h1 {
    color: #ffffff; /* White */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.category-header .lead {
    color: #dfe7e4; /* Light sage from color palette */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Individual Content Display */
.content-header .content-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff; /* White */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.content-meta {
    font-size: 0.9rem;
}

.content-body {
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-body h2, 
.content-body h3, 
.content-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Category Cards - Remove hover effects */
.category-card {
    /* No hover effects */
}

/* Content Cards - Remove hover effects */
.content-card .card {
    /* No hover effects */
}

/* Category Badges */
.category-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* ============================================================================ */
/* CUSTOM GRID SYSTEM - Aligned with 1024px Breakpoint Architecture           */
/* ============================================================================ */

/* Custom grid classes that align with site's 1024px breakpoint system */

/* Mobile: 1 column (default - full width) */
.col-mobile-12 {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
}

/* Tablet: 3 columns at 768px-1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .col-tablet-4 {
        width: 33.333333%;
        flex: 0 0 33.333333%;
        display: flex;
    }
    
    /* Reduce card body padding on tablet for better text density */
    .card-body {
        padding: 10px !important;
    }
}

/* Desktop: 4 columns at 1024px+ */
@media (min-width: 1024px) {
    .col-desktop-3 {
        width: 25%;
        flex: 0 0 25%;
        display: flex;
    }
    
    /* Reduce card body padding on desktop for better text density */
    .card-body {
        padding: 10px !important;
    }
}

/* ============================================================================ */
/* LOAD MORE BUTTON STYLES - Using Color Palette                              */
/* ============================================================================ */

/* Load More Button - Using primary color from color-palette.html */
#load-more-btn {
    background-color: #00008B; /* Primary Blue from color palette */
    border-color: #00008B;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    background-color: #000066; /* Darker shade on hover */
    border-color: #000066;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 139, 0.4);
}

#load-more-btn:active {
    background-color: #000055; /* Even darker when pressed */
    border-color: #000055;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 139, 0.3);
}

#load-more-btn:disabled {
    background-color: #9cadbc; /* Light blue-gray from palette */
    border-color: #9cadbc;
    color: #1e2529; /* Dark gray from palette */
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

/* Loading spinner color */
#load-more-btn .spinner-border {
    color: #ffffff;
}

/* Content Card Body - Reserve space for footer */
.content-card .card-body {
    padding-bottom: 4rem; /* Reserve space for meta footer and button */
    position: relative;
    min-height: 200px;
}

/* Position content card meta inline with action button */
.content-card .card-meta {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    right: 4rem; /* Leave space for the button */
}

/* Add margin above card footer on tablets and mobile */
@media (max-width: 1024px) {
    .content-card .card-meta {
        margin-top: 30px;
        padding-top: 30px;
    }
}

/* Content Card Text Colors */
.content-card .card-title,
.content-card .card-title a {
    color: #ffffff; /* White text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

/* Remove title hover effect */
.content-card .card-title a {
    color: #ffffff; /* Always white */
}

.content-card .card-text,
.content-card .card-meta {
    color: #f5f5f5; /* Light gray text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

/* Remove text-muted class styling */
.content-card .text-muted {
    color: #f5f5f5 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

/* Breadcrumbs Styling */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: #dfe7e4; /* Light sage from color palette */
}

.breadcrumb-item a {
    color: #dfe7e4; /* Light sage from color palette */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Remove breadcrumb hover effect */
.breadcrumb-item a {
    color: #dfe7e4; /* Always light sage */
}

.breadcrumb-item.active {
    color: #dfe7e4; /* Light sage from color palette */
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #dfe7e4; /* Light sage separators */
}

/* Content Wrapper */
.content-wrapper {
    padding: 1.25rem;
    margin: 1rem 0;
    /* Note: Apply .frostedGlass class for glass effect */
}

.content-wrapper .content-body {
    color: #000000; /* Black text for main content */
}

.content-wrapper .content-meta {
    color: #000000; /* Black text for meta information */
}

.content-wrapper .content-meta a {
    color: #dfe7e4; /* Light sage for category link */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Remove meta link hover effect */
.content-wrapper .content-meta a {
    color: #dfe7e4; /* Always light sage */
}

/* ============================================================================ */
/* === LEGAL PAGE STYLES ===                                                 */
/* ============================================================================ */

/* Legal Page Styling */
.legal-updated {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-header p.lead {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-content {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-content p {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-content ul li {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-footer p {
    color: #1a1a1a; /* Near Black from palette */
}

.legal-footer small {
    color: #757575; /* Medium Gray from palette for small text */
}

.legal-footer a {
    color: #00008B; /* Primary Blue from palette for links */
}

.legal-footer a:hover {
    color: #006892; /* Info Blue from palette for hover */
}

/* Headers and titles styling - ONLY for legal page elements */
/* Note: Headline colors now handled by global white rule at line 28 */

/* Override Bootstrap text utilities - ONLY for legal page */
.legal-section .text-muted,
.legal-header .text-muted,
.legal-footer .text-muted {
    color: #757575 !important; /* Medium Gray from palette instead of Bootstrap default */
}

/* Override Bootstrap lead text - ONLY for legal page */
.legal-section .lead,
.legal-header .lead,
.legal-footer .lead {
    color: #1a1a1a !important; /* Near Black from palette */
}

/* Override Bootstrap small text - ONLY for legal page */
.legal-section small, .legal-section .small,
.legal-header small, .legal-header .small,
.legal-footer small, .legal-footer .small {
    color: #757575 !important; /* Medium Gray from palette */
}

/* Override Bootstrap icons and borders - ONLY for legal page */
.legal-section .bi,
.legal-header .bi,
.legal-footer .bi {
    color: #1e2529 !important; /* Dark Gray from palette for icons */
}

/* Override Bootstrap borders and lines - ONLY for legal page */
.legal-section .border,
.legal-section .border-0,
.legal-section .border-top,
.legal-section .border-bottom,
.legal-section .border-left,
.legal-section .border-right,
.legal-header .border,
.legal-header .border-0,
.legal-footer .border,
.legal-footer .border-0 {
    border-color: #1e2529 !important; /* Dark Gray from palette */
}

/* Override button outline borders - ONLY for legal page */
.legal-section .btn-outline-primary,
.legal-header .btn-outline-primary,
.legal-footer .btn-outline-primary {
    border-color: #1e2529 !important; /* Dark Gray from palette */
    color: #1e2529 !important; /* Dark Gray from palette */
    text-decoration: none !important; /* Remove underline */
}

.legal-section .btn-outline-primary:hover,
.legal-header .btn-outline-primary:hover,
.legal-footer .btn-outline-primary:hover {
    background-color: #1e2529 !important; /* Dark Gray from palette */
    border-color: #1e2529 !important; /* Dark Gray from palette */
    color: #ffffff !important; /* Pure White text on hover */
    text-decoration: none !important; /* Remove underline on hover */
}

.legal-section .btn-outline-primary:focus,
.legal-header .btn-outline-primary:focus,
.legal-footer .btn-outline-primary:focus {
    background-color: #1e2529 !important; /* Dark Gray from palette */
    border-color: #1e2529 !important; /* Dark Gray from palette */
    color: #ffffff !important; /* Pure White text on focus */
    text-decoration: none !important; /* Remove underline on focus */
}

/* Override hr elements - ONLY for legal page */
.legal-section hr,
.legal-header hr,
.legal-footer hr {
    border-color: #1e2529 !important; /* Dark Gray from palette */
}

/* Legal page navigation buttons */
.legal-nav-btn {
    background-color: #dfe7e4; /* Light Sage from palette */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #1e2529; /* Dark Gray text for contrast */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-nav-btn:hover {
    background-color: #9cadbc; /* Light Blue-Gray from palette */
    color: #1e2529; /* Dark Gray text on hover */
    text-decoration: none;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.legal-nav-btn:focus {
    background-color: #9cadbc; /* Light Blue-Gray from palette */
    color: #1e2529; /* Dark Gray text on focus */
    text-decoration: none;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.legal-nav-btn:active {
    background-color: #9cadbc; /* Light Blue-Gray from palette */
    color: #1e2529; /* Dark Gray text on active */
    text-decoration: none;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Override Bootstrap section title border/underline */
.section-title,
.legal-content h3,
.legal-content h4 {
    border-bottom: 1px solid #1e2529 !important; /* Dark Gray from palette */
    padding-bottom: 0.75rem !important;
}

/* Remove any blue borders or underlines from headings */
h1, h2, h3, h4, h5, h6 {
    border-bottom: none !important;
    border-color: #1e2529 !important; /* Dark Gray from palette */
}

/* Legal content wrapper */
.legal-content-wrapper {
    padding: 20px !important;
    margin: 1rem 0;
    /* Note: Apply .frostedGlass class for glass effect */
}

.legal-header {
    padding: 20px !important;
}

.legal-nav {
    padding: 20px !important;
    background: none !important;
}

.custom .legal-nav {
    border: none !important;
}

.legal-footer {
    padding: 20px !important;
}

/* Override Bootstrap default link colors - ONLY for legal page */
.legal-section a,
.legal-header a,
.legal-footer a {
    color: #00008B !important; /* Primary Blue from palette */
    text-decoration: none !important;
}

.legal-section a:hover,
.legal-header a:hover,
.legal-footer a:hover {
    color: #006892 !important; /* Info Blue from palette for hover */
    text-decoration: none !important;
}

.legal-section a:visited,
.legal-header a:visited,
.legal-footer a:visited {
    color: #00008B !important; /* Primary Blue from palette */
}

.legal-section a:focus,
.legal-header a:focus,
.legal-footer a:focus {
    color: #006892 !important; /* Info Blue from palette for focus */
    text-decoration: none !important;
}

/* Specific legal page link overrides */
.legal-content a {
    color: #00008B !important; /* Primary Blue from palette */
    text-decoration: none !important;
}

.legal-content a:hover {
    color: #006892 !important; /* Info Blue from palette for hover */
    text-decoration: underline !important;
}

.legal-content a:focus {
    outline: 2px solid #9cadbc !important; /* Light Blue-Gray from palette */
    box-shadow: none !important;
    color: #00008B !important; /* Primary Blue from palette - same as default */
    text-decoration: none !important; /* No underline on focus */
}

/* Custom focus styles for legal page elements */
.custom .legal-section *:focus,
.custom .legal-header *:focus,
.custom .legal-footer *:focus,
.custom .legal-nav *:focus {
    outline: 2px solid #9cadbc !important; /* Light Blue-Gray from palette */
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
}

/* Cookie preferences button styling */
.legal-section .btn-primary {
    background-color: #dfe7e4 !important; /* Light Sage from palette */
    border-color: #dfe7e4 !important;
    color: #1e2529 !important; /* Dark Gray text for contrast */
}

.legal-section .btn-primary:hover {
    background-color: #9cadbc !important; /* Light Blue-Gray from palette */
    border-color: #9cadbc !important;
    color: #1e2529 !important; /* Dark Gray text on hover */
}

.legal-section .btn-primary:focus {
    background-color: #9cadbc !important; /* Light Blue-Gray from palette */
    border-color: #9cadbc !important;
    color: #1e2529 !important; /* Dark Gray text on focus */
    outline: 2px solid #9cadbc !important;
    box-shadow: none !important;
}

/* ============================================================================ */
/* === END LEGAL PAGE STYLES ===                                             */
/* ============================================================================ */


/* ============================================================================ */
/* === INDUSTRY PAGE STYLES ===                                               */
/* ============================================================================ */
/* All styles scoped under .industry parent to prevent conflicts */

/* Industry Category Header - matching content.php category-header */
.industry .industry-category-header {
    margin-bottom: 1.5rem;
}

.industry .industry-category-header h1 {
    color: #ffffff; /* White matching category-header h1 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.industry .industry-category-header .lead {
    color: #dfe7e4; /* Light sage matching category-header .lead */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

/* Industry Grid System - Mobile First Responsive Layout */

/* Mobile: 1 column (default - full width) for screens below 768px */
@media (max-width: 767px) {
    .industry .industry-col-mobile-12,
    .industry .industry-col-tablet-4,
    .industry .industry-col-desktop-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100%;
        display: flex;
    }
}

/* Tablet: 3 columns at 768px-1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .industry .industry-col-tablet-4,
    .industry .industry-col-desktop-3 {
        width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333%;
        display: flex;
    }
    
    .industry .industry-col-mobile-12 {
        width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333%;
        display: flex;
    }
}

/* Desktop: 4 columns at 1024px+ */
@media (min-width: 1024px) {
    .industry .industry-col-desktop-3,
    .industry .industry-col-tablet-4,
    .industry .industry-col-mobile-12 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25%;
        display: flex;
    }
}

/* Industry Cards */
.industry .industry-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Note: Apply .frostedGlass class for glass effect */
}

/* Industry Card Images */
.industry .industry-card-img-top {
    width: 100%;
    aspect-ratio: 16 / 9; /* 1920x1080 aspect ratio */
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    /* img-fluid properties */
    max-width: 100%;
    height: auto;
}

/* Ensure all images within industry cards are full width */
.industry .industry-card img {
    width: 100%;
}

/* Industry Card Body */
.industry .industry-card-body {
    padding: 1.25rem;
    padding-bottom: 4rem; /* Reserve space for meta footer and button */
    position: relative;
    min-height: 200px;
}

/* Position card footer inline with action button */
.industry .industry-card-meta {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    right: 4rem; /* Leave space for the button */
}

/* Add margin above card footer on tablets and mobile */
@media (max-width: 1024px) {
    .industry .industry-card-meta {
        margin-top: 30px;
        padding-top: 30px;
    }
}

/* ============================================================================ */
/* GLOBAL CIRCULAR ACTION BUTTON SYSTEM - Random Color Palette                */
/* ============================================================================ */

/* Base Circular Action Button */
.card-action-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    /* Default fallback color */
    background: rgba(255, 255, 255, 0.9);
    color: #1e2529;
}

.card-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-action-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.card-action-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.card-action-btn:hover i {
    transform: scale(1.1);
}

/* Color Palette Variations - Very Subtle Semi-Transparent Backgrounds */
.card-action-btn.btn-primary-blue {
    background: rgba(0, 0, 139, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-primary-blue:hover {
    background: rgba(0, 0, 102, 0.4);
}

.card-action-btn.btn-secondary-purple {
    background: rgba(174, 0, 255, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-secondary-purple:hover {
    background: rgba(153, 0, 230, 0.4);
}

.card-action-btn.btn-accent-plum {
    background: rgba(137, 78, 113, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-accent-plum:hover {
    background: rgba(115, 66, 94, 0.4);
}

.card-action-btn.btn-success-teal {
    background: rgba(0, 166, 147, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-success-teal:hover {
    background: rgba(0, 143, 127, 0.4);
}

.card-action-btn.btn-warning-orange {
    background: rgba(249, 168, 37, 0.25);
    color: #1a1a1a;
}

.card-action-btn.btn-warning-orange:hover {
    background: rgba(230, 149, 31, 0.4);
}

.card-action-btn.btn-info-blue {
    background: rgba(0, 104, 146, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-info-blue:hover {
    background: rgba(0, 85, 119, 0.4);
}

.card-action-btn.btn-error-red {
    background: rgba(211, 47, 47, 0.25);
    color: #ffffff;
}

.card-action-btn.btn-error-red:hover {
    background: rgba(183, 28, 28, 0.4);
}

.card-action-btn.btn-highlight-yellow {
    background: rgba(238, 232, 169, 0.25);
    color: #455660;
}

.card-action-btn.btn-highlight-yellow:hover {
    background: rgba(230, 220, 140, 0.4);
}

.card-action-btn.btn-light-sage {
    background: rgba(223, 231, 228, 0.25);
    color: #455660;
}

.card-action-btn.btn-light-sage:hover {
    background: rgba(208, 221, 216, 0.4);
}

.card-action-btn.btn-light-blue-gray {
    background: rgba(156, 173, 188, 0.25);
    color: #455660;
}

.card-action-btn.btn-light-blue-gray:hover {
    background: rgba(138, 155, 176, 0.4);
}

/* Industry Card Title - Matching content.php card title color */
.industry .industry-card-title {
    color: #ffffff; /* White text matching content-card */
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.industry .industry-content-card a {
    text-decoration: none;
}

.industry .industry-content-card a:hover .industry-card-title {
    color: #ffffff; /* Always white, no hover change */
}

/* Industry Card Text */
.industry .industry-card-text {
    color: #f5f5f5; /* Light gray text matching content-card */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

/* Industry Card Meta - Matching content.php meta style */
.industry .industry-card-meta {
    color: #f5f5f5; /* Light gray matching content-card */
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.industry .industry-card-meta span {
    color: #f5f5f5;
}

.industry .industry-category,
.industry .industry-focus {
    font-weight: 500;
}

/* Responsive adjustments for Industry page */
@media (max-width: 768px) {
    .industry .industry-title {
        font-size: 2rem;
    }
    
    .industry .industry-lead {
        font-size: 1rem;
    }
    
    .industry .industry-card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .industry .industry-title {
        font-size: 1.75rem;
    }
    
    .industry .industry-card-body {
        padding: 0.75rem;
    }
}

/* ============================================================================ */
/* === END INDUSTRY PAGE STYLES ===                                           */
/* ============================================================================ */

/* ============================================================================ */
/* === INDUSTRY DETAIL PAGE STYLES ===                                        */
/* ============================================================================ */
/* All styles scoped under .industry-detail parent to prevent conflicts */

/* Industry Detail Header */
.industry-detail .industry-detail-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.industry-detail .industry-detail-header h1 {
    color: #00008B; /* Primary Blue matching content.php headers */
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.industry-detail .industry-detail-header .lead {
    color: #6c757d; /* Muted gray */
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Industry Detail Meta Badges */
.industry-detail .industry-detail-meta {
    margin-top: 1rem;
}

.industry-detail .industry-category-badge,
.industry-detail .industry-focus-badge {
    background-color: rgba(0, 0, 139, 0.1);
    color: #00008B;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 139, 0.2);
}

/* Hero Image */
.industry-detail .industry-detail-hero-image {
    text-align: center;
    margin-top: 1rem;
}

.industry-detail .industry-detail-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Styling */
.industry-detail .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.industry-detail .breadcrumb-item {
    color: #6c757d;
}

.industry-detail .breadcrumb-item a {
    color: #00008B;
    text-decoration: none;
}

.industry-detail .breadcrumb-item a:hover {
    color: #000066;
    text-decoration: underline;
}

.industry-detail .breadcrumb-item.active {
    color: #6c757d;
}

/* Content Sections */
.industry-detail .industry-detail-content {
    margin-top: 3rem;
}

.industry-detail .content-section h2 {
    color: #00008B; /* Primary Blue */
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00008B;
}

.industry-detail .content-section .lead-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 1.5rem;
}

.industry-detail .content-section p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Technology Grid */
.industry-detail .technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-detail .tech-item {
    padding: 1.5rem;
    /* Note: Apply .frostedGlass class for glass effect */
}

.industry-detail .tech-item h4 {
    color: #00008B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.industry-detail .tech-item p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Feature List */
.industry-detail .feature-list {
    list-style: none;
    padding: 0;
}

.industry-detail .feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #555555;
    line-height: 1.5;
}

.industry-detail .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #00008B;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Sidebar Styles */
.industry-detail .industry-detail-sidebar {
    margin-top: 1rem;
}

.industry-detail .sidebar-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
    /* Note: Apply .frostedGlass class for glass effect */
}

.industry-detail .sidebar-card h3 {
    color: #00008B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.industry-detail .fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-detail .fact-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 139, 0.1);
    color: #555555;
}

.industry-detail .fact-list li:last-child {
    border-bottom: none;
}

.industry-detail .fact-list strong {
    color: #00008B;
    font-weight: 600;
}

/* Related Links */
.industry-detail .related-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industry-detail .related-link {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 139, 0.1);
    color: #00008B;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 139, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.industry-detail .related-link:hover {
    background: rgba(0, 0, 139, 0.2);
    color: #000066;
    text-decoration: none;
    transform: translateX(4px);
}

/* Aerospace & Defense Specific Styling */
.aerospace-defense .content-body h2,
.aerospace-defense .content-body h3,
.aerospace-defense .content-body h4,
.aerospace-defense .content-body h5,
.aerospace-defense .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.aerospace-defense .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Audio & Video Specific Styling */
.audio-video .content-body h2,
.audio-video .content-body h3,
.audio-video .content-body h4,
.audio-video .content-body h5,
.audio-video .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.audio-video .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Automotive Specific Styling */
.automotive .content-body h2,
.automotive .content-body h3,
.automotive .content-body h4,
.automotive .content-body h5,
.automotive .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.automotive .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Consumer Electronics Specific Styling */
.consumer-electronics .content-body h2,
.consumer-electronics .content-body h3,
.consumer-electronics .content-body h4,
.consumer-electronics .content-body h5,
.consumer-electronics .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.consumer-electronics .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Medical Devices Specific Styling */
.medical-devices .content-body h2,
.medical-devices .content-body h3,
.medical-devices .content-body h4,
.medical-devices .content-body h5,
.medical-devices .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.medical-devices .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Industrial Equipment Specific Styling */
.industrial-equipment .content-body h2,
.industrial-equipment .content-body h3,
.industrial-equipment .content-body h4,
.industrial-equipment .content-body h5,
.industrial-equipment .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.industrial-equipment .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* RF & Microwave Specific Styling */
.rf-microwave .content-body h2,
.rf-microwave .content-body h3,
.rf-microwave .content-body h4,
.rf-microwave .content-body h5,
.rf-microwave .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.rf-microwave .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Smart Solar Energy Specific Styling */
.smart-solar .content-body h2,
.smart-solar .content-body h3,
.smart-solar .content-body h4,
.smart-solar .content-body h5,
.smart-solar .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.smart-solar .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Service Pages Color Scheme */
.engineering .content-body h2,
.engineering .content-body h3,
.engineering .content-body h4,
.engineering .content-body h5,
.engineering .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.engineering .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

.pcb-fabrication .content-body h2,
.pcb-fabrication .content-body h3,
.pcb-fabrication .content-body h4,
.pcb-fabrication .content-body h5,
.pcb-fabrication .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.pcb-fabrication .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

.pcba-integration .content-body h2,
.pcba-integration .content-body h3,
.pcba-integration .content-body h4,
.pcba-integration .content-body h5,
.pcba-integration .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.pcba-integration .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

.cables-harnesses .content-body h2,
.cables-harnesses .content-body h3,
.cables-harnesses .content-body h4,
.cables-harnesses .content-body h5,
.cables-harnesses .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.cables-harnesses .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

.metal-plastic-fabrication .content-body h2,
.metal-plastic-fabrication .content-body h3,
.metal-plastic-fabrication .content-body h4,
.metal-plastic-fabrication .content-body h5,
.metal-plastic-fabrication .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.metal-plastic-fabrication .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* About Page Color Scheme */
.about .content-body h2,
.about .content-body h3,
.about .content-body h4,
.about .content-body h5,
.about .content-body h6 {
    color: #1e2529 !important; /* Dark Gray from palette */
}

.about .content-body p {
    color: #000000 !important; /* Black text for regular content */
}

/* Responsive Design for Industry Detail */
@media (max-width: 992px) {
    .industry-detail .industry-detail-header h1 {
        font-size: 2rem;
    }
    
    .industry-detail .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-detail .industry-detail-sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .industry-detail .industry-detail-header {
        text-align: center;
    }
    
    .industry-detail .industry-detail-header h1 {
        font-size: 1.75rem;
    }
    
    .industry-detail .content-section h2 {
        font-size: 1.5rem;
    }
    
    .industry-detail .tech-item {
        padding: 1rem;
    }
    
    .industry-detail .sidebar-card {
        padding: 1rem;
    }
}

/* ============================================================================ */
/* === END INDUSTRY DETAIL PAGE STYLES ===                                    */
/* ============================================================================ */
