/* --- SERVICES PAGE SPECIFIC STYLES --- */

/* Services Hero */
.services-hero {
    background: linear-gradient(135deg, #0d0d0d 0%, #222222 100%);
    color: white;
    padding: 100px 8% 140px 8%;
    text-align: center;
    position: relative;
}

.services-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.services-hero h1 span {
    color: var(--primary-red);
}

.services-hero p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 300;
}

/* Nav Tabs */
.services-nav-tabs {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: -50px auto 60px auto;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    gap: 5px;
}

.tab-trigger {
    flex: 1;
    padding: 16px 28px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-trigger.active {
    background: var(--dark-bg);
    color: white;
}

.tab-trigger:not(.active):hover {
    color: var(--primary-red);
    background: #fafafa;
}

/* Panel Display Wrapper */
.services-panel-wrapper {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 8%;
}

.services-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-panel.hidden {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 45px 35px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #ddd;
}

.service-card:hover::after {
    background: var(--primary-red);
}

/* Icons */
.service-icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(230,0,0,0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-red);
    font-size: 24px;
    font-weight: 800;
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary-red);
    color: white;
    transform: rotateY(180deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card h3 {
    font-size: 22px;
    color: var(--dark-bg);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Feature Checklist */
.service-feature-list {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-feature-list li {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-feature-list li::before {
    content: '✓';
    color: #00ff66;
    font-weight: 900;
}

/* Comparison Matrix */
.comparison-section {
    background: var(--light-grey);
    padding: 90px 8%;
    text-align: center;
}

.comparison-section h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
    font-weight: 800;
}

.comparison-section .lead-p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.compare-table-container {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    background: white;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.compare-table th {
    background: #fafafa;
    color: var(--dark-bg);
    font-weight: 700;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.check-green {
    color: #00ff66;
    font-weight: bold;
}

/* Support Wire Gateway */
.support-gateway {
    padding: 90px 8%;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?auto=format&fit=crop&w=1920&q=80') center center/cover;
    color: white;
}

.support-gateway h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.support-gateway p {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-weight: 300;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    .services-nav-tabs {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
        margin-top: -30px;
    }
    .tab-trigger {
        width: 100%;
        text-align: center;
    }
}
