/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    color: #374151;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: clamp(0.75rem, 2vw, 1rem) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.nav-logo h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #1d1d1f;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    font-size: clamp(0.875rem, 2.5vw, 0.95rem);
    transition: color 0.3s ease;
    position: relative;
    /* Improve touch targets on mobile */
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #0071e3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0071e3;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta .btn-primary {
    background: #0071e3;
    color: white;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 2.5vw, 0.95rem);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    /* Improve touch targets on mobile */
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-cta .btn-primary:hover {
    background: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    /* Improve touch target */
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1d1d1f;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: #000000 !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure proper mobile viewport */
    padding-top: 80px;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000 !important;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback background when video is not available */
.video-background:not(:has(video[src])) {
    background: #000000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
}

.video-overlay-extra {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3;
}

/* Reduce overlay opacity when video is not available */
.video-background:not(:has(video[src])) .video-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.1) 100%);
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 113, 227, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 50 50;360 50 50' dur='30s' repeatCount='indefinite'/%3E%3C/defs%3E%3Cg transform='translate(50,50)'%3E%3Ccircle cx='0' cy='0' r='30' fill='none' stroke='%230071e3' stroke-width='1' opacity='0.3'%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 0 0;360 0 0' dur='20s' repeatCount='indefinite'/%3E%3C/circle%3E%3Cpath d='M-15 -15 L15 -15 L0 15 Z' fill='%230071e3' opacity='0.4'%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 0 0;-360 0 0' dur='15s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 50 50;-360 50 50' dur='25s' repeatCount='indefinite'/%3E%3C/defs%3E%3Cg transform='translate(50,50)'%3E%3Ccircle cx='0' cy='0' r='25' fill='none' stroke='%2300b894' stroke-width='1' opacity='0.3'%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 0 0;-360 0 0' dur='18s' repeatCount='indefinite'/%3E%3C/circle%3E%3Cpath d='M-10 -10 L10 -10 L0 10 Z' fill='%2300b894' opacity='0.4'%3E%3CanimateTransform attributeName='transform' type='rotate' values='0 0 0;360 0 0' dur='12s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 200px, 150px 150px;
    background-position: 10% 20%, 90% 80%;
    background-repeat: no-repeat;
    animation: float 15s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
}

/* Floating Particles */
.hero .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.hero .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #0071e3;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s linear infinite;
}

.hero .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.hero .particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 10s;
    background: #00b894;
}

.hero .particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.hero .particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
    animation-duration: 11s;
    background: #00b894;
}

.hero .particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.hero .particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 9s;
    background: #00b894;
}

.hero .particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.hero .particle:nth-child(8) {
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 12s;
    background: #00b894;
}

.hero .particle:nth-child(9) {
    left: 90%;
    animation-delay: 3.5s;
    animation-duration: 11s;
}

.hero .particle:nth-child(10) {
    left: 95%;
    animation-delay: 4.5s;
    animation-duration: 13s;
    background: #00b894;
}

/* Recycling Arrows Animation */
.hero .recycling-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.hero .recycling-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #0071e3;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero .recycling-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #0071e3;
    transform: translate(-50%, -50%);
}

.hero .recycling-arrow:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.hero .recycling-arrow:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(120deg);
    animation-delay: -6.67s;
}

.hero .recycling-arrow:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(240deg);
    animation-delay: -13.33s;
}

/* Animations */
@keyframes backgroundShift {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Pulse Animation for Sustainability Theme */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero .pulse-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #00b894;
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.3;
}

.hero .pulse-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #00b894;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(2rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
    color: white;
}

.hero h1 {
    margin-bottom: clamp(1rem, 4vw, 2rem);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    color: white !important;
}

.hero p {
    margin-bottom: clamp(2rem, 6vw, 3rem);
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
    opacity: 1;
    font-weight: 500;
    color: white !important;
}

