/* ==========================================
   CELLMEC SOLUTIONS PAGE - REDESIGNED
   Clean, Compact & Professional
   ========================================== */

.container-sol {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   HERO SECTION - COMPACT
   ========================================== */

.solutions-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    background: var(--navy);
}

.solutions-hero-bg {
    position: absolute;
    inset: 0;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a1534 100%);
}

.breadcrumb-sol {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-sol a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb-sol i {
    font-size: 9px;
}

.hero-content-sol {
    text-align: center;
}

.hero-title-sol {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.text-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc-sol {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   QUICK CATEGORIES NAV - COMPACT
   ========================================== */

.quick-categories {
    padding: 30px 0;
    background: var(--warm-white);
    border-bottom: 2px solid var(--cool-gray);
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cat-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--cool-gray);
    border-radius: 50px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.cat-nav-btn i {
    font-size: 16px;
    color: var(--gold);
}

.cat-nav-btn:hover,
.cat-nav-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.cat-nav-btn:hover i,
.cat-nav-btn.active i {
    color: var(--gold);
}

/* ==========================================
   SOLUTION SECTIONS - COMPACT
   ========================================== */

.solution-section {
    padding: 70px 0;
    background: var(--white);
}

.solution-section.alt-bg {
    background: var(--warm-white);
}

/* Section Header - Compact */
.section-header-sol {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.section-header-sol.center {
    flex-direction: column;
    text-align: center;
}

.section-icon-sol {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    flex-shrink: 0;
}

.section-text-sol {
    flex: 1;
}

.section-title-sol {
    font-size: 36px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-title-sol.light {
    color: var(--white);
}

.section-subtitle-sol {
    font-size: 15px;
    color: var(--charcoal);
    margin: 0;
}

.section-subtitle-sol.light {
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================
   SOLUTION CARDS - COMPACT & CLEAN
   ========================================== */

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

.solution-card {
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--cool-gray);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 38, 92, 0.15);
    border-color: var(--gold);
}

/* Card Header - Compact */
.card-header-sol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--warm-white);
    border-bottom: 2px solid var(--cool-gray);
}

.card-icon-sol {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.card-badge-sol {
    padding: 6px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge-sol.gold {
    background: var(--gradient-gold);
}

/* Card Body - Compact */
.card-body-sol {
    padding: 25px;
}

.card-title-sol {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.card-desc-sol {
    font-size: 14px;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 20px;
}

/* Card Specs - Compact Table */
.card-specs-sol {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.spec-row-sol {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(200, 162, 91, 0.15);
}

.spec-row-sol:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label-sol {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
}

.spec-value-sol {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-align: right;
}

/* Card Features - Clean List */
.card-features-sol {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item-sol {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--charcoal);
    font-weight: 500;
}

.feature-item-sol i {
    color: var(--gold);
    font-size: 14px;
    flex-shrink: 0;
}

/* ==========================================
   CERTIFICATIONS SECTION - CLEAN
   ========================================== */

.certifications-section {
    padding: 70px 0;
    position: relative;
    background: var(--navy);
}

.cert-bg {
    position: absolute;
    inset: 0;
}

.cert-overlay {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(200, 162, 91, 0.1) 0%, transparent 70%);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.cert-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(200, 162, 91, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.cert-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.cert-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin-bottom: 20px;
}

.cert-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cert-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.cert-list i {
    color: var(--gold);
    font-size: 14px;
}

/* Benefits Section */
.benefits-section {
    position: relative;
    z-index: 2;
}

.benefits-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(200, 162, 91, 0.15);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ==========================================
   CTA SECTION - COMPACT
   ========================================== */

.solutions-cta {
    padding: 70px 0;
    background: var(--white);
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--warm-white);
    border-radius: 20px;
    border: 2px solid var(--cool-gray);
}

.cta-icon-sol {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin-bottom: 25px;
}

.cta-title-sol {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
}

.cta-text-sol {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.cta-buttons-sol {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-sol-primary,
.btn-sol-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-sol-primary {
    background: var(--gradient-gold);
    color: var(--white);
}

.btn-sol-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 162, 91, 0.4);
    color: var(--white);
}

.btn-sol-secondary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-sol-secondary:hover {
    background: transparent;
    color: var(--navy);
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1400px) {
    .container-sol {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1200px) {
    .hero-title-sol {
        font-size: 42px;
    }

    .section-title-sol {
        font-size: 32px;
    }

    .solutions-grid {
        gap: 25px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

@media (max-width: 992px) {
    .solutions-hero {
        min-height: 300px;
        padding: 130px 0 50px;
    }

    .hero-title-sol {
        font-size: 36px;
    }

    .hero-desc-sol {
        font-size: 15px;
    }

    .quick-categories {
        padding: 25px 0;
    }

    .categories-nav {
        gap: 10px;
    }

    .cat-nav-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .solution-section {
        padding: 60px 0;
    }

    .section-header-sol {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section-icon-sol {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .section-title-sol {
        font-size: 28px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-title-sol {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .container-sol {
        padding: 0 1rem;
    }

    .solutions-hero {
        padding: 120px 0 40px;
    }

    .hero-title-sol {
        font-size: 30px;
    }

    .hero-desc-sol {
        font-size: 14px;
    }

    .categories-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .cat-nav-btn {
        justify-content: center;
    }

    .solution-section {
        padding: 50px 0;
    }

    .section-title-sol {
        font-size: 24px;
    }

    .section-subtitle-sol {
        font-size: 14px;
    }

    .card-header-sol {
        padding: 18px;
    }

    .card-icon-sol {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .card-badge-sol {
        padding: 5px 12px;
        font-size: 10px;
    }

    .card-body-sol {
        padding: 20px;
    }

    .card-title-sol {
        font-size: 18px;
    }

    .card-desc-sol {
        font-size: 13px;
    }

    .cert-card-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .cert-card-title {
        font-size: 17px;
    }

    .benefits-heading {
        font-size: 22px;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .cta-icon-sol {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .cta-title-sol {
        font-size: 24px;
    }

    .cta-buttons-sol {
        flex-direction: column;
    }

    .btn-sol-primary,
    .btn-sol-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title-sol {
        font-size: 26px;
    }

    .section-icon-sol {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .section-title-sol {
        font-size: 22px;
    }

    .card-specs-sol {
        padding: 12px;
    }

    .spec-row-sol {
        padding: 6px 0;
    }

    .spec-label-sol,
    .spec-value-sol {
        font-size: 12px;
    }

    .feature-item-sol {
        font-size: 12px;
    }

    .cert-info-card {
        padding: 25px;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .cta-title-sol {
        font-size: 22px;
    }
}

/* ==========================================
   SCROLL PADDING FOR ANCHOR LINKS
   ========================================== */

#electrical,
#industrial,
#automation,
#certifications,
#servers,
#mcc,
#distribution,
#busbar,
#ehouse,
#modular,
#retrofit,
#mv,
#scada,
#process-automation,
#instrumentation,
#control {
    scroll-margin-top: 100px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

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

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .solutions-hero,
    .quick-categories,
    .solutions-cta {
        background: var(--white) !important;
    }

    .overlay-dark,
    .cert-overlay {
        display: none !important;
    }

    .solution-card {
        page-break-inside: avoid;
    }
}

/* ==========================================
   FOCUS STYLES FOR ACCESSIBILITY
   ========================================== */

.cat-nav-btn:focus,
.btn-sol-primary:focus,
.btn-sol-secondary:focus {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================
   SMOOTH TRANSITIONS
   ========================================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   LOADING STATE (Optional)
   ========================================== */

.solution-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.solution-card.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
}