/*
Theme Name: Yanni
Theme URI: https://cctvsolarsystem.com/
Author: Yanni Team
Author URI: https://cctvsolarsystem.com/
Description: Custom WordPress Theme for Yanni
Version: 1.0.0
Text Domain: yanni
*/

/* --- 1. Global Variables & Base Styles --- */
:root {
    --color-primary: #0f172a;       /* Slate / Navy Blue */
    --color-primary-light: #1e293b;
    --color-accent: #f59e0b;        /* Amber / Orange (Solar Energy) */
    --color-accent-hover: #d97706;
    --color-success: #10b981;       /* Emerald / Green (Clean energy) */
    --color-danger: #ef4444;        /* Crimson / Red (Not supported) */
    --color-bg-light: #f8fafc;      /* Light page bg */
    --color-text-dark: #1e293b;     /* Main text */
    --color-text-muted: #64748b;    /* Muted text */
    --color-border: #e2e8f0;        /* Light borders */
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--color-text-dark);
    line-height: 1.6;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.25s ease;
}
a:hover {
    color: var(--color-accent-hover);
}

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

/* --- 2. Typography & Buttons --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: var(--color-primary-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- 3. Header & Footer --- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 12px;
    padding: 8px 0;
}

.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.header-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--color-accent);
    margin-right: 4px;
}

.logo-subtext {
    font-weight: 300;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.site-custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

/* --- Navigation System (Bulletproof) --- */
.main-navigation {
    display: block;
}

/* Reset all lists inside navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Main horizontal menu */
.main-navigation > ul,
.main-navigation > div > ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
    color: var(--color-accent);
}

/* Dropdown indicators for parent items */
.main-navigation li.menu-item-has-children > a,
.main-navigation li.page_item_has_children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 4px;
}

.main-navigation li.menu-item-has-children > a::after,
.main-navigation li.page_item_has_children > a::after {
    content: "▾";
    font-size: 11px;
    margin-top: 1px;
    transition: transform 0.2s ease;
}

.main-navigation li.menu-item-has-children:hover > a::after,
.main-navigation li.page_item_has_children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown Menu (Sub-menu / Children) for Desktop */
.main-navigation ul.sub-menu,
.main-navigation ul.children,
.main-navigation li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

/* Nesting support - third level and beyond */
.main-navigation li ul li ul {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}

.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation li ul li:hover > ul {
    transform: translateX(0);
}

/* Dropdown items */
.main-navigation li ul li {
    display: block;
    width: 100%;
}

.main-navigation li ul a {
    display: block;
    padding: 10px 20px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    border-bottom: none !important;
    transition: all 0.2s ease;
}

.main-navigation li ul a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent);
    padding-left: 24px;
}

.site-footer {
    background-color: var(--color-primary);
    color: #cbd5e1;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 2fr 2fr 3.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.brand-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    gap: 8px;
}

.footer-badges .badge {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-info {
    list-style: none;
}

.footer-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e2e8f0;
}