.hero-buttons {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.hero-buttons .btn {
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    /* Improve touch targets on mobile */
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    pointer-events: auto;
    position: relative;
    z-index: 12;
}

.hero-buttons .btn-primary {
    background: #0071e3;
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

.hero-buttons .btn-secondary {
    background: #fff;
    color: #0071e3;
    border: 2px solid #0071e3;
    border-radius: 980px;
    font-weight: 500;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    transition: all 0.3s ease;
    box-shadow: none;
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-secondary:focus {
    background: #e6f0fa;
    color: #005bb5;
    border-color: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.1);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.section-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8fafc;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 113, 227, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 184, 148, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-header {
    margin-bottom: clamp(3rem, 8vw, 4rem);
}

.services .section-title {
    color: #1d1d1f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 40vw, 350px), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.service-card {
    background: white;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.service-icon {
    width: clamp(48px, 8vw, 64px);
    height: clamp(48px, 8vw, 64px);
    background: linear-gradient(135deg, #0071e3, #0077ed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.service-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.about-image {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    height: clamp(300px, 50vw, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.125rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0071e3, #0077ed);
    color: white;
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.cta h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.cta p {
    margin-bottom: 2rem;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #0071e3;
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    /* Improve touch targets on mobile */
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Environmental Impact Section */
.environmental-impact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.environmental-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.environmental-impact .container {
    position: relative;
    z-index: 2;
}

.environmental-impact h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.environmental-impact .subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #a0a0a0;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #22d3ee, #a855f7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impact-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.5;
    font-weight: 400;
}

.impact-cta {
    text-align: center;
    margin-top: 50px;
}

.impact-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.impact-cta p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.impact-cta .btn {
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.impact-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.impact-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 222, 128, 0.4);
}

.impact-cta .btn:hover::before {
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .environmental-impact {
        padding: 60px 0;
    }
    
    .environmental-impact h2 {
        font-size: 2.2rem;
    }
    
    .environmental-impact .subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .impact-card {
        padding: 30px 25px;
    }
    
    .impact-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .impact-number {
        font-size: 2rem;
    }
    
    .impact-label {
        font-size: 1rem;
    }
    
    .impact-description {
        font-size: 0.9rem;
    }
    
    .impact-cta h3 {
        font-size: 1.5rem;
    }
    
    .impact-cta p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .impact-cta .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .hero-buttons {
        gap: 1rem;
    }

    .hero-buttons .btn {
        padding: 0.875rem 1.75rem;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .scrap-content {
        gap: 3rem;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1025px) {
    .hero-content {
        max-width: 900px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .hero-buttons {
        gap: 1.5rem;
    }

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

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-buttons .btn,
    .btn-primary,
    .nav-cta .btn-primary {
        border-width: 0.5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .inventory-card:hover,
    .plastic-type:hover {
        transform: none;
    }

    .hero-buttons .btn:hover,
    .btn-primary:hover,
    .nav-cta .btn-primary:hover {
        transform: none;
    }

    .nav-link:hover::after {
        width: 0;
    }

    /* Increase touch targets */
    .nav-link,
    .btn,
    .btn-primary,
    .remove-photo {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve scrolling on iOS */
    .modal-body,
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .cta,
    .scrap-form {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 1rem 0;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* We Buy Scrap Section */
.we-buy-scrap {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.we-buy-scrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.we-buy-scrap .container {
    position: relative;
    z-index: 2;
}

.scrap-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.scrap-info {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.scrap-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6, #ef4444, #f59e0b);
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.scrap-info h3 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scrap-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.scrap-info li {
    padding: 0.75rem 0;
    color: #475569;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.scrap-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.scrap-types h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plastic-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
}

.plastic-type {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.plastic-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.scrap-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.scrap-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

.scrap-form h3 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

.contact-info h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #059669;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.contact-form .form-group label {
    color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

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

/* Photo Upload Styling */
.photo-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.contact-form .photo-upload {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.photo-upload:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.contact-form .photo-upload:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.photo-upload-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-text strong {
    display: block;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-form .upload-text strong {
    color: white;
}

.upload-text span {
    color: #64748b;
    font-size: 0.95rem;
}

.contact-form .upload-text span {
    color: #cbd5e1;
}

.upload-text small {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.contact-form .upload-text small {
    color: #94a3b8;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.photo-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #4b5563, #374151);
}

/* Footer Styling */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #059669;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .scrap-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .scrap-info,
    .scrap-form,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .scrap-info h3,
    .scrap-form h3,
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plastic-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
    
    .photo-upload {
        padding: 1.5rem;
    }
    
    .upload-icon {
        font-size: 1.5rem;
    }
    
    .upload-text strong {
        font-size: 1rem;
    }
    
    .upload-text span {
        font-size: 0.9rem;
    }
    
    .upload-text small {
        font-size: 0.8rem;
    }
} 