/* solution */

/* hero */
.solution-hero-section {
    position: relative;
    margin-top: -80px;
    padding: 80px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.solution-hero-section .hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.solution-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 80, 40, 0.88) 100%);
    z-index: 2;
}

.solution-hero-section .container-custom {
    position: relative;
    z-index: 3;
    max-width: 1100px;
}

.label-tiny {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.solution-hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 30px auto;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 1100px;
    text-align: center;
}

/* services */
.services-section {
    padding: 120px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services-section .container-custom {
    max-width: 1400px;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: #16a34a33;
}

.sc-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(22, 163, 74, 0.05);
    line-height: 1;
}

.sc-icon-new {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid #86efac;
}

.sc-icon-new i {
    font-size: 2rem;
    color: #16a34a;
    z-index: 2;
}

.sc-icon-new.icon-blue {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
    border-color: #7dd3fc;
}

.sc-icon-new.icon-blue i {
    color: #0284c7;
}

.sc-icon-new.icon-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
    border-color: #fcd34d;
}

.sc-icon-new.icon-yellow i {
    color: #d97706;
}

.sc-icon-new.icon-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
    border-color: #fca5a5;
}

.sc-icon-new.icon-red i {
    color: #dc2626;
}

.sc-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.sc-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.sc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.sc-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.95rem;
}

.sc-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #16a34a;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* carousel */
.carousel-control-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 10;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.carousel-btn:hover {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
}

.carousel-btn.left { left: -25px; }
.carousel-btn.right { right: -25px; }

@media (max-width: 1024px) {
    .carousel-control-wrapper {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .services-wrapper {
        display: flex;
        align-items: stretch;
        overflow-x: auto;
        padding: 30px 0 50px 0;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 7.5%;
        gap: 20px;
        margin: 0;
        scrollbar-width: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .services-wrapper::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        width: 85%;
        min-width: 280px;
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin: 0;
        padding: 40px 30px;
    }

    .carousel-nav-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 10px;
    }

    .carousel-btn {
        display: flex;
        position: static;
        transform: none;
    }
}

/* process */
.recycling-process-section {
    padding: 40px 0 120px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

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

.recycling-process-section .section-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #0f172a;
    text-align: center;
}

.recycling-process-section .section-header p {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.process-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
}

.process-item {
    position: relative;
    z-index: 2;
}

.process-block {
    background: #ffffff;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.process-block:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border-color: #16a34a;
}

.process-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3.2;
    overflow: hidden;
    background: #fdfdfd;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.process-block:hover .process-image img {
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #16a34a;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 20px 0 0 0;
    z-index: 2;
}

.process-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.process-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.recycling-process-section .container-custom {
    max-width: 1400px;
}

/* closing */
.closing-statement-section {
    padding: 120px 0 100px 0;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.closing-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a5d1a 100%);
    z-index: 1;
}

.closing-bg-orb-1 {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 2;
}

.closing-bg-orb-2 {
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(74,222,128,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 2;
}

.closing-statement-section .container-custom {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
}

.closing-card {
    padding: 60px 50px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.closing-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px auto;
    box-shadow: 0 10px 30px rgba(34,197,94,0.3);
    border: 8px solid rgba(255,255,255,0.1);
    position: relative;
    margin-top: -100px;
}

.closing-icon i {
    color: #ffffff;
    font-size: 2.2rem;
}

.closing-card h3 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.35;
}

.green-gradient-text, .accent-text {
    background: linear-gradient(90deg, #86efac, #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.closing-card p {
    font-size: 1.3rem;
    color: #f8fafc;
    line-height: 1.9;
    font-weight: 400;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-style: italic;
}

.closing-divider {
    width: 50px;
    height: 4px;
    background: #4ade80;
    margin: 40px auto 0 auto;
    border-radius: 10px;
}

/* cta */
.cta-section {
    padding: 120px 0;
    background-color: #f8fafc;
    position: relative;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(#1a5d1a 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.cta-section .container-custom {
    max-width: 1050px;
    position: relative;
    z-index: 5;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #347834 100%);
    border-radius: 40px;
    padding: 80px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(22, 163, 74, 0.4);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
}

.cta-box h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.25;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 1.25rem;
    color: #f1f5f9;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-btn.secondary-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn.secondary-outline i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.secondary-outline:hover {
    background: #ffffff;
    color: #1a3c1a;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary-outline:hover i {
    transform: translateX(5px) scale(1.2);
}

.cta-btn.secondary-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
    z-index: -1;
}

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

/* responsive */
@media (max-width: 1200px) {
    .process-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .solution-hero-section {
        padding: 120px 0 100px 0;
        min-height: auto;
    }
    
    .process-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .sc-title {
        font-size: 1.4rem;
    }
    
    .process-wrapper {
        grid-template-columns: 1fr;
    }
    
    .closing-card {
        padding: 40px 25px !important;
    }
}

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