/* ==========================================================================
   Swami Ecotech — Design System (UI/UX Pro Max · Flat Design)
   Pattern: Enterprise Gateway · Style: Flat · Motion: Standard
   ========================================================================== */
:root {
    /* Colors */
    --primary: #0f172a;
    --primary-dark: #020617;
    --secondary: #1e293b;
    --accent: #059669;
    --accent-strong: #047857;

    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;

    --border: #e2e8f0;
    --muted: #e8ecf1;
    --on-accent: #ffffff;

    /* Typography */
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Elevation (flat: minimal) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);

    /* Motion */
    --transition: all 200ms ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:focus-visible {
    outline: 3px solid rgba(5, 150, 105, 0.5);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

::selection {
    background: rgba(5, 150, 105, 0.2);
}

.container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-primary { 
    background-color: var(--primary); 
    color: var(--text-light);
}

.bg-primary h2, .bg-primary h3, .bg-primary p {
    color: var(--text-light);
}

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

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-text, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--on-accent);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-strong);
    color: white;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-text {
    padding: 0;
    color: var(--accent);
    font-weight: 700;
    background: transparent;
}

.btn-text:hover {
    color: var(--accent-strong);
    gap: 0.75rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 1.5rem);
    max-width: 1400px;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(2, 6, 23, 0.12);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 1px solid var(--border);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

/* ==========================================================================
   Hero (Standard)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.hero .hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-strong);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Section tags always sit above the title */
.section-header {
    position: relative;
}

.section-header .badge,
.text-center .badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visuals */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 2;
}

.glass-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.main-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.main-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.floating-card-1, .floating-card-2 {
    position: absolute;
    padding: 1rem 1.5rem;
}

.floating-card-1 {
    top: 15%;
    right: 0;
    text-align: center;
    animation: float 5s ease-in-out infinite 1s;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent);
}

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

.floating-card-2 {
    bottom: 20%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    animation: float 7s ease-in-out infinite 2s;
}

.floating-card-2 i {
    color: var(--accent);
    font-size: 1.25rem;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
    100% { transform: translate(-50%, -50%) translateY(0px); }
}

.floating-card-1 { animation-name: float-simple; }
.floating-card-2 { animation-name: float-simple; }

@keyframes float-simple {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Abstract Blobs (decorative) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(5, 150, 105, 0.2);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(15, 23, 42, 0.08);
    bottom: -50px;
    right: 300px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(5, 150, 105, 0.15);
    bottom: -30px;
    left: -30px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent);
    border: 2px dashed rgba(5, 150, 105, 0.25);
    position: relative;
    z-index: 2;
}

.section-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
}

/* ==========================================================================
   Impact Section
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-unit {
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 10px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Icon-based service cards (no images) */
.service-card-icon {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.service-card-icon::before {
    height: 4px;
}

.service-card-icon:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.22);
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card-icon:hover .service-card-badge {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.35);
    transform: rotate(-6deg) scale(1.05);
}

.service-card-icon .service-title {
    margin-bottom: 0.85rem;
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-strong);
    margin-top: 1.5rem;
    transition: var(--transition);
}

.service-card-cta i {
    transition: transform 0.3s ease;
}

.service-card-icon:hover .service-card-cta {
    gap: 0.75rem;
}

.service-card-icon:hover .service-card-cta i {
    transform: translateX(4px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 10px;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.09);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    background: white;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: white;
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-strong), #065f46);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, #0b1a26 0%, #06101c 100%);
    color: var(--text-light);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399, #059669);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.footer-cert-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5eead4;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
}

.footer-cert-row span i {
    color: #34d399;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.07);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2dd4bf, #10b981);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    margin-bottom: 0.85rem;
    transition: var(--transition);
    line-height: 1.4;
}

