/*
==========================
    TRADE TAB SWITCHER
==========================
*/
.trades-tab-switcher {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trades-tab {
    padding: 10px 24px;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: #FFF;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.trades-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.trades-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFF;
}

body.trade-electrical .trades-tab.active {
    color: #1A1A1A;
}

/*
======================
    SERVICES INTRO
======================
*/
.trades-services-intro {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 40px;
    text-align: center;
}

.trades-services-intro p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

/*
=====================
    SERVICES LIST
=====================
*/
.trades-services-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 100px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.trades-service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trades-service-row-reverse {
    direction: rtl;
}

.trades-service-row-reverse > * {
    direction: ltr;
}

.trades-service-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.trades-service-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trades-service-img:hover img {
    transform: scale(1.04);
}

.trades-service-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.trades-service-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: background 0.4s ease;
}

.trades-service-content p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.trades-service-points {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trades-service-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #333;
    font-weight: 500;
}

.trades-service-points li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: #FFF;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.4s ease;
}

body.trade-electrical .trades-service-points li::before {
    color: #1A1A1A;
}

/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .trades-page-hero {
        padding: 70px 16px 40px;
    }

    .trades-page-hero h1 {
        font-size: 2rem;
    }

    .trades-tab {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .trades-services-intro {
        padding: 0 16px;
        margin: 40px auto;
    }

    .trades-services-list {
        padding: 0 16px 60px;
        gap: 50px;
    }

    .trades-service-row {
        grid-template-columns: 1fr;
        gap: 24px;
        direction: ltr;
    }

    .trades-service-row-reverse {
        direction: ltr;
    }

    .trades-service-img img {
        height: 220px;
    }

    .trades-service-content h2 {
        font-size: 1.4rem;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .trades-page-hero {
        padding: 80px 24px 48px;
    }

    .trades-page-hero h1 {
        font-size: 2.4rem;
    }

    .trades-services-intro {
        padding: 0 24px;
        margin: 48px auto;
    }

    .trades-services-list {
        padding: 0 24px 80px;
        gap: 60px;
    }

    .trades-service-row {
        grid-template-columns: 1fr;
        gap: 28px;
        direction: ltr;
    }

    .trades-service-row-reverse {
        direction: ltr;
    }

    .trades-service-img img {
        height: 260px;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .trades-services-list {
        padding: 0 30px 90px;
        gap: 60px;
    }

    .trades-service-row {
        gap: 40px;
    }

    .trades-service-img img {
        height: 290px;
    }
}