/* Technology Section */
#apitech-technology-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #5a6869 0%, #6d7a7b 100%);
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

#apitech-technology-section > div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://cdn.imweb.me/upload/S2025021297be7e1958de0/63ff95ff00826.jpg') center/cover;
    opacity: 0.25;
}

#apitech-technology-section > div:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(127, 140, 141, 0.7) 0%, rgba(149, 165, 166, 0.7) 100%);
}

#apitech-technology-section > div:last-child {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    position: relative;
    z-index: 2;
}

/* Header */
#apitech-tech-header {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

#apitech-tech-header.visible {
    opacity: 1;
    transform: translateY(0);
}

#apitech-tech-header > div:first-child {
    color: #FF8A4C;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    word-break: keep-all;
    word-wrap: break-word;
}

#apitech-tech-header h2 {
    font-size: 48px;
    font-weight: 300;
    color: #ddd;
    margin: 0 0 10px 0;
    line-height: 1.1;
    word-break: keep-all;
    word-wrap: break-word;
}

#apitech-tech-header h3 {
    font-size: 64px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1;
    word-break: keep-all;
    word-wrap: break-word;
}

/* Tech Cards Grid */
#apitech-technology-section > div:last-child > div:last-child {
    display: flex;
    gap: 0;
    margin-bottom: 60px;
}

#apitech-technology-section > div:last-child > div:last-child > div:first-child {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#apitech-technology-section > div:last-child > div:last-child > div:first-child > div:first-child {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.apitech-tech-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.apitech-tech-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.apitech-tech-card:hover {
    transform: translateY(-10px) scale(1.02);
}

#apitech-tech-card-1 {
    flex: 1;
    height: 280px;
    transition-delay: 0.2s;
}

#apitech-tech-card-2 {
    flex: 1;
    height: 280px;
    transition-delay: 0.3s;
}

#apitech-tech-card-3 {
    width: 100%;
    height: 280px;
    transition-delay: 0.4s;
}

.apitech-tech-card > div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.apitech-tech-card > div:last-child {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.apitech-tech-card > div:last-child > div:first-child {
    color: #FF8A4C;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
    word-break: keep-all;
    word-wrap: break-word;
}

.apitech-tech-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    word-break: keep-all;
    word-wrap: break-word;
}

.apitech-tech-card p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}

/* MORE VIEW Card */
#apitech-tech-more-card {
    width: 100%;
    height: 560px;
    background: linear-gradient(135deg, #d63031 0%, #b33a3a 100%);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.5s;
}

#apitech-tech-more-card.visible {
    opacity: 1;
    transform: translateX(0);
}

#apitech-tech-more-card:hover {
    transform: translateX(0) scale(1.02);
}

#apitech-tech-more-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
}

#apitech-more-arrow {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 24px;
    transition: all 0.3s ease;
}

#apitech-more-arrow:hover {
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #apitech-technology-section {
        background: #95a5a6 !important;
    }
    
    #apitech-technology-section > div:last-child {
        padding: 60px 20px !important;
    }
    
    #apitech-tech-header > div:first-child {
        font-size: 12px !important;
    }
    
    #apitech-tech-header h2 {
        font-size: 36px !important;
    }
    
    #apitech-tech-header h3 {
        font-size: 42px !important;
    }
    
    #apitech-technology-section > div:last-child > div:last-child {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    #apitech-technology-section > div:last-child > div:last-child > div:first-child {
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    #apitech-technology-section > div:last-child > div:last-child > div:first-child > div:first-child {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .apitech-tech-card {
        height: 180px !important;
        flex: none !important;
        width: 100% !important;
    }
    
    #apitech-tech-more-card {
        height: 180px !important;
        flex: none !important;
    }
    
    #apitech-tech-more-card h4 {
        font-size: 16px !important;
    }
    
    #apitech-more-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
}