.footer-links a i {
    color: #2dd4bf;
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 10px;
    color: #34d399;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.75rem;
    color: #94a3b8;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-visual { display: none; }
    .hero .hero-content { max-width: 100%; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-slide .hero-title { font-size: 3.2rem; }
    .hero-slide .hero-description { font-size: 1.2rem; }

    .about-container { grid-template-columns: 1fr; }
    .about-visual { order: 2; }
    .about-content { order: 1; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .contact-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    .hero { padding-top: 7rem; text-align: center; }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        font-size: 0.95rem !important;
        padding: 0.8rem 1.5rem !important;
    }

    .hero-slides { min-height: 560px; }
    .hero-slide .hero-title { font-size: 2rem; }
    .hero-slide .hero-description { font-size: 1.05rem; }

    .stats-grid { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   Multi-Page Restructure Styles
   ========================================================================== */
.page-header {
    padding: 10rem 2rem 5rem;
    background: var(--bg-dark);
    text-align: center;
    color: white;
}

.page-header .section-title {
    color: white;
}

.page-header .section-subtitle {
    color: #cbd5e1;
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 4px;
    background: var(--border);
    border-radius: 4px;
}

.process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.step-number {
    position: absolute;
    left: 10px;
    top: 0;
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 6px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.process-step h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.process-step p {
    color: var(--text-muted);
}

/* Certifications Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.cert-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.solution-card:hover {
    border-bottom-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
}

.solution-card .solution-card-media img {
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-card-media img {
    transform: scale(1.07);
}

.solution-card-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    z-index: 2;
}

.solution-card-chip i {
    color: #34d399;
}

.solution-card-body {
    display: flex;
    flex-direction: column;
}

.solution-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-strong);
    margin-top: 1.5rem;
    transition: var(--transition);
}

.solution-card-cta i {
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-card-cta {
    gap: 0.75rem;
}

.solution-card:hover .solution-card-cta i {
    transform: translateX(4px);
}

/* Global Nav active states */
.nav-links a.active:not(.btn-primary) {
    color: var(--accent) !important;
    font-weight: 700;
}

.nav-links a.btn-primary.active {
    background-color: var(--accent-strong);
    color: white !important;
}

/* Contact Page Grid */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 420px;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--accent);
    font-size: 1.4rem;
}

.contact-info-card h4 {
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-size: 1.05rem;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.form-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-head-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d9488, #047857);
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.3);
}

.form-head h3 {
    margin-bottom: 0.15rem;
    color: var(--secondary);
    font-size: 1.25rem;
}

.form-head p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
}

.hover-zoom:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   Homepage Layouts
   ========================================================================== */

/* Waste Types Grid */
.waste-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.waste-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-align: left;
}

.waste-card:hover {
    transform: translateY(-6px);
    border-color: rgba(5, 150, 105, 0.55);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

/* Full-width image on top */
.waste-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.waste-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.waste-card:hover .waste-img {
    transform: scale(1.08);
}

/* Numbered tag (top-right, over image) */
.waste-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
}

/* Category icon chip (top-left, over image) */
.waste-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.45);
    transition: transform 0.35s ease;
}

.waste-card:hover .waste-icon {
    transform: translateY(-3px);
}

/* Content below the image */
.waste-content {
    padding: 1.5rem;
    border-top: 3px solid rgba(5, 150, 105, 0.25);
}

.waste-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.waste-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
}

.waste-content p {
    margin: 0 0 1.1rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.waste-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-strong);
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.waste-cta i {
    transition: transform 0.3s ease;
}

.waste-card:hover .waste-cta {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
    gap: 0.7rem;
}

.waste-card:hover .waste-cta i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .waste-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Crisis Section */
.crisis-section {
    background: var(--bg-dark);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.crisis-text-huge {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;
}

.crisis-text-huge span {
    color: var(--accent);
}

/* Trust Badges */
.trust-banner {
    background: var(--bg-white);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(45, 212, 191, 0.08));
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 50px;
    padding: 0.6rem 1.35rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(2, 6, 23, 0.05);
}

.trust-badge:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.14), rgba(45, 212, 191, 0.14));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.18);
}

.trust-badge i {
    font-size: 1.6rem;
    color: var(--accent);
}

/* Final CTA Section */
.cta-banner {
    position: relative;
    padding: 8rem 0;
    background-color: var(--bg-dark);
    text-align: center;
    color: white;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

/* ==========================================================================
   Premium Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.85)), var(--slide-bg, none) center/cover no-repeat;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide.active::before {
    animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 8rem 2rem 4rem;
}

.hero-slide .hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-slide .hero-description {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #e2e8f0;
}

/* Active slide content entrance */
.hero-slide.active .hero-title,
.hero-slide.active .hero-description,
.hero-slide.active .hero-buttons,
.hero-slide.active .badge {
    animation: slideUp 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide.active .hero-description { animation-delay: 150ms; }
.hero-slide.active .hero-buttons { animation-delay: 300ms; }

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(2, 6, 23, 0.4);
    color: white;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.hero-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

@media (max-width: 768px) {
    .hero-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        top: auto;
        bottom: 4rem;
        transform: none;
    }
    .hero-arrow-prev { left: calc(50% - 50px); }
    .hero-arrow-next { right: calc(50% - 50px); }
    .hero-dots { bottom: 1.5rem; }
}

/* Indicators */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.75rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   Hero (Massive) & Zig-Zag Sections
   ========================================================================== */

/* Reduced-height hero for subpages */
.hero-massive {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.82)), url('../assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0 2rem;
    position: relative;
}