.footer-info li .dashicons {
    color: var(--color-accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eco-tagline {
    color: var(--color-success);
    font-weight: 500;
}

/* --- 4. Product Archive (Catalog) --- */
.archive-hero {
    background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 90%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Product Catalog */
.product-catalog-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.card-image-wrap {
    height: 250px;
    position: relative;
    background-color: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.placeholder-icon-wrap {
    color: var(--color-text-muted);
}

.placeholder-icon-wrap .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    opacity: 0.25;
}

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-badges .badge {
    color: #ffffff;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-oem {
    background-color: var(--color-accent);
}

.badge-odm {
    background-color: var(--color-primary);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.card-title a {
    color: var(--color-primary);
}

.card-title a:hover {
    color: var(--color-accent);
}

.card-specs {
    background-color: var(--color-bg-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 18px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-val {
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}

.certs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.certs-pills span {
    background-color: #e2e8f0;
    color: var(--color-primary-light);
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 3px;
    font-weight: 600;
}

.card-customization-specs {
    margin-bottom: 20px;
}

.card-customization-specs strong {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.card-customization-specs ul {
    list-style: none;
}

.card-customization-specs li {
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-customization-specs li.supported {
    color: var(--color-text-dark);
}

.card-customization-specs li.supported::before {
    content: "✓";
    color: var(--color-success);
}

.card-customization-specs li.not-supported {
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.card-customization-specs li.not-supported::before {
    content: "✕";
    color: var(--color-danger);
}

.card-footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: auto;
}

/* --- 5. Customization Capabilities Section --- */
.capabilities-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.capability-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.25s ease;
}

.capability-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
}

.capability-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.capability-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.capability-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* --- 6. Global Markets Section --- */
.markets-section {
    padding: 80px 0;
    background-color: var(--color-primary);
    color: #ffffff;
}

.markets-section .section-title {
    color: #ffffff;
}

.markets-section .section-desc {
    color: #94a3b8;
}

.markets-flex {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.market-list {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 35px;
    border-radius: 12px;
}

.market-list h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.market-list ul {
    list-style: none;
}

.market-list li {
    font-size: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.market-applications {
    flex: 1.2;
    min-width: 300px;
}

.market-applications h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
}

.app-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.app-card:hover {
    background-color: rgba(255,255,255,0.08);
}

.app-card h4 {
    color: var(--color-accent);
    margin-bottom: 8px;
    font-size: 16px;
}

.app-card p {
    color: #cbd5e1;
    font-size: 14px;
}

/* --- 7. Inquiry Form --- */
.inquiry-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.inquiry-section.border-top {
    border-top: 1px solid var(--color-border);
}

.inquiry-box {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    flex-wrap: wrap;
}

.inquiry-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inquiry-info h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
}

.inquiry-info p {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.inquiry-meta {
    list-style: none;
}

.inquiry-meta li {
    font-size: 15px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 500;
}

.inquiry-form-wrap {
    flex: 1.3;
    min-width: 300px;
    padding: 50px;
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.inquiry-success-msg {
    text-align: center;
    padding: 40px 0;
}

.inquiry-success-msg h4 {
    color: var(--color-success);
    font-size: 24px;
    margin-bottom: 10px;
}

.inquiry-success-msg p {
    color: var(--color-text-muted);
}

/* --- 8. Single Product Details --- */
.single-product-container {
    padding: 40px 0 80px;
    background-color: #ffffff;
}

.breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.product-detail-flex {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.product-gallery {
    flex: 1.2;
    min-width: 350px;
}

.main-image-wrap {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: #f8fafc;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.large-placeholder .dashicons {
    font-size: 120px;
    width: 120px;
    height: 120px;
    opacity: 0.2;
}

.product-summary {
    flex: 1.5;
    min-width: 350px;
}

.product-label-tag {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-accent-hover);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-excerpt {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.specs-table-wrap {
    margin-bottom: 30px;
}

.specs-table-wrap h3,
.customization-summary h3 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 4px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.specs-table th,
.specs-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    text-align: left;
}

.specs-table th {
    width: 160px;
    font-weight: 600;
    color: var(--color-text-muted);
    background-color: var(--color-bg-light);
}

.specs-table td {
    font-weight: 500;
    color: var(--color-primary);
}

.customization-summary {
    margin-bottom: 35px;
}

.custom-list-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
}

.custom-list-grid li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list-grid li.supported {
    color: var(--color-text-dark);
}

.custom-list-grid li.supported .custom-status-icon::before {
    content: "✓";
    color: #ffffff;
    background-color: var(--color-success);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.custom-list-grid li.not-supported {
    color: var(--color-text-muted);
    opacity: 0.5;
    text-decoration: line-through;
}

.custom-list-grid li.not-supported .custom-status-icon::before {
    content: "✕";
    color: #ffffff;
    background-color: var(--color-danger);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.product-description-wrap {
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}

.section-title-line {
    font-size: 24px;
    margin-bottom: 25px;
}

.product-content {
    font-size: 15px;
    color: #334155; /* Soft, highly-readable text color */
    line-height: 1.8;
}

.product-content p {
    margin-bottom: 20px;
}

/* Headings inside content */
.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6 {
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-content h2 {
    font-size: 22px;
    border-left: 4px solid var(--color-accent);
    padding-left: 12px;
    margin-top: 40px;
}

.product-content h3 {
    font-size: 18px;
    color: var(--color-primary-light);
}

.product-content h4 {
    font-size: 16px;
}

/* Rich Lists (ul/ol) inside content */
.product-content ul,
.product-content ol {
    margin-bottom: 25px;
    padding-left: 5px;
}

.product-content ul {
    list-style: none; /* Custom premium bullet */
}

.product-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.product-content ul li::before {
    content: "•";
    color: var(--color-accent);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
    line-height: 1;
}

.product-content ol li {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 5px;
}

.product-content li strong,
.product-content strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Premium Table Styling (with borders, headers and spacing) */
.product-content table {
    width: 100% !important; /* Force full responsiveness and override inline widths */
    max-width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1; /* Clear premium border */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.product-content th,
.product-content td {
    padding: 14px 20px; /* Generous B2B technical padding */
    border: 1px solid #cbd5e1; /* Prominent borders */
    text-align: left;
    line-height: 1.6;
    vertical-align: top;
    color: #475569; /* Slate text for readability */
}

.product-content th {
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
}

/* Zebra striping for table rows */
.product-content tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Hover effects */
.product-content tr:hover td {
    background-color: #f1f5f9;
}

/* First column styling when it acts as a label (i.e. not spanning full width) */
.product-content table td:first-child:not([colspan]) {
    font-weight: 700;
    color: var(--color-primary);
    background-color: #f8fafc;
    width: 30%;
    border-right: 1px solid #cbd5e1;
}

/* Full width title/header cells within a table (colspan=2) */
.product-content table td[colspan="2"] {
    font-weight: 700;
    color: var(--color-primary);
    background-color: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
    font-size: 15px;
    padding: 16px 20px;
}

/* Special styling for the very first row or specific header text in full-width cells */
.product-content table tr:first-child td[colspan="2"] {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 16px;
    border-bottom: 3px solid var(--color-accent);
}

/* Horizontal line/divider */
.product-content hr {
    border: 0;
    height: 1px;
    background: var(--color-border);
    margin: 40px 0;
}

/* --- 9. Responsive Breakpoints --- */
.mobile-nav-toggle {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-flex {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .header-main-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        position: relative;
        padding: 0 20px;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }
    
    .mobile-nav-toggle .hamburger-bar {
        width: 100%;
        height: 2.5px;
        background-color: var(--color-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        padding: 20px;
        z-index: 99;
    }
    
    .main-navigation.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }
    
    .main-navigation ul,
    .main-navigation div > ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .main-navigation li {
        width: 100%;
        position: relative;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
    }

    .main-navigation li.menu-item-has-children,
    .main-navigation li.page_item_has_children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .main-navigation li.menu-item-has-children > a,
    .main-navigation li.page_item_has_children > a {
        flex: 1;
    }

    .main-navigation li.menu-item-has-children > a::after,
    .main-navigation li.page_item_has_children > a::after {
        display: none; /* Hide desktop arrow on mobile */
    }

    .mobile-submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 16px;
        cursor: pointer;
        color: var(--color-text-muted);
        border-bottom: 1px solid #f1f5f9;
        user-select: none;
        font-weight: bold;
    }

    .main-navigation ul.sub-menu,
    .main-navigation ul.children,
    .main-navigation li ul {
        display: none;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: #f8fafc;
        padding: 5px 0 5px 15px;
        margin-top: 0;
    }

    .main-navigation li.open-submenu > ul {
        display: block;
        animation: slideDown 0.25s ease forwards;
    }

    .main-navigation li ul li {
        display: block;
        width: 100%;
    }

    .main-navigation li ul a {
        padding: 8px 10px;
        font-size: 13.5px;
        border-bottom: none;
        color: var(--color-text-dark);
    }

    .main-navigation li ul a:hover {
        background-color: transparent;
        color: var(--color-accent);
        padding-left: 10px;
    }
    
    .main-navigation li:last-child a,
    .main-navigation li:last-child .mobile-submenu-toggle {
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-gallery, .product-summary {
        min-width: 100%;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
    
    .inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --- Gallery & Lightbox Additions --- */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumbnails .thumb-wrap {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.gallery-thumbnails .thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails .thumb-wrap:hover,
.gallery-thumbnails .thumb-wrap.active {
    border-color: var(--color-accent);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.product-header-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.product-header-tags .product-label-tag {
    margin-bottom: 0;
}

.product-model-tag {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: #ffffff;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons-flex {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-buttons-flex .btn {
    flex: 1;
    min-width: 160px;
}

.main-image-wrap {
    position: relative;
}

.zoom-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.main-image-wrap:hover .zoom-icon-overlay {
    opacity: 1;
}

.main-image-wrap:hover .main-image {
    transform: scale(1.03);
}

.main-image {
    transition: transform 0.3s ease;
}

/* Lightbox overlay styling */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrap {
    position: relative;
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content-wrap img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#lightbox-caption {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.25s, color 0.2s;
    user-select: none;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: color 0.25s, transform 0.2s;
    z-index: 10000;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

/* Dashicons inside buttons */
.dashicons-pdf::before {
    content: "\f310";
    font-family: dashicons;
}

/* Responsive adjustment for action buttons */
@media (max-width: 480px) {
    .action-buttons-flex {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- 6. Homepage Specific Styles --- */
.home-hero {
    position: relative;
    padding: 140px 0;
    color: #ffffff;
    overflow: hidden;
    background-color: var(--color-primary);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures aspect ratio is maintained, preventing image deformation */
    object-position: center;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(13, 21, 39, 0.6) 100%);
    z-index: 2;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.home-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.hero-container {
    position: relative;
    z-index: 4;
}

.hero-text-block {
    max-width: 800px;
}

.hero-tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(245, 158, 11, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-main-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.hero-description {
    font-size: 19px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 35px;
}

.hero-actions-flex {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Stats Bar Banner */
.home-stats-bar {
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    color: #ffffff;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-bar-item {
    position: relative;
}

.stat-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background-color: rgba(255,255,255,0.1);
}

.stat-bar-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-bar-text {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* About Intro Section */
.home-about-intro {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-desc-large {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-point {
    display: flex;
    gap: 15px;
}

.point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 12px;
}

.about-point h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.about-point p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.about-intro-visual {
    position: relative;
}

.visual-video-placeholder {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--color-border);
}

.factory-img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-video-placeholder:hover .factory-img {
    transform: scale(1.03);
}

.video-overlay-play {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.visual-video-placeholder:hover .video-overlay-play {
    background-color: var(--color-primary);
}

.play-triangle {
    font-size: 20px;
    color: var(--color-accent);
}

.play-label {
    font-size: 14px;
    font-weight: 600;
}

/* Solutions / Applications */
.home-applications-solutions {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.solution-img-wrap {
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.solution-card:hover .solution-img-wrap img {
    transform: scale(1.05);
}

.solution-body {
    padding: 25px;
}

.solution-body h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.solution-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Section Header Utility */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.5;
}

/* Capabilities Grid */
.home-capabilities {
    padding: 100px 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.capability-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.capability-card h3 {
    font-size: 19px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.capability-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* OEM Comparison Table */
.home-oem-comparison {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
}

.oem-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
    min-width: 800px;
}

.oem-comparison-table th,
.oem-comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.oem-comparison-table th {
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.oem-comparison-table th:first-child {
    background-color: #0f172a;
}

.oem-comparison-table td.feature-name {
    font-weight: 700;
    color: var(--color-primary);
    background-color: #f8fafc;
    width: 25%;
}

.oem-comparison-table tr:hover td {
    background-color: #f8fafc;
}

/* Featured Products */
.home-featured-products {
    padding: 100px 0;
}

/* OEM/ODM Workflow */
.home-workflow {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.step-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    position: relative;
}

.step-num {
    font-size: 36px;
    font-weight: 800;
    color: rgba(245, 158, 11, 0.15);
    line-height: 1;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.step-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Quality Control Panel */
.home-quality-control {
    padding: 100px 0;
    background-color: #ffffff;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.quality-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--color-border);
}

.quality-img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.quality-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.quality-feature-item {
    display: flex;
    gap: 15px;
}

.feat-bullet {
    color: var(--color-accent);
    font-size: 18px;
    margin-top: 2px;
}

.quality-feature-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.quality-feature-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Certificates Showcase */
.home-certificates-showcase {
    padding: 100px 0;
    background-color: var(--color-primary);
    color: #ffffff;
}

.home-certificates-showcase .section-title {
    color: #ffffff;
}

.home-certificates-showcase .section-desc {
    color: #94a3b8;
}

.certs-grid-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.cert-icon-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-icon-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.cert-badge-type {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.cert-icon-card p {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.4;
}

/* FAQ Accordion Section */
.home-faq-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.faq-accordion-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.25s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.faq-icon-arrow {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-text-muted);
    transition: transform 0.25s ease;
}

.faq-question:hover {
    background-color: var(--color-bg-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 20px 0;
}

.faq-item.active {
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
}

.faq-item.active .faq-question {
    background-color: var(--color-bg-light);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 25px;
    border-top: 1px solid var(--color-border);
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .certs-grid-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .about-intro-grid,
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-bar-item:nth-child(2)::after {
        display: none;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 80px 0;
    }
    
    .hero-main-title {
        font-size: 38px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .certs-grid-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-bar-item::after {
        display: none !important;
    }
}

