/* =====================================================
   SST UPCYCLE PAGE STYLES - EXTRACTED FROM MAIN CSS
   ===================================================== */

/* SST Upcycle Page Styles */
.upcycle-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.upcycle-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.upcycle-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(33, 124, 118, 1);
    font-weight: bold;
    font-size: 1.2rem;
}

/* SST Upcycle Page Plain Text Styles */
.upcycle-content-section {
    padding: 4rem 0;
}

.upcycle-content-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.upcycle-intro-section {
    text-align: center;
    margin-bottom: 3rem;
}

.upcycle-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Certification intro class used for the main introduction paragraph */
.certification-intro {
    max-width: none;
    margin: 0 0 1.5rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    text-align: left;
}

.upcycle-intro {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    hyphens: auto;
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.upcycle-sections-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.upcycle-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.upcycle-section p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .upcycle-sections-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .upcycle-content-section {
        padding: 2rem 0;
    }
    
    .upcycle-intro-section {
        margin-bottom: 2rem;
    }
    
    .upcycle-intro {
        font-size: 1.1rem;
        padding: 0;
        word-spacing: 0.05em;
        letter-spacing: 0.005em;
    }
    
    .certification-intro {
        font-size: 1rem;
    }
}

/* ========================================
   SST UPCYCLE HERO SECTION - CLEAN RESPONSIVE DESIGN
   ======================================== */

/* Main Hero Container */
.upcycle-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/upcycle/Logo_Upcycle_Layout.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Optional overlay for better text readability */
.upcycle-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Content container */
.upcycle-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.upcycle-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.upcycle-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.upcycle-hero p {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .upcycle-hero {
        min-height: 550px;
    }
    
    .upcycle-hero h1 {
        font-size: 3.5rem;
    }
    
    .upcycle-hero p {
        font-size: 1.4rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .upcycle-hero {
        height: 90vh;
        min-height: 500px;
    }
    
    .upcycle-hero h1 {
        font-size: 3.2rem;
    }
    
    .upcycle-hero p {
        font-size: 1.3rem;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .upcycle-hero {
        height: 80vh;
        min-height: 450px;
    }
    
    .upcycle-hero h1 {
        font-size: 3rem;
    }
    
    .upcycle-hero p {
        font-size: 1.2rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .upcycle-hero {
        height: 70vh;
        min-height: 400px;
    }
    
    .upcycle-hero h1 {
        font-size: 2.5rem;
    }
    
    .upcycle-hero p {
        font-size: 1.1rem;
    }
    
    .upcycle-hero .hero-content {
        padding: 0 15px;
    }
}

/* Mobile Large */
@media (max-width: 576px) {
    .upcycle-hero {
        height: 60vh;
        min-height: 350px;
    }
    
    .upcycle-hero h1 {
        font-size: 2.2rem;
        margin: 0 0 0.8rem 0;
    }
    
    .upcycle-hero p {
        font-size: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .upcycle-hero {
        height: 55vh;
        min-height: 320px;
    }
    
    .upcycle-hero h1 {
        font-size: 2rem;
    }
    
    .upcycle-hero p {
        font-size: 0.95rem;
    }
    
    .upcycle-hero .hero-content {
        padding: 0 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .upcycle-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .upcycle-hero h1 {
        font-size: 1.8rem;
    }
    
    .upcycle-hero p {
        font-size: 0.9rem;
    }
}

/* =====================================================
   SST UPCYCLE – match Sales hero fade-in behaviour
   ===================================================== */

/* Hero container fades in just like .sales-hero */
.upcycle-hero {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.upcycle-hero.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Re-enable fade-in for Upcycle intro elements (title, paragraph, sections) */
.upcycle-content-section .animate-fade-in-up,
.upcycle-intro-section .animate-fade-in-up,
.upcycle-section .animate-fade-in-up {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: all 0.8s ease !important;
}

.upcycle-content-section .animate-fade-in-up.animate,
.upcycle-intro-section .animate-fade-in-up.animate,
.upcycle-section .animate-fade-in-up.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Match exact timing and speed for all upcycle sections */
.upcycle-intro-section .upcycle-title.animate-fade-in-up {
    transition: all 0.8s ease !important;
}

.upcycle-intro-section .upcycle-intro.animate-fade-in-up {
    transition: all 0.8s ease !important;
}

/* Why Upcycle and Comprehensive Portfolio sections fade in with EXACT same timing and speed as SST UPCYCLE intro paragraph */
.upcycle-sections-row .upcycle-section.animate-fade-in-up {
    transition: all 0.8s ease !important;
}

/* =====================================================
   GLOBAL FADE-IN STANDARDIZATION - Match Core Services
   ===================================================== */

/* SST Upcycle Page - Override previous timing */
.upcycle-intro-section .upcycle-title.animate-fade-in-up,
.upcycle-intro-section .upcycle-intro.animate-fade-in-up,
.upcycle-sections-row .upcycle-section.animate-fade-in-up {
    transition: all 0.8s ease !important;
    transition-delay: 0s !important;
}