.hero-massive .hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-massive .hero-description {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #e2e8f0;
}

/* Zig Zag Sections */
.zigzag-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.zigzag-section:nth-child(even) {
    background: var(--bg-light);
}

.zigzag-bg {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
    top: -160px;
    right: -120px;
    pointer-events: none;
    z-index: 0;
}

.zigzag-reverse .zigzag-bg {
    top: auto;
    bottom: -160px;
    right: auto;
    left: -120px;
}

.zigzag-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.zigzag-reverse .zigzag-container {
    direction: rtl;
}

.zigzag-reverse .zigzag-content {
    direction: ltr;
}

/* Premium image treatment */
.zigzag-visual {
    position: relative;
}

.zigzag-frame {
    position: absolute;
    inset: -24px auto auto 24px;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(5, 150, 105, 0.35);
    border-radius: 20px;
    z-index: 0;
    transition: var(--transition);
}

.zigzag-reverse .zigzag-frame {
    inset: auto 24px -24px auto;
}

.zigzag-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(5, 150, 105, 0.18) 0%, rgba(2, 6, 23, 0.1) 60%);
    z-index: 2;
    pointer-events: none;
}

.zigzag-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.18);
    transition: transform 400ms ease;
}

.zigzag-visual:hover .zigzag-image {
    transform: scale(1.02);
}

/* Floating badge card */
.zigzag-float-card {
    position: absolute;
    bottom: 2.5rem;
    left: -1.25rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.zigzag-reverse .zigzag-float-card {
    left: auto;
    right: -1.25rem;
}

.zigzag-float-card strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.25;
}

.zigzag-float-card span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.float-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.zigzag-float-card.float-card-dark {
    background: var(--primary);
    border-color: var(--primary);
}

.zigzag-float-card.float-card-dark strong {
    color: white;
}

.zigzag-float-card.float-card-dark span {
    color: #cbd5e1;
}

.zigzag-float-card.float-card-dark .float-card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

/* Floating stat */
.zigzag-float-stat {
    position: absolute;
    top: 2rem;
    right: -0.75rem;
    z-index: 5;
    text-align: center;
    background: var(--accent);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(5, 150, 105, 0.35);
}

.zigzag-reverse .zigzag-float-stat {
    right: auto;
    left: -0.75rem;
}

.zigzag-float-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.zigzag-float-stat span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Content */
.zigzag-content h2 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    line-height: 1.15;
}

