/* CSS specific to the Services Page */

.services-hero {
    padding-top: 160px;
    padding-bottom: 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Detail Cards Grid */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-detail-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.service-tag {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-card > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.valuation-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.valuation-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.valuation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.valuation-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.service-detail-card .btn {
    width: 100%;
}

/* Commercial/Bulk Section */
.commercial-section {
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.commercial-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.commercial-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.commercial-features {
    margin-bottom: 36px;
}

.commercial-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.commercial-feature svg {
    color: var(--secondary);
}

.commercial-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.commercial-visual img {
    width: 100%;
}

/* Eco recycling layout */
.eco-recycling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.eco-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.recycling-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 70%);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotateDashed 60s linear infinite;
}

@keyframes rotateDashed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.recycling-center-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    color: #070a13;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: absolute;
    z-index: 2;
    animation: pulseEco 3s ease-in-out infinite;
}

@keyframes pulseEco {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(16, 185, 129, 0.7); }
}

.eco-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.eco-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.eco-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.eco-step {
    display: flex;
    gap: 16px;
}

.eco-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}

.eco-step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.eco-step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Accordion Section */
.faq-section {
    background-color: #f1f5f9; /* Slate 100: provides background contrast for white accordion cards */
    border-top: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff; /* Solid white background for collapsed cards */
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    user-select: none;
    transition: var(--transition-fast);
    color: var(--text-primary); /* Explicit dark color for contrast */
}

.faq-header:hover {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.02); /* Soft hover state tint */
}

.faq-icon {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: all 0.4s ease-in-out;
}

.faq-item.faq-active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04); /* Soft green background when active */
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
}

.faq-item.faq-active .faq-header {
    color: var(--primary);
}

.faq-item.faq-active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.faq-active .faq-content {
    max-height: 500px;
    padding-bottom: 24px;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .service-detail-card {
        padding: 40px 24px;
    }
}

@media (max-width: 1024px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .commercial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .commercial-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .eco-recycling-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .eco-visual {
        order: 2;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.8rem;
    }
    
    .service-detail-card {
        padding: 30px 24px;
    }
    
    .recycling-circle {
        width: 260px;
        height: 260px;
    }
    
    .recycling-center-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}
