/* Hero Section */
.hero {
    padding: 70px 0 100px;
    height: calc(100vh - var(--navbar-height));
    position: relative;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--color-secondary) 50%, transparent 95%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-text h1 span.sub-1 {
    font-size: 32px;
    font-weight: 600;
}

.hero-text h1 span.sub-2 {
    font-size: 32px;
    font-weight: 500;

}

.hero-text p {
    font-size: 18px;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
}

.hero-image svg a {
    transition: all 0.2s ease;
    opacity: 0.9;
}

.hero-image svg a:hover {
    opacity: 1;
}

.hero-image svg a#red:hover {
    filter: drop-shadow(#f66d75 0 0 6px);
}
.hero-image svg a#yellow:hover {
    filter: drop-shadow(#f5c242 0 0 6px);
}
.hero-image svg a#green:hover {
    filter: drop-shadow(#a1c251 0 0 6px);
}
.hero-image svg a#blue:hover {
    filter: drop-shadow(#46a5dd 0 0 6px);
}

.hero-image img {
    width: 100%;
}

/* Image Styling */
.process-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    /* background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
    display: block;
}

/* .step-image:hover .process-img {
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
} */

/* Legacy placeholder styling for any remaining placeholders */
.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--color-white);
    font-weight: 500;
    font-size: 16px;
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5pc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-tertiary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-tertiary:hover {
    background-color: var(--color-secondary-accent);
}

.btn-accent {
    background-color: #FF6B35;
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #e55a2e;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-white);
    opacity: 0.8;
    line-height: 1.6;
}

/* Process Steps Section */
.process-steps {
    /* background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px); */
}

.process-steps::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 30%, var(--color-secondary) 50%, transparent 70%);
}

.process-steps .section-header {
    margin-bottom: 80px;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step.reverse {
    direction: rtl;
}

.process-step.reverse .step-content {
    direction: ltr;
}

.step-content h3 {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
}

.step-content h3 span {
    font-weight: 700;
}

.step-content p {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step-image {
    position: relative;
}

.step-image#design::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 100px;
    z-index: -1;
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
    height: 100%;
    background-color: #46a5dd;
}

.step-image#test::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 100px;
    z-index: -1;
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    height: 100%;
    background-color: #f5c242;
}

.step-image#manufacture::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 100px;
    z-index: -1;
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
    height: 100%;
    background-color: #a1c251;
}

.step-image#supply::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 100px;
    z-index: -1;
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    height: 100%;
    background-color: #f66d75;
}


/* Our Work Section */
.our-work::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 30%, var(--color-secondary) 50%, transparent 70%);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 1000px;
    gap: 40px;
    margin: 60px auto 0 auto;
}

.work-card {
    /* background: rgba(255, 255, 255, 0.1);
    border-radius: 12px; */
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
}

.work-card .image-placeholder {
    margin-bottom: 20px;
}

.work-card .work-image {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.work-card .work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.work-card p {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1300px) {
    .hero-image {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        max-width: 700px;
    }
}

@media (max-width: 1024px) {
    .process-step {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        max-width: 600px;
        margin: auto;
    }
    
    .process-step.reverse {
        direction: ltr;
    }
    
    .step-content h3 {
        font-size: 28px;
    }
    
    .step-image#design::after {
        bottom: -7px;
        right: 0;
        width: 100%;
        height: 100px;
        border-bottom-left-radius: 16px;
        border-top-right-radius: 0;
    }

    .step-image#test::after {
        bottom: -7px;
        left: 0;
        width: 100%;
        height: 100px;
        border-bottom-right-radius: 16px;
        border-top-left-radius: 0;
    }

    .step-image#manufacture::after {
        bottom: -7px;
        right: 0;
        width: 100%;
        height: 100px;
        border-bottom-left-radius: 16px;
        border-top-right-radius: 0;
    }

    .step-image#supply::after {
        bottom: -7px;
        left: 0;
        width: 100%;
        height: 100px;
        border-bottom-right-radius: 16px;
        border-top-left-radius: 0;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }

    .process-img {
        height: 250px;
    }
    
    .step-content h3 {
        font-size: 24px;
    }
}