.accent-text {
    background: linear-gradient(100deg, #2dd4bf 0%, #10b981 45%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.zigzag-content p {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

/* Premium feature cards */
.feature-cards {
    display: grid;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateX(6px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
    color: var(--primary);
}

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

/* Dark variant — Data Security section */
.zigzag-section.zigzag-dark {
    background: linear-gradient(160deg, #06141c 0%, #081126 55%, #06101f 100%);
}
.zigzag-dark .zigzag-bg {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}
.zigzag-dark .zigzag-content h2 {
    color: var(--text-light);
}
.zigzag-dark .zigzag-content p {
    color: #9fb0c4;
}
.zigzag-dark .badge {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.3);
    color: #5eead4;
}
.zigzag-dark .feature-card {
    background: rgba(10, 30, 38, 0.55);
    border: 1px solid rgba(45, 220, 180, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.zigzag-dark .feature-card:hover {
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(12, 40, 50, 0.7);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.12);
}
.zigzag-dark .feature-card h4 {
    color: #ffffff;
}
.zigzag-dark .feature-card p {
    color: #7f93b0;
}
.zigzag-dark .feature-card-icon {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}
.zigzag-dark .zigzag-frame {
    border-color: rgba(52, 211, 153, 0.4);
}
.zigzag-dark .zigzag-float-card.float-card-dark {
    background: rgba(10, 30, 38, 0.9);
    border-color: rgba(45, 220, 180, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.zigzag-dark .zigzag-float-stat {
    background: linear-gradient(135deg, #0d9488, #047857);
    box-shadow: 0 18px 40px rgba(5, 150, 105, 0.4);
}

/* ==========================================================================
   ZigZag Responsive (defined after base styles so media queries win)
   ========================================================================== */
@media (max-width: 992px) {
    .zigzag-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .zigzag-reverse .zigzag-container { direction: ltr; }
    .zigzag-reverse .zigzag-content { direction: ltr; }
    .zigzag-image { height: 440px; }
}

@media (max-width: 768px) {
    .zigzag-section { padding: 5rem 0; }
    .zigzag-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .zigzag-reverse .zigzag-container { direction: ltr; }
    .zigzag-image { height: 340px; }
    .zigzag-content h2 { font-size: 2.2rem; }
    .zigzag-content p { font-size: 1.05rem; }
    .zigzag-float-card { left: 0.5rem; }
    .zigzag-reverse .zigzag-float-card { right: 0.5rem; }
    .zigzag-float-stat { right: 0.5rem; }
    .zigzag-reverse .zigzag-float-stat { left: 0.5rem; }
    .feature-card { padding: 0.9rem 1rem; }
}

@media (max-width: 576px) {
    .zigzag-image { height: 260px; }
    .zigzag-frame { inset: -12px auto auto 12px; }
    .zigzag-reverse .zigzag-frame { inset: auto 12px -12px auto; }
    .zigzag-float-card { left: 0.4rem; padding: 0.7rem 0.9rem; }
    .zigzag-reverse .zigzag-float-card { right: 0.4rem; }
    .zigzag-float-stat { right: 0.4rem; padding: 0.8rem 1.1rem; }
    .zigzag-reverse .zigzag-float-stat { left: 0.4rem; }
    .zigzag-content h2 { font-size: 1.9rem; }
    .feature-card { gap: 0.75rem; }
    .feature-card-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .feature-card h4 { font-size: 0.98rem; }
    .feature-card p { font-size: 0.88rem; }
}

/* Parallax Stats Banner */
.stats-parallax {
    background-color: var(--primary);
    background-image: linear-gradient(160deg, #06141c 0%, #081126 55%, #06101f 100%);
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    color: white;
}

.stats-parallax .stat-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-parallax .stat-card:hover {
    border-color: var(--accent);
}

.stats-parallax .stat-icon i {
    color: white;
    font-size: 4rem;
}

.stats-parallax .counter {
    color: white;
    font-size: 4rem;
}

.stats-parallax .stat-unit {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* ==========================================================================
   Preloader Styles
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    background-image: radial-gradient(circle at 50% 40%, rgba(5, 150, 105, 0.12) 0%, transparent 55%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-stage {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.preloader-logo {
    position: relative;
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(5, 150, 105, 0.25);
    animation: preloader-ring 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.preloader-logo-ring::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    animation: preloader-spin 1.4s linear infinite;
}

.preloader-icon {
    font-size: 3.5rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    animation: preloader-leaf 2.2s ease-in-out infinite;
}

.preloader-logo-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.35) 0%, transparent 70%);
    filter: blur(6px);
    animation: preloader-glow 2.2s ease-in-out infinite;
    z-index: 1;
}

.preloader-text {
    font-size: 1.9rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: preloader-text-in 0.8s ease both;
}

.preloader-tagline {
    font-size: 0.85rem;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.preloader-progress {
    width: 220px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 0.5rem;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), #34d399);
    transition: width 0.2s ease;
}

.preloader-percent {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloader-ring {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.2); opacity: 0; }
}

@keyframes preloader-leaf {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12) rotate(8deg); }
}

@keyframes preloader-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes preloader-text-in {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Enterprise Gateway — New Homepage Components
   ========================================================================== */

/* Role-based path selection */
.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.role-card {
    background: var(--bg-white);
    border: 2px solid rgba(5, 150, 105, 0.25);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.role-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.role-card:hover .role-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.role-icon {
    width: 52px;
    height: 52px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.role-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.role-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.role-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

/* ==========================================================================
   Keywords Marquee
   ========================================================================== */
.marquee {
    overflow: hidden;
    background: var(--accent);
    padding: 1.1rem 0;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-group span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    padding: 0 2rem;
}

.marquee-group span i {
    font-size: 1.2rem;
    opacity: 0.9;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Ambient Leaf (single, GSAP scroll-driven)
   ========================================================================== */
.leaves {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.leaf {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    will-change: transform, opacity;
    line-height: 0;
}

.leaf i {
    color: var(--accent);
    font-size: inherit;
    line-height: 1;
}

/* Client logos strip */
.logo-strip {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.logo-strip .section-subtitle {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.6;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Testimonial marquee — two rows, opposite directions, full-bleed */
.testimonial-marquee {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.tm-row {
    overflow: hidden;
    padding: 0 1rem;
}

.tm-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
}

.tm-row-left .tm-track {
    animation: tm-scroll-left 40s linear infinite;
}

.tm-row-right .tm-track {
    animation: tm-scroll-right 50s linear infinite;
}

.tm-group {
    display: flex;
    gap: 1.5rem;
}

.tm-group .testimonial-card {
    width: 380px;
    flex-shrink: 0;
}

@keyframes tm-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tm-scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent);
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .hero-slide.active::before {
        animation: none;
    }
    .hero-slide.active .hero-title,
    .hero-slide.active .hero-description,
    .hero-slide.active .hero-buttons,
    .hero-slide.active .badge {
        animation: none;
    }
    .hero-massive, .stats-parallax, .cta-banner {
        background-attachment: scroll;
    }
    .leaves {
        display: none;
    }
    .preloader-logo-ring,
    .preloader-logo-ring::after,
    .preloader-icon,
    .preloader-logo-glow,
    .preloader-text {
        animation: none !important;
    }
    .marquee-track {
        animation: none;
    }
}

/* ==========================================================================
   Service Page Hero (shared component)
   ========================================================================== */
.service-page-hero {
    padding: 10rem 2rem 4rem;
    background: var(--bg-light);
    text-align: center;
}

.service-hero-img {
    max-width: 800px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto 3rem;
    display: block;
}

.service-details {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: 3rem;
}

.about-us-section {
    background: var(--bg-white);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 4rem;
    text-align: left;
}

/* ==========================================================================
   Waste Materials We Process — Circular Economy Network
   ========================================================================== */
.wm-section {
    position: relative;
    padding: 7rem 2rem 6rem;
    background: linear-gradient(160deg, #06141c 0%, #081126 55%, #06101f 100%);
    overflow: hidden;
}

/* ---------- Background Effects ---------- */
.wm-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.wm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}
.wm-blob-1 {
    width: 560px; height: 560px;
    left: 50%; top: 38%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(16,185,129,0.16), transparent 65%);
}
.wm-blob-2 {
    width: 380px; height: 380px;
    left: 8%; top: 12%;
    background: radial-gradient(circle, rgba(45,212,191,0.08), transparent 65%);
}
.wm-leaf {
    position: absolute;
    color: rgba(52,211,153,0.14);
    filter: blur(1px);
}
.wm-leaf i { font-size: 40px; display: block; }
.wm-leaf-1 { top: 14%; left: 12%; transform: rotate(-18deg); }
.wm-leaf-2 { bottom: 12%; right: 10%; transform: rotate(22deg) scale(1.2); }
.wm-leaf-3 { top: 68%; left: 5%; transform: rotate(10deg) scale(0.8); }
.wm-particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(52,211,153,0.5);
    box-shadow: 0 0 8px rgba(52,211,153,0.7);
    animation: waste-twinkle 5s ease-in-out infinite;
}
.wm-particle-1 { top: 20%; right: 18%; animation-delay: 0s; }
.wm-particle-2 { top: 40%; left: 6%; animation-delay: 1.4s; }
.wm-particle-3 { bottom: 22%; left: 30%; animation-delay: 2.6s; }
@keyframes waste-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.6); }
}
.wm-orbits-bg {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%; height: 60%;
    z-index: 0;
}

/* ---------- Header ---------- */
.wm-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
}
.wm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #67e8b9;
    margin-bottom: 1.4rem;
}
.wm-eyebrow i {
    color: #34d399;
    font-size: 0.9rem;
    animation: waste-leaf-float 4s ease-in-out infinite;
}
.wm-eyebrow i:last-child { animation-delay: 1.2s; }
@keyframes waste-leaf-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(6deg); }
}
.wm-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    font-family: var(--font-heading);
}
.wm-title-accent {
    background: linear-gradient(100deg, #2dd4bf 0%, #10b981 45%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wm-desc {
    margin: 1.4rem auto 0;
    max-width: 700px;
    font-size: 1.06rem;
    line-height: 1.7;
    color: #7f93b0;
}
.wm-rule {
    display: block;
    width: 72px;
    height: 3px;
    margin: 1.6rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #34d399, #10b981);
    box-shadow: 0 0 12px rgba(52,211,153,0.6);
}

/* ---------- Main Layout (Desktop) ---------- */
.wm-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr minmax(340px, 460px) 1fr;
    align-items: center;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.wm-rail {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* ---------- Glass Cards ---------- */
.wm-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    background: rgba(10, 30, 38, 0.55);
    border: 1px solid rgba(45, 220, 180, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 0 30px rgba(45,220,180,0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    max-width: 340px;
}
.wm-rail-right .wm-card { margin-left: auto; }
.wm-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52,211,153,0.55);
    background: rgba(12, 40, 50, 0.7);
    box-shadow: 0 14px 34px rgba(0,0,0,0.3), 0 0 24px rgba(52,211,153,0.14), inset 0 0 30px rgba(45,220,180,0.05);
}
.wm-icon {
    flex: 0 0 64px;
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 44, 54, 0.8);
    border: 1px solid rgba(45, 220, 180, 0.3);
    box-shadow: inset 0 0 16px rgba(52,211,153,0.12), 0 0 14px rgba(52,211,153,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.wm-icon i {
    font-size: 1.5rem;
    color: #34d399;
    text-shadow: 0 0 12px rgba(52,211,153,0.55);
    transition: text-shadow 0.3s ease, color 0.3s ease;
}
.wm-card:hover .wm-icon {
    border-color: rgba(52,211,153,0.6);
    box-shadow: inset 0 0 20px rgba(52,211,153,0.2), 0 0 22px rgba(52,211,153,0.2);
    transform: scale(1.05);
}
.wm-card:hover .wm-icon i {
    color: #5eead4;
    text-shadow: 0 0 18px rgba(94,234,212,0.8);
}
.wm-text h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.wm-text p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #7f93b0;
}

/* ---------- Bottom centered card ---------- */
.wm-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}
.wm-card-bottom {
    max-width: 420px;
    width: 100%;
}

