/* Modern Premium CSS Reset & Variable System */
:root {
    --primary: #0a2540;
    --primary-blue: #0052cc;
    --secondary-blue: #0066fe;
    --accent-blue: #00d4ff;
    --bg-light: #f4f7fb;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 25px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.logo-tata {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.logo-rewire {
    font-weight: 600;
    color: #10b981; /* Green to match recycling / respect */
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.logo-divider {
    color: var(--border-color);
    font-size: 1.4rem;
}

.logo-partner {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
    transition: var(--transition);
}

.btn-phone:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #e6f0fa 100%);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: flex-start;  /* center → flex-start */
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 82, 204, 0.08);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.text-accent {
    color: #10b981;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-subtext strong {
    color: var(--primary);
}

.hero-usp {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.usp-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.usp-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-form-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 82, 204, 0.08);
    align-self: flex-start;
    margin-top: 0;
    position: relative;
    top: -40px;  /* ye value adjust karo */
}

.hero-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.hero-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 82, 204, 0.35);
}

.form-security-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    margin-top: 40px;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.trust-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-blue);
}

.trust-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Section Common Header */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-badge {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 204, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(0, 82, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon i {
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.benefit-card strong {
    color: var(--primary);
}

/* Interactive Calculator Section */
.calculator-section {
    padding: 100px 0;
    background-color: var(--white);
}

.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.calc-opt-btn {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}

.calc-opt-btn i {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.calc-opt-btn span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.calc-opt-btn.active {
    border-color: var(--primary-blue);
    background-color: rgba(0, 82, 204, 0.05);
}

.calc-opt-btn.active i {
    color: var(--primary-blue);
}

.calc-opt-btn.active span {
    color: var(--primary-blue);
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: var(--white);
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition);
}

.calc-select:focus,
.calc-input:focus {
    border-color: var(--primary-blue);
}

.calc-input-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-calculate {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-calculate:hover {
    background-color: var(--primary-blue);
}

/* Calculator Results */
.calc-results {
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px;
    border: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.results-header h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.total-badge {
    background: linear-gradient(135deg, #e6f0fa 0%, #f0f7ff 100%);
    border: 1px solid rgba(0, 82, 204, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.total-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
}

.total-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.res-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.res-item-label i {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.res-item-val {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.text-blue {
    color: #10b981;
}

.results-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-claim {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
    transition: var(--transition);
}

.btn-claim:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.calc-terms {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    position: relative;
}

.step-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px 24px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(0, 82, 204, 0.15);
}

.step-num {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0, 82, 204, 0.15);
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(0, 82, 204, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Facility Section */
.facility-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.facility-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.facility-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.facility-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.facility-feat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.facility-feat-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    background-color: rgba(0, 82, 204, 0.05);
    padding: 12px;
    border-radius: 50%;
}

.facility-feat-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.facility-feat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.facility-visual-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 480px;
}

.facility-visual-card {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.facility-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-visual-card:hover .facility-image {
    transform: scale(1.05);
}

.facility-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0) 100%);
    color: var(--white);
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Item Open State */
.faq-item.active {
    border-color: rgba(0, 82, 204, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary-blue);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust dynamically */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.text-green {
    color: #10b981;
}

.modal-body {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-summary {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.modal-summary-row strong {
    color: var(--primary-blue);
}

.btn-close-modal {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background-color: var(--primary-blue);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.logo-footer .logo-tata {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 400px;
}

.footer-contacts p {
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-contacts i {
    color: var(--accent-blue);
    margin-right: 8px;
}

.footer-location h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-location p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-disclaimer {
    max-width: 900px;
    line-height: 1.5;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .facility-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-menu {
        display: none; /* Hide nav links on tablet/mobile for ads simplicity */
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .calc-options {
        grid-template-columns: 1fr;
    }
    
    .calc-row {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .trust-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-form-card {
        padding: 24px;
    }
    
    .facility-visual-grid {
        grid-template-rows: 200px 200px;
        height: 420px;
        gap: 16px;
    }
}

/* =============================================
   SCRAP VEHICLE ANIMATION SCENE
   ============================================= */

.scrap-scene {
    margin-top: 28px;
    background: linear-gradient(135deg, rgba(0,82,204,0.15), rgba(0,212,255,0.08));
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 20px;
    padding: 18px 18px 14px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.scene-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    opacity: 0.85;
}

.scene-stage {
    position: relative;
    height: 130px;
    background: linear-gradient(180deg, #0a1628 0%, #0f2345 60%, #162040 100%);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,212,255,0.1);
}

.factory-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }

.factory-smoke {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(150,180,220,0.18), transparent);
    animation: smokeRise 3.5s ease-in-out infinite;
}
.factory-smoke.s1 { left: 10%; width: 18px; height: 50px; animation-delay: 0s; }
.factory-smoke.s2 { left: 20%; width: 14px; height: 40px; animation-delay: 1.2s; }
.factory-smoke.s3 { left: 30%; width: 20px; height: 60px; animation-delay: 0.6s; }

@keyframes smokeRise {
    0%   { transform: translateY(0) scale(0.8); opacity: 0; }
    20%  { opacity: 0.6; }
    80%  { opacity: 0.2; }
    100% { transform: translateY(-120px) scale(2.5); opacity: 0; }
}

.crane {
    position: absolute;
    top: 0; right: 14%;
    width: 8px; height: 70px;
    animation: craneSwing 4s ease-in-out infinite;
    transform-origin: top center;
}
.crane-arm {
    position: absolute;
    top: 0; left: -40px;
    width: 80px; height: 6px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 3px;
}
.crane-cable {
    position: absolute;
    top: 6px; left: 50%;
    width: 2px; height: 45px;
    background: rgba(148,163,184,0.6);
    transform: translateX(-50%);
}
.crane-magnet {
    position: absolute;
    top: 50px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #00d4ff;
    box-shadow: 0 0 10px rgba(0,212,255,0.6);
    animation: magnetPulse 1.5s ease-in-out infinite;
}
@keyframes craneSwing {
    0%, 100% { transform: rotate(-5deg); }
    50%       { transform: rotate(5deg); }
}
@keyframes magnetPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,0.5); }
    50%       { box-shadow: 0 0 20px rgba(0,212,255,0.9), 0 0 35px rgba(0,212,255,0.4); }
}

.scrap-car {
    position: absolute;
    bottom: 14px; left: 5%;
    width: 200px;
    animation: carDrive 6s ease-in-out infinite;
}
.car-svg {
    width: 100%;
    filter: drop-shadow(0 4px 12px rgba(0,82,204,0.5));
}
.car-svg .car-wheel { animation: wheelSpin 1s linear infinite; transform-origin: center; }

@keyframes carDrive {
    0%   { left: -220px; opacity: 0; transform: scaleX(1) scaleY(1); }
    15%  { opacity: 1; }
    60%  { left: 35%; transform: scaleX(1) scaleY(1); }
    70%  { left: 35%; transform: scaleX(1) scaleY(0.55); filter: hue-rotate(30deg); }
    80%  { left: 35%; transform: scaleX(0.5) scaleY(0.3); opacity: 0.4; }
    90%  { left: 35%; opacity: 0; }
    100% { left: -220px; opacity: 0; transform: scaleX(1) scaleY(1); }
}
@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.crush-particles { position: absolute; top: 0; left: 50%; pointer-events: none; }

.particle {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    animation: particleBurst 6s ease-in-out infinite;
}
.p1 { animation-delay: 3.7s; --dx: -60px; --dy: -50px; }
.p2 { animation-delay: 3.9s; --dx:  50px; --dy: -40px; }
.p3 { animation-delay: 4.1s; --dx: -40px; --dy: -65px; }
.p4 { animation-delay: 4.3s; --dx:  70px; --dy: -55px; }
.p5 { animation-delay: 4.0s; --dx:  10px; --dy: -70px; }

@keyframes particleBurst {
    0%   { opacity: 0; transform: translate(0,0) scale(0.3); }
    5%   { opacity: 1; transform: translate(0,0) scale(1.2); }
    20%  { opacity: 0.8; transform: translate(var(--dx, -30px), var(--dy, -50px)) scale(1); }
    35%  { opacity: 0; transform: translate(calc(var(--dx, -30px)*1.8), calc(var(--dy, -50px)*1.5)) scale(0.5); }
    100% { opacity: 0; }
}

.sparks-container { position: absolute; bottom: 20px; left: 35%; pointer-events: none; }

.spark {
    position: absolute;
    width: 4px; height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    opacity: 0;
    animation: sparkFly 6s ease-in-out infinite;
    box-shadow: 0 0 4px #fbbf24;
}
.sp1  { animation-delay: 3.70s; --sx: -30px; --sy: -45px; background: #ff6b35; }
.sp2  { animation-delay: 3.75s; --sx:  25px; --sy: -60px; background: #ffd700; }
.sp3  { animation-delay: 3.80s; --sx: -50px; --sy: -30px; background: #ff4444; }
.sp4  { animation-delay: 3.85s; --sx:  40px; --sy: -50px; background: #00d4ff; }
.sp5  { animation-delay: 3.90s; --sx: -20px; --sy: -70px; background: #fbbf24; }
.sp6  { animation-delay: 3.95s; --sx:  60px; --sy: -35px; background: #ff6b35; }
.sp7  { animation-delay: 4.00s; --sx: -40px; --sy: -55px; background: #ffd700; }
.sp8  { animation-delay: 4.05s; --sx:  15px; --sy: -45px; background: #ff4444; }

@keyframes sparkFly {
    0%   { opacity: 0; transform: translate(0,0) scale(0); }
    5%   { opacity: 1; transform: translate(0,0) scale(1.5); }
    25%  { opacity: 0.7; transform: translate(var(--sx, -20px), var(--sy, -40px)) scale(1); }
    40%  { opacity: 0; transform: translate(calc(var(--sx)*1.6), calc(var(--sy)*1.4)) scale(0.3); }
    100% { opacity: 0; }
}

.recycle-badge {
    position: absolute;
    top: 10px; right: 12px;
    display: flex; flex-direction: column;
    align-items: center; gap: 3px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 10px;
    padding: 8px 10px;
    color: #00d4ff;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    animation: badgePulse 2s ease-in-out infinite;
}
.recycle-badge i {
    font-size: 1.4rem;
    animation: spinRecycle 4s linear infinite;
}
@keyframes spinRecycle {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 6px rgba(0,212,255,0.2); }
    50%       { box-shadow: 0 0 16px rgba(0,212,255,0.5); }
}

/* --- Process Flow Bar --- */
.process-flow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: nowrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    min-width: 52px;
}
.flow-step i { font-size: 0.9rem; }
.flow-step.active {
    background: linear-gradient(135deg, rgba(0,82,204,0.4), rgba(0,212,255,0.2));
    border-color: rgba(0,212,255,0.5);
    color: #fff;
    box-shadow: 0 0 12px rgba(0,212,255,0.3);
    transform: translateY(-2px);
}
.flow-arrow {
    color: rgba(0,212,255,0.4);
    font-size: 0.9rem;
    animation: arrowPulse 1.5s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50%       { opacity: 1; transform: translateX(2px); }
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   GLOWING UNDERLINE ON SECTION TITLES
   ============================================= */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-blue));
    margin: 12px auto 0;
    border-radius: 2px;
    animation: glowBar 2.5s ease-in-out infinite;
}
@keyframes glowBar {
    0%, 100% { box-shadow: 0 0 4px rgba(0,212,255,0.3); width: 60px; }
    50%       { box-shadow: 0 0 14px rgba(0,212,255,0.7); width: 90px; }
}
