/* =============================================
   certifiedewasterecycling.in — Trust & Authority Theme
   Color Palette: Deep Navy Blue (#0f2044) + Emerald Green (#16a34a) + White
   ============================================= */

:root {
    --navy: #0f2044;
    --navy-mid: #162d5c;
    --navy-light: #1e3a7a;
    --green: #16a34a;
    --green-light: #22c55e;
    --green-pale: rgba(22, 163, 74, 0.1);
    --green-glow: rgba(22, 163, 74, 0.25);
    --white: #ffffff;
    --off-white: #f8fafc;
    --muted: #94a3b8;
    --muted-dark: #64748b;
    --border-light: rgba(255,255,255,0.08);
    --border-green: rgba(22, 163, 74, 0.3);
    --red-pale: rgba(239, 68, 68, 0.08);
    --red: #ef4444;
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.25);
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'DM Serif Display', Georgia, serif;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font);
    background-color: var(--white);
    color: #1e293b;
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

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

/* ─── Header ─── */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 999;
    background: rgba(15, 32, 68, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-shield {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    box-shadow: 0 0 18px var(--green-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.2px;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}

.logo-in { color: var(--green-light); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    transition: var(--transition);
}

.nav-link:hover { color: var(--white); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--green-light);
    box-shadow: 0 0 20px var(--green-glow);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--navy);
    border-top: 1px solid var(--border-light);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.mobile-nav-link:hover { color: var(--white); }

.mobile-cta {
    margin-top: 1rem;
    background: var(--green);
    color: var(--white) !important;
    text-align: center;
    border-radius: 8px;
    padding: 0.9rem;
    border-bottom: none;
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ─── Hero ─── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(15,32,68,0.97) 0%,
        rgba(15,32,68,0.85) 50%,
        rgba(15,32,68,0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 4rem 0;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: var(--green-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.accent-underline {
    position: relative;
    display: inline-block;
    color: var(--green-light);
}

.accent-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--green), transparent);
    border-radius: 2px;
}

.hero-body {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.75;
}

.hero-body strong { color: var(--green-light); }

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 20px var(--green-glow);
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--green-glow);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-hero { padding: 1rem 2rem; font-size: 1rem; }

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* Hero Stats */
.hero-stat-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green-light);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ─── Sections ─── */
.section { padding: 100px 0; }

.section-alt { background-color: var(--off-white); }

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    background: var(--green-pale);
    border: 1px solid var(--border-green);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.section-label.light {
    color: var(--green-light);
    background: rgba(22,163,74,0.12);
    border-color: rgba(22,163,74,0.25);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.9rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.section-title.light { color: var(--white); }

.section-desc {
    font-size: 1.05rem;
    color: var(--muted-dark);
    max-width: 620px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

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

/* ─── Comparison Grid ─── */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .vs-badge { text-align: center; }
}

.comparison-bad, .comparison-good {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comp-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.comp-head.bad {
    background: rgba(239, 68, 68, 0.08);
    color: var(--red);
    border-bottom: 2px solid var(--red);
}

.comp-head.good {
    background: var(--green-pale);
    color: var(--green);
    border-bottom: 2px solid var(--green);
}

.comp-list {
    list-style: none;
    padding: 1.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.comp-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.comparison-bad .comp-list li i { color: var(--red); }
.comparison-good .comp-list li i { color: var(--green); }

.vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    margin-top: 4rem;
    align-self: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* ─── Process Steps ─── */
.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .step-connector { display: none; }
}

.step-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-green);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: -14px;
    left: 1.5rem;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
}

.step-icon-wrap {
    width: 64px; height: 64px;
    background: var(--green-pale);
    border: 1px solid var(--border-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--green-light);
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

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

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    color: var(--green);
    font-size: 1.1rem;
    opacity: 0.5;
}

/* ─── Items Grid ─── */
.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .items-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .items-grid { grid-template-columns: 1fr; }
}

.item-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.item-card:hover::before { transform: scaleX(1); }

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-green);
}

.item-card i {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1rem;
    display: block;
}

.item-card h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.item-card p {
    font-size: 0.88rem;
    color: var(--muted-dark);
    line-height: 1.6;
}

/* ─── FAQ ─── */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    transition: var(--transition);
    gap: 1rem;
}

.faq-question:hover { background: rgba(255,255,255,0.08); }

.faq-question[aria-expanded="true"] {
    background: rgba(22,163,74,0.1);
    border-bottom: 1px solid var(--border-green);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--green-light);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
}

.faq-answer.open { display: block; }

.faq-answer p {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── CTA Banner ─── */
.cta-banner {
    position: relative;
    background: var(--navy-light);
    padding: 80px 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-pale) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.cta-text p {
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
}

/* ─── Footer ─── */
.site-footer {
    background: var(--navy);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 1rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green-light);
    margin-bottom: 1.25rem;
}

.footer-links-group a {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.footer-links-group a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--muted-dark);
}

.footer-bottom a {
    color: var(--green-light);
    font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-heading { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .hero-stat-row { flex-wrap: wrap; gap: 1.25rem; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text p { margin: 0 auto; }
    .trust-badges { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 2rem; }
    .hero-cta-group { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
}

/* ─── Visual Showcase ─── */
.visual-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .visual-showcase { grid-template-columns: 1fr; }
}

.showcase-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.showcase-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.showcase-img:hover .showcase-photo {
    transform: scale(1.04);
}

.showcase-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(15,32,68,0.92) 0%, transparent 100%);
    color: var(--white);
    padding: 1.25rem 1.25rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-caption i { color: var(--green-light); }