/* ---------- Center Globe ---------- */
.wm-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}
.wm-globe {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 2;
}
.wm-globe-glow {
    position: absolute;
    left: 50%; top: 50%;
    width: 420px; height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.28), rgba(16,185,129,0.08) 50%, transparent 70%);
    filter: blur(12px);
    animation: globe-glow-pulse 5s ease-in-out infinite;
}
@keyframes globe-glow-pulse {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}
.wm-ring {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.wm-ring.outer-dashed {
    width: 340px; height: 340px;
    border: 1.5px dashed rgba(52,211,153,0.2);
}
.wm-ring.orbit-ring { border: 1px solid rgba(52,211,153,0.28); }
.wm-ring.ring-1 { width: 250px; height: 90px; transform: translate(-50%, -50%) rotate(18deg); }
.wm-ring.ring-2 { width: 385px; height: 130px; transform: translate(-50%, -50%) rotate(-24deg); }
.wm-ring.ring-3 { width: 315px; height: 105px; transform: translate(-50%, -50%) rotate(60deg); }
.orbit-dot {
    position: absolute;
    top: 50%;
    left: 2%;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #5eead4;
    box-shadow: 0 0 10px rgba(94,234,212,0.9);
    animation: dot-orbit-1 12s linear infinite;
}
.ring-2 .orbit-dot { animation: dot-orbit-2 16s linear infinite reverse; left: 8%; }
.ring-3 .orbit-dot { animation: dot-orbit-3 20s linear infinite; left: 5%; }
@keyframes dot-orbit-1 {
    from { transform: translateY(-50%) rotate(0deg) translateX(118px) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg) translateX(118px) rotate(-360deg); }
}
@keyframes dot-orbit-2 {
    from { transform: translateY(-50%) rotate(0deg) translateX(186px) rotate(0deg); }
    to { transform: translateY(-50%) rotate(-360deg) translateX(186px) rotate(360deg); }
}
@keyframes dot-orbit-3 {
    from { transform: translateY(-50%) rotate(0deg) translateX(152px) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg) translateX(152px) rotate(-360deg); }
}
@keyframes ring-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.wm-ring.ring-1 { animation: ring-spin 30s linear infinite; }
.wm-ring.ring-2 { animation: ring-spin 42s linear infinite reverse; }
.wm-ring.ring-3 { animation: ring-spin 52s linear infinite; }

