/* ==========================================================================
   VACTIP - Wastewater Management Page Styles
   ========================================================================== */

/* Hero Section */
.service-hero {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 11, 13, 0.9) 0%,
        rgba(10, 11, 13, 0.65) 50%,
        rgba(10, 11, 13, 0.95) 100%
    );
    z-index: 2;
}

.service-hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 40px 40px 40px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-hero-title span.white {
    color: var(--text-white);
}

.service-hero-title span.green {
    background: var(--gradient-green);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.service-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-light);
    margin-top: 15px;
    letter-spacing: 0.02em;
}

/* Sections Common Layout */
.page-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.section-light {
    background-color: #ffffff;
    color: #1a1c20;
}

.section-accent-light {
    background-color: #f7faf6;
    color: #1a1c20;
}

.section-dark {
    background-color: var(--dark-card);
    color: var(--text-white);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary-green);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title-custom {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 850;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0c0e12;
}

.section-dark .section-title-custom {
    color: var(--text-white);
}

.section-title-custom span.green {
    color: var(--primary-green);
}

.section-desc {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 18px;
    color: #5a5d66;
}

.section-dark .section-desc {
    color: var(--text-muted);
}

/* Stream Cards Grid */
.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stream-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(110, 189, 38, 0.08);
    border-color: rgba(110, 189, 38, 0.2);
}

.stream-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(110, 189, 38, 0.1);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.stream-card:hover .stream-card-icon {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: rotate(10deg) scale(1.05);
}

.stream-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0c0e12;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stream-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a5d66;
    flex-grow: 1;
}

/* Compliance Banner */
.compliance-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.compliance-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.compliance-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 850;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-white);
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compliance-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.compliance-item-icon {
    color: var(--primary-green);
    font-size: 20px;
    margin-top: 3px;
}

.compliance-item-text h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-white);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.compliance-item-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.compliance-badge-card {
    background: linear-gradient(135deg, #15181e 0%, #0d0e11 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.badge-logo {
    font-size: 50px;
    color: var(--primary-green);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(110,189,38,0.3));
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.badge-desc {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Process Timeline styling */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background-color: rgba(110, 189, 38, 0.2);
}

.timeline-step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    top: 0;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid var(--primary-green);
    color: var(--secondary-green);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-marker {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: scale(1.1);
}

.step-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.01);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0c0e12;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a5d66;
}

/* FAQ Accordions */
.faq-section {
    padding: 100px 40px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(110, 189, 38, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #0c0e12;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question i {
    color: var(--primary-green);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #5a5d66;
}

/* Responsiveness */
@media (max-width: 991px) {
    .page-section {
        padding: 60px 20px;
    }
    
    .compliance-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-step {
        padding-left: 55px;
    }
    
    .step-marker {
        left: 0;
    }
}