.wm-earth {
    position: absolute;
    left: 50%; top: 50%;
    width: 210px; height: 210px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, #3aa37f 0%, transparent 26%),
        radial-gradient(circle at 68% 30%, #2b8a6b 0%, transparent 22%),
        radial-gradient(circle at 45% 55%, #257a61 0%, transparent 20%),
        radial-gradient(circle at 70% 62%, #1e6b54 0%, transparent 24%),
        radial-gradient(circle at 24% 62%, #2f906f 0%, transparent 18%),
        radial-gradient(circle at 55% 82%, #1c6450 0%, transparent 20%),
        radial-gradient(circle at 12% 40%, #2b8a6b 0%, transparent 14%),
        radial-gradient(circle at 85% 78%, #1e6b54 0%, transparent 16%),
        radial-gradient(circle at 40% 15%, #2f906f 0%, transparent 12%),
        radial-gradient(circle, #0b3a2e 0%, #0a3328 60%, #06231c 100%);
    background-color: #0a3328;
    box-shadow:
        inset -18px -14px 40px rgba(0,0,0,0.65),
        inset 12px 10px 30px rgba(45,220,180,0.12),
        0 0 40px rgba(16,185,129,0.3),
        0 0 90px rgba(16,185,129,0.12);
    animation: earth-float 7s ease-in-out infinite;
}
@keyframes earth-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-7px); }
}
.wm-atmosphere {
    position: absolute;
    left: 50%; top: 50%;
    width: 230px; height: 230px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 62%, rgba(45,212,191,0.22) 74%, rgba(45,212,191,0.06) 90%, transparent 100%);
    filter: blur(1px);
}
.wm-recycle {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px; height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,40,48,0.9), rgba(6,24,32,0.9));
    border: 1px solid rgba(52,211,153,0.5);
    box-shadow: 0 0 26px rgba(52,211,153,0.35), inset 0 0 14px rgba(52,211,153,0.15);
    z-index: 3;
}
.wm-recycle i {
    font-size: 2.6rem;
    color: #5eead4;
    text-shadow: 0 0 16px rgba(94,234,212,0.8);
    animation: recycle-breathe 3s ease-in-out infinite;
}
@keyframes recycle-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.wm-leaf-gl {
    position: absolute;
    color: #4ade80;
    filter: drop-shadow(0 0 8px rgba(74,222,128,0.4));
    animation: waste-leaf-float 5s ease-in-out infinite;
}
.wm-leaf-gl i { font-size: 22px; display: block; }
.leaf-gl-1 { top: 6%; right: 14%; transform: rotate(-16deg); animation-delay: 0.2s; }
.leaf-gl-2 { top: 16%; right: 2%; transform: rotate(-40deg) scale(1.15); animation-delay: 1.1s; }
.leaf-gl-3 { top: 0; right: 26%; transform: rotate(-6deg) scale(0.85); animation-delay: 2s; }

/* ---------- Connector Lines ---------- */
.wm-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}
.wm-line {
    fill: none;
    stroke: rgba(45,220,180,0.2);
    stroke-width: 1.2;
    stroke-dasharray: 4 5;
    transition: stroke 0.3s ease;
    animation: waste-dash 2.2s linear infinite;
}
@keyframes waste-dash {
    to { stroke-dashoffset: -9; }
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */
@media (max-width: 1199px) {
    .wm-layout {
        grid-template-columns: 1fr minmax(300px, 380px) 1fr;
        gap: 1rem;
    }
    .wm-card { max-width: 300px; padding: 1rem 1.1rem; }
    .wm-icon { flex-basis: 56px; width: 56px; height: 56px; }
    .wm-globe { transform: scale(0.9); }
    .wm-center { min-height: 430px; }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .wm-section { padding: 4rem 1.1rem 4rem; }
    .wm-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .wm-desc { font-size: 0.98rem; }
    .wm-rule { margin-top: 1.2rem; }

    .wm-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .wm-rail { width: 100%; gap: 1rem; }
    .wm-rail-right { margin-top: 1rem; }
    .wm-card, .wm-rail-right .wm-card, .wm-card-bottom {
        max-width: 100%;
        margin-left: 0;
    }
    .wm-center {
        order: -1;
        min-height: 320px;
        margin-bottom: 0.5rem;
        transform: scale(0.78);
        transform-origin: center top;
    }
    .wm-lines { display: none; }
    .wm-orbits-bg { height: 40%; }
    .wm-bottom { margin-top: 1.5rem; }
}

/* ==========================================================================
   Page Hero Banner (shared) — matches home hero-slide styling
   ========================================================================== */
.hero-banner {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

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

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.85));
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
}

.hero-banner .hero-title {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-banner .hero-description {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: #e2e8f0;
}

/* Step cards for process page */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2dd4bf, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms ease;
}

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

.step-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.step-card:hover .step-card-icon {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.step-card-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(5, 150, 105, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.9rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .process-steps { grid-template-columns: 1fr 1fr; }
    .hero-banner { min-height: 62vh; }
    .hero-banner .hero-title { font-size: 2.8rem; }
}

@media (max-width: 576px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-banner .hero-title { font-size: 2.2rem; }
    .hero-banner .hero-description { font-size: 1.05rem; }
    .tm-group .testimonial-card { width: 300px; }
}

/* ==========================================================================
   Full Mobile Responsiveness — Mobile-First Refinements
   ========================================================================== */

/* Tablet + below: collapse nav into the mobile drawer so nothing overflows */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .logo { font-size: 1.2rem; }
    .logo i { font-size: 1.5rem; }

    .page-header { padding: 9rem 1.5rem 4rem; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Small table / large phone */
@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }

    .navbar { top: 0.5rem; width: calc(100% - 1rem); border-radius: 12px; padding: 0.6rem 0.6rem; }
    .navbar.scrolled { padding: 0.5rem 0.6rem; }
    .nav-container { padding: 0 1.25rem; }

    .section { padding: 4.5rem 0; }
    .section-title { font-size: 2.1rem; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 2rem; }

    .page-header { padding: 7.5rem 1.25rem 3.5rem; }
    .page-header .section-title { font-size: 2rem; }
    .page-header .section-subtitle { font-size: 1rem; }

    /* Hero slider */
    .hero-slides { min-height: 560px; height: 100vh; }
    .hero-slide-content { padding: 7rem 1.25rem 3rem; }
    .hero-buttons { width: 100%; }

    /* Massive hero (waste pages) */
    .hero-massive { padding: 0 1.25rem; }
    .hero-massive .hero-title { font-size: 2.6rem; }
    .hero-massive .hero-description { font-size: 1.05rem; }

    /* Service / solution hero */
    .service-page-hero { padding: 7rem 1.25rem 3rem; }
    .service-hero-img { height: 260px; }
    .service-details { font-size: 1.05rem; }
    .about-us-section { padding: 2.5rem 1.5rem; }

    /* Stats parallax */
    .stats-parallax { padding: 5.5rem 0; }
    .stats-parallax > .container > h2 { font-size: 2.2rem !important; }
    .stats-parallax > .container > p { font-size: 1.05rem !important; }
    .stats-parallax .counter { font-size: 2.75rem; }
    .stats-parallax .stat-icon i { font-size: 3rem; }

    /* CTA */
    .cta-banner { padding: 5rem 1.25rem; }
    .cta-banner h2 { font-size: 2.2rem; }
    .cta-banner p { font-size: 1.05rem; }

    /* Process timeline */
    .process-timeline::before { left: 28px; }
    .process-step { padding-left: 76px; }
    .step-number { width: 52px; height: 52px; font-size: 1.2rem; left: 6px; border-width: 4px; }

    /* Trust badges */
    .trust-banner { padding: 2rem 0; }
    .trust-flex { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem; 
    }
    .trust-badge { 
        font-size: 0.75rem; 
        padding: 0.6rem 0.4rem; 
        gap: 0.35rem; 
        justify-content: center;
        text-align: center;
    }
    .trust-badge i { font-size: 1.2rem; }

    /* Client logos */
    .client-logos { gap: 1.75rem; }

    /* Misc */
    .mobile-menu { width: 85%; }
    .contact-form { padding: 2rem 1.5rem; }
}

/* Phones up to 576px */
@media (max-width: 576px) {
    .hero-slides { min-height: 520px; }
    .hero-slide .hero-title { font-size: 1.75rem; }
    .hero-slide .hero-description { font-size: 0.98rem; margin-bottom: 2rem; }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .section { padding: 4rem 0; }
    .section-title { font-size: 1.9rem; }

    .hero-slides { min-height: 500px; }
    .hero-slide-content { padding-top: 6.5rem; }
    .hero-slide .hero-title { font-size: 1.5rem; }
    .hero-slide .hero-description { font-size: 0.92rem; }
    .hero-dots { bottom: 1.25rem; }
    .hero-dot { width: 10px; height: 10px; }

    .hero-massive .hero-title { font-size: 2.2rem; }
    .hero-massive .hero-description { font-size: 0.98rem; }

    .page-header { padding: 6.5rem 1rem 3rem; }
    .service-hero-img { height: 200px; }
    .about-us-section { border-radius: 14px; }

    .process-timeline::before { left: 23px; }
    .process-step { padding-left: 62px; margin-bottom: 2.5rem; }
    .step-number { width: 44px; height: 44px; font-size: 1.05rem; left: 4px; }

    .wm-center { transform: scale(0.7); min-height: 260px; margin-bottom: -0.5rem; }
    .wm-card { padding: 1rem 1.1rem; }
    .wm-icon { flex-basis: 56px; width: 56px; height: 56px; }
    .wm-eyebrow { letter-spacing: 0.18em; }

    .stats-parallax .counter { font-size: 2.25rem; }

    .contact-form { padding: 1.5rem 1.1rem; border-radius: 12px; }
    .role-card { padding: 2rem 1.5rem; }
}

/* Form Error Validation Styles */
.input-error {
    border: 1.5px solid #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #991b1b !important;
}

.input-error::placeholder {
    color: #fca5a5 !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 500;
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-success-message, .form-error-message {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.form-success-message {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    animation: slideDownFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-error-message {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    animation: slideDownFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